27 #ifndef WP3CONTENTLISTENER_H
28 #define WP3CONTENTLISTENER_H
55 WP3ContentListener(std::list<WPXPageSpan> &pageList, librevenge::RVNGTextInterface *documentInterface);
68 void insertTab(
unsigned char tabType,
double tabPosition)
override;
81 void marginChange(
unsigned char side,
unsigned short margin)
override;
83 void setTabs(
bool isRelative,
const std::vector<WPXTabStop> tabStops)
override;
85 const std::vector<bool> &isFixedWidth)
override;
95 void defineTable(
unsigned char position,
unsigned short leftOffset)
override;
97 unsigned attributes,
unsigned char alignment)
override;
103 void setTableCellSpan(
unsigned short colSpan,
unsigned short rowSpan)
override;
106 void undoChange(
unsigned char undoType,
unsigned short undoLevel)
override;
109 void setTextFont(
const librevenge::RVNGString &fontName)
override;
110 void setFontSize(
unsigned short fontSize)
override;
114 void headerFooterGroup(
unsigned char headerFooterType,
unsigned char occurrenceBits,
const std::shared_ptr<WP3SubDocument> &subDocument)
override;
121 void insertPicture(
double height,
double width,
double verticalOffset,
double horizontalOffset,
unsigned char leftColumn,
unsigned char rightColumn,
122 unsigned short figureFlags,
const librevenge::RVNGBinaryData &binaryData)
override;
123 void insertTextBox(
double height,
double width,
double verticalOffset,
double horizontalOffset,
unsigned char leftColumn,
unsigned char rightColumn,
125 void insertWP51Table(
double height,
double width,
double verticalOffset,
double horizontalOffset,
unsigned char leftColumn,
unsigned char rightColumn,
135 void _handleFrameParameters(librevenge::RVNGPropertyList &propList,
double height,
double width,
double verticalOffset,
double horizontalOffset,
unsigned char leftColumn,
unsigned char rightColumn,
136 unsigned short figureFlags);
void setTextFont(const librevenge::RVNGString &fontName) override
Definition: WP3ContentListener.cpp:578
void setTextColor(const RGBSColor *fontColor) override
Definition: WP3ContentListener.cpp:568
void closeCell() override
Definition: WP3ContentListener.cpp:261
void suppressPage(unsigned short) override
Definition: WP3ContentListener.h:115
Definition: WP3Listener.h:38
void _handleFrameParameters(librevenge::RVNGPropertyList &propList, double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags)
Definition: WP3ContentListener.cpp:872
void pageMarginChange(unsigned char, unsigned short) override
Definition: WP3ContentListener.h:79
void endSubDocument() override
Definition: WP3ContentListener.h:90
void insertCell()
Definition: WP3ContentListener.cpp:244
WP3ContentListener(std::list< WPXPageSpan > &pageList, librevenge::RVNGTextInterface *documentInterface)
Definition: WP3ContentListener.cpp:51
void marginChange(unsigned char side, unsigned short margin) override
Definition: WP3ContentListener.cpp:392
WP3ContentParsingState()
Definition: WP3ContentListener.cpp:37
void endTable() override
Definition: WP3ContentListener.cpp:297
void insertPicture(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags, const librevenge::RVNGBinaryData &binaryData) override
Definition: WP3ContentListener.cpp:786
void startSubDocument()
Definition: WPXContentListener.cpp:153
void endDocument() override
Definition: WP3ContentListener.h:86
void endDocument()
Definition: WPXContentListener.cpp:159
void insertPageNumber(const librevenge::RVNGString &pageNumber) override
Definition: WP3ContentListener.cpp:598
WPXTextColumnType
Definition: libwpd_internal.h:109
Definition: WP3ContentListener.h:36
void defineTable(unsigned char position, unsigned short leftOffset) override
Definition: WP3ContentListener.cpp:157
librevenge::RVNGString m_textBuffer
Definition: WP3ContentListener.h:42
void insertTab() override
Definition: WP3ContentListener.cpp:78
void insertTextBox(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) override
Definition: WP3ContentListener.cpp:807
void pageFormChange(unsigned short, unsigned short, WPXFormOrientation) override
Definition: WP3ContentListener.h:80
librevenge::RVNGString m_noteReference
Definition: WP3ContentListener.h:44
void insertBreak(const unsigned char breakType)
Definition: WPXContentListener.cpp:1242
void _changeList() override
Definition: WP3ContentListener.h:133
WPXSubDocumentType
Definition: libwpd_internal.h:111
void insertCharacter(unsigned character) override
Definition: WP3ContentListener.cpp:67
WP3ContentListener & operator=(const WP3ContentListener &)
~WP3ContentParsingState()
Definition: WP3ContentListener.cpp:47
void closeRow() override
Definition: WP3ContentListener.cpp:272
void undoChange(unsigned char undoType, unsigned short undoLevel) override
Definition: WP3ContentListener.cpp:384
void setTableCellSpan(unsigned short colSpan, unsigned short rowSpan) override
Definition: WP3ContentListener.cpp:282
Definition: WPXContentListener.h:147
std::unique_ptr< RGBSColor > m_cellFillColor
Definition: WP3ContentListener.h:43
Definition: WPXTableList.h:35
void insertEOL() override
Definition: WP3ContentListener.cpp:132
~WP3ContentListener() override
Definition: WP3ContentListener.cpp:58
void lineSpacingChange(double lineSpacing) override
Definition: WP3ContentListener.h:75
void setTabs(bool isRelative, const std::vector< WPXTabStop > tabStops) override
Definition: WP3ContentListener.cpp:481
void _flushText() override
Definition: WP3ContentListener.cpp:1180
void startTable() override
Definition: WP3ContentListener.cpp:217
unsigned short m_colSpan
Definition: WP3ContentListener.h:40
void setFontSize(unsigned short fontSize) override
Definition: WP3ContentListener.cpp:588
void leftIndent() override
Definition: WP3ContentListener.cpp:670
WPXFormOrientation
Definition: libwpd_internal.h:105
void insertBreak(unsigned char breakType) override
Definition: WP3ContentListener.h:69
Definition: WPXSubDocument.h:36
void attributeChange(bool isOn, unsigned char attribute) override
Definition: WP3ContentListener.cpp:313
void insertRow()
Definition: WP3ContentListener.cpp:238
void startDocument() override
Definition: WP3ContentListener.h:58
void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) override
Definition: WP3ContentListener.cpp:1110
void backTab() override
Definition: WP3ContentListener.cpp:650
std::unique_ptr< WP3ContentParsingState > m_parseState
Definition: WP3ContentListener.h:141
void leftRightIndent() override
Definition: WP3ContentListener.cpp:726
void insertNoteReference(const librevenge::RVNGString ¬eReference) override
Definition: WP3ContentListener.cpp:608
void justificationChange(unsigned char justification) override
Definition: WP3ContentListener.cpp:437
Definition: WP3ContentListener.h:52
void endSubDocument()
Definition: WPXContentListener.cpp:180
Definition: libwpd_internal.h:166
WPXTableList m_tableList
Definition: WP3ContentListener.h:46
void addTableColumnDefinition(unsigned width, unsigned leftGutter, unsigned rightGutter, unsigned attributes, unsigned char alignment) override
Definition: WP3ContentListener.cpp:192
void insertWP51Table(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) override
Definition: WP3ContentListener.cpp:839
WP3ContentParsingState & operator=(const WP3ContentParsingState &)
void insertNote(WPXNoteType noteType, const WP3SubDocument *subDocument) override
Definition: WP3ContentListener.cpp:616
void _openParagraph() override
Definition: WP3ContentListener.cpp:1159
void setTableCellFillColor(const RGBSColor *cellFillColor) override
Definition: WP3ContentListener.cpp:291
unsigned short m_rowSpan
Definition: WP3ContentListener.h:41
void columnChange(WPXTextColumnType columnType, unsigned char numColumns, const std::vector< double > &columnWidth, const std::vector< bool > &isFixedWidth) override
Definition: WP3ContentListener.cpp:490
void headerFooterGroup(unsigned char headerFooterType, unsigned char occurrenceBits, const std::shared_ptr< WP3SubDocument > &subDocument) override
Definition: WP3ContentListener.cpp:1155
void startDocument()
Definition: WPXContentListener.cpp:138
void lineSpacingChange(const double lineSpacing)
Definition: WPXContentListener.cpp:1296
void startSubDocument() override
Definition: WP3ContentListener.h:62
Definition: WP3SubDocument.h:33
void indentFirstLineChange(double offset) override
Definition: WP3ContentListener.cpp:467
WPXNoteType
Definition: libwpd_internal.h:93