28#ifndef WP5CONTENTLISTENER_H
29#define WP5CONTENTLISTENER_H
52 WP5ContentListener(std::list<WPXPageSpan> &pageList, librevenge::RVNGTextInterface *documentInterface);
63 void setFont(
const librevenge::RVNGString &fontName,
double fontSize)
override;
64 void setTabs(
const std::vector<WPXTabStop> &tabStops,
unsigned short tabOffset)
override;
66 void insertTab(
unsigned char tabType,
double tabPosition)
override;
67 void insertIndent(
unsigned char indentType,
double indentPosition)
override;
85 void marginChange(
unsigned char side,
unsigned short margin)
override;
96 void defineTable(
unsigned char position,
unsigned short leftOffset)
override;
98 unsigned attributes,
unsigned char alignment)
override;
100 void insertRow(
unsigned short rowHeight,
bool isMinimumHeight,
bool isHeaderRow)
override;
101 void insertCell(
unsigned char colSpan,
unsigned char rowSpan,
unsigned char borderBits,
104 bool useCellAttributes,
unsigned cellAttributes)
override;
109 void headerFooterGroup(
unsigned char headerFooterType,
unsigned char occurrenceBits,
const std::shared_ptr<WP5SubDocument> &subDocument)
override;
112 void setDefaultFont(
const librevenge::RVNGString &fontName,
double fontSize);
114 void boxOn(
unsigned char positionAndType,
unsigned char alignment,
unsigned short width,
unsigned short height,
unsigned short x,
unsigned short y)
override;
void setTabs(const std::vector< WPXTabStop > &tabStops, unsigned short tabOffset) override
Definition WP5ContentListener.cpp:506
double m_defaultFontSize
Definition WP5ContentListener.h:128
void suppressPageCharacteristics(unsigned char) override
Definition WP5ContentListener.h:110
void startTable() override
Definition WP5ContentListener.cpp:298
void insertEOL() override
Definition WP5ContentListener.cpp:225
void boxOn(unsigned char positionAndType, unsigned char alignment, unsigned short width, unsigned short height, unsigned short x, unsigned short y) override
Definition WP5ContentListener.cpp:605
void marginChange(unsigned char side, unsigned short margin) override
Definition WP5ContentListener.cpp:440
void addTableColumnDefinition(unsigned width, unsigned leftGutter, unsigned rightGutter, unsigned attributes, unsigned char alignment) override
Definition WP5ContentListener.cpp:273
void attributeChange(bool isOn, unsigned char attribute) override
Definition WP5ContentListener.cpp:370
void endDocument() override
Definition WP5ContentListener.h:87
void insertNoteReference(const librevenge::RVNGString ¬eReference) override
Definition WP5ContentListener.cpp:516
void startDocument() override
Definition WP5ContentListener.h:55
void insertTab(unsigned char tabType, double tabPosition) override
Definition WP5ContentListener.cpp:72
void defineTable(unsigned char position, unsigned short leftOffset) override
Definition WP5ContentListener.cpp:238
void insertNote(WPXNoteType noteType, const WP5SubDocument *subDocument) override
Definition WP5ContentListener.cpp:524
void setDefaultFont(const librevenge::RVNGString &fontName, double fontSize)
Definition WP5ContentListener.cpp:599
void insertRow(unsigned short rowHeight, bool isMinimumHeight, bool isHeaderRow) override
Definition WP5ContentListener.cpp:319
void _changeList() override
Definition WP5ContentListener.h:122
std::unique_ptr< WP5ContentParsingState > m_parseState
Definition WP5ContentListener.h:127
~WP5ContentListener() override
Definition WP5ContentListener.cpp:55
void headerFooterGroup(unsigned char headerFooterType, unsigned char occurrenceBits, const std::shared_ptr< WP5SubDocument > &subDocument) override
Definition WP5ContentListener.cpp:594
void paragraphMarginChange(unsigned char, signed short)
Definition WP5ContentListener.h:86
void setFont(const librevenge::RVNGString &fontName, double fontSize) override
Definition WP5ContentListener.cpp:496
void justificationChange(unsigned char justification) override
Definition WP5ContentListener.h:77
void insertCharacter(unsigned character) override
Definition WP5ContentListener.cpp:64
librevenge::RVNGString m_defaultFontName
Definition WP5ContentListener.h:129
void characterColorChange(unsigned char red, unsigned char green, unsigned char blue) override
Definition WP5ContentListener.cpp:485
void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) override
Definition WP5ContentListener.cpp:558
void insertCell(unsigned char colSpan, unsigned char rowSpan, unsigned char borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, WPXVerticalAlignment cellVerticalAlignment, bool useCellAttributes, unsigned cellAttributes) override
Definition WP5ContentListener.cpp:329
void endSubDocument() override
Definition WP5ContentListener.h:91
void insertIndent(unsigned char indentType, double indentPosition) override
Definition WP5ContentListener.cpp:167
void _flushText() override
Definition WP5ContentListener.cpp:823
WP5ContentListener(std::list< WPXPageSpan > &pageList, librevenge::RVNGTextInterface *documentInterface)
Definition WP5ContentListener.cpp:46
void pageFormChange(unsigned short, unsigned short, WPXFormOrientation) override
Definition WP5ContentListener.h:84
WP5ContentListener & operator=(const WP5ContentListener &)
void pageMarginChange(unsigned char, unsigned short) override
Definition WP5ContentListener.h:83
void insertGraphicsData(const librevenge::RVNGBinaryData *data) override
Definition WP5ContentListener.cpp:804
void boxOff() override
Definition WP5ContentListener.cpp:795
void lineSpacingChange(double lineSpacing) override
Definition WP5ContentListener.h:73
void endTable() override
Definition WP5ContentListener.cpp:352
void startSubDocument() override
Definition WP5ContentListener.h:59
WP5ContentListener(const WP5ContentListener &)
void insertBreak(unsigned char breakType) override
Definition WP5ContentListener.h:69
WP5Listener()
Definition WP5Listener.cpp:34
Definition WP5SubDocument.h:34
void lineSpacingChange(const double lineSpacing)
Definition WPXContentListener.cpp:1297
void endSubDocument()
Definition WPXContentListener.cpp:181
void endDocument()
Definition WPXContentListener.cpp:160
void insertBreak(const unsigned char breakType)
Definition WPXContentListener.cpp:1243
void startSubDocument()
Definition WPXContentListener.cpp:154
WPXContentListener(std::list< WPXPageSpan > &pageList, librevenge::RVNGTextInterface *documentInterface)
Definition WPXContentListener.cpp:127
void justificationChange(const unsigned char justification)
Definition WPXContentListener.cpp:1305
void startDocument()
Definition WPXContentListener.cpp:139
Definition WPXSubDocument.h:37
Definition WPXTableList.h:36
WPXFormOrientation
Definition libwpd_internal.h:105
WPXSubDocumentType
Definition libwpd_internal.h:111
WPXVerticalAlignment
Definition libwpd_internal.h:107
WPXNoteType
Definition libwpd_internal.h:93
Definition libwpd_internal.h:167
bool m_isFrameOpened
Definition WP5ContentListener.h:46
WP5ContentParsingState()
Definition WP5ContentListener.cpp:34
librevenge::RVNGString m_noteReference
Definition WP5ContentListener.h:42
~WP5ContentParsingState()
Definition WP5ContentListener.cpp:42
librevenge::RVNGString m_textBuffer
Definition WP5ContentListener.h:41
WPXTableList m_tableList
Definition WP5ContentListener.h:44