28 #ifndef WP5CONTENTLISTENER_H
29 #define WP5CONTENTLISTENER_H
53 WP5ContentListener(std::list<WPXPageSpan> &pageList, std::vector<WP5SubDocument *> &subDocuments, librevenge::RVNGTextInterface *documentInterface);
64 void setFont(
const librevenge::RVNGString &fontName,
double fontSize)
override;
65 void setTabs(
const std::vector<WPXTabStop> &tabStops,
unsigned short tabOffset)
override;
67 void insertTab(
unsigned char tabType,
double tabPosition)
override;
68 void insertIndent(
unsigned char indentType,
double indentPosition)
override;
86 void marginChange(
unsigned char side,
unsigned short margin)
override;
97 void defineTable(
unsigned char position,
unsigned short leftOffset)
override;
99 unsigned attributes,
unsigned char alignment)
override;
101 void insertRow(
unsigned short rowHeight,
bool isMinimumHeight,
bool isHeaderRow)
override;
102 void insertCell(
unsigned char colSpan,
unsigned char rowSpan,
unsigned char borderBits,
105 bool useCellAttributes,
unsigned cellAttributes)
override;
113 void setDefaultFont(
const librevenge::RVNGString &fontName,
double fontSize);
115 void boxOn(
unsigned char positionAndType,
unsigned char alignment,
unsigned short width,
unsigned short height,
unsigned short x,
unsigned short y)
override;
Definition: WP5ContentListener.h:51
void setTabs(const std::vector< WPXTabStop > &tabStops, unsigned short tabOffset) override
Definition: WP5ContentListener.cpp:507
double m_defaultFontSize
Definition: WP5ContentListener.h:130
void suppressPageCharacteristics(unsigned char) override
Definition: WP5ContentListener.h:111
void startTable() override
Definition: WP5ContentListener.cpp:299
void insertEOL() override
Definition: WP5ContentListener.cpp:226
void headerFooterGroup(unsigned char headerFooterType, unsigned char occurrenceBits, WP5SubDocument *subDocument) override
Definition: WP5ContentListener.cpp:595
void boxOn(unsigned char positionAndType, unsigned char alignment, unsigned short width, unsigned short height, unsigned short x, unsigned short y) override
Definition: WP5ContentListener.cpp:608
void marginChange(unsigned char side, unsigned short margin) override
Definition: WP5ContentListener.cpp:441
void addTableColumnDefinition(unsigned width, unsigned leftGutter, unsigned rightGutter, unsigned attributes, unsigned char alignment) override
Definition: WP5ContentListener.cpp:274
void attributeChange(bool isOn, unsigned char attribute) override
Definition: WP5ContentListener.cpp:371
void endDocument() override
Definition: WP5ContentListener.h:88
void insertNoteReference(const librevenge::RVNGString ¬eReference) override
Definition: WP5ContentListener.cpp:517
void startDocument() override
Definition: WP5ContentListener.h:56
std::vector< WP5SubDocument * > & m_subDocuments
Definition: WP5ContentListener.h:129
void insertTab(unsigned char tabType, double tabPosition) override
Definition: WP5ContentListener.cpp:73
void defineTable(unsigned char position, unsigned short leftOffset) override
Definition: WP5ContentListener.cpp:239
void insertNote(WPXNoteType noteType, const WP5SubDocument *subDocument) override
Definition: WP5ContentListener.cpp:525
void setDefaultFont(const librevenge::RVNGString &fontName, double fontSize)
Definition: WP5ContentListener.cpp:602
void insertRow(unsigned short rowHeight, bool isMinimumHeight, bool isHeaderRow) override
Definition: WP5ContentListener.cpp:320
void _changeList() override
Definition: WP5ContentListener.h:123
std::unique_ptr< WP5ContentParsingState > m_parseState
Definition: WP5ContentListener.h:128
~WP5ContentListener() override
Definition: WP5ContentListener.cpp:56
WP5ContentListener & operator=(const WP5ContentListener &)
void paragraphMarginChange(unsigned char, signed short)
Definition: WP5ContentListener.h:87
void setFont(const librevenge::RVNGString &fontName, double fontSize) override
Definition: WP5ContentListener.cpp:497
void justificationChange(unsigned char justification) override
Definition: WP5ContentListener.h:78
void insertCharacter(unsigned character) override
Definition: WP5ContentListener.cpp:65
librevenge::RVNGString m_defaultFontName
Definition: WP5ContentListener.h:131
void characterColorChange(unsigned char red, unsigned char green, unsigned char blue) override
Definition: WP5ContentListener.cpp:486
void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) override
Definition: WP5ContentListener.cpp:559
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:330
void endSubDocument() override
Definition: WP5ContentListener.h:92
WP5ContentListener(std::list< WPXPageSpan > &pageList, std::vector< WP5SubDocument * > &subDocuments, librevenge::RVNGTextInterface *documentInterface)
Definition: WP5ContentListener.cpp:46
void insertIndent(unsigned char indentType, double indentPosition) override
Definition: WP5ContentListener.cpp:168
void _flushText() override
Definition: WP5ContentListener.cpp:826
void pageFormChange(unsigned short, unsigned short, WPXFormOrientation) override
Definition: WP5ContentListener.h:85
void pageMarginChange(unsigned char, unsigned short) override
Definition: WP5ContentListener.h:84
void insertGraphicsData(const librevenge::RVNGBinaryData *data) override
Definition: WP5ContentListener.cpp:807
void boxOff() override
Definition: WP5ContentListener.cpp:798
void lineSpacingChange(double lineSpacing) override
Definition: WP5ContentListener.h:74
void endTable() override
Definition: WP5ContentListener.cpp:353
void startSubDocument() override
Definition: WP5ContentListener.h:60
WP5ContentListener(const WP5ContentListener &)
void insertBreak(unsigned char breakType) override
Definition: WP5ContentListener.h:70
Definition: WP5Listener.h:40
Definition: WP5SubDocument.h:34
Definition: WPXContentListener.h:147
void lineSpacingChange(const double lineSpacing)
Definition: WPXContentListener.cpp:1296
void endSubDocument()
Definition: WPXContentListener.cpp:180
void endDocument()
Definition: WPXContentListener.cpp:159
void insertBreak(const unsigned char breakType)
Definition: WPXContentListener.cpp:1242
void startSubDocument()
Definition: WPXContentListener.cpp:153
void justificationChange(const unsigned char justification)
Definition: WPXContentListener.cpp:1304
void startDocument()
Definition: WPXContentListener.cpp:138
Definition: WPXSubDocument.h:35
Definition: WPXTable.h:80
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
Definition: WP5ContentListener.h:39
bool m_isFrameOpened
Definition: WP5ContentListener.h:47
WP5ContentParsingState()
Definition: WP5ContentListener.cpp:34
librevenge::RVNGString m_noteReference
Definition: WP5ContentListener.h:43
~WP5ContentParsingState()
Definition: WP5ContentListener.cpp:42
librevenge::RVNGString m_textBuffer
Definition: WP5ContentListener.h:42
WPXTableList m_tableList
Definition: WP5ContentListener.h:45