#include <WP5ContentListener.h>
Public Member Functions | |
| WP5ContentListener (std::list< WPXPageSpan > &pageList, std::vector< WP5SubDocument * > &subDocuments, WPXDocumentInterface *documentInterface) | |
| ~WP5ContentListener () | |
| void | startDocument () |
| void | startSubDocument () |
| void | setFont (const WPXString &fontName, double fontSize) |
| void | setTabs (const std::vector< WPXTabStop > &tabStops, uint16_t tabOffset) |
| void | insertCharacter (uint32_t character) |
| void | insertTab (uint8_t tabType, double tabPosition) |
| void | insertIndent (uint8_t indentType, double indentPosition) |
| void | insertEOL () |
| void | insertBreak (uint8_t breakType) |
| void | lineSpacingChange (double lineSpacing) |
| void | justificationChange (uint8_t justification) |
| void | characterColorChange (uint8_t red, uint8_t green, uint8_t blue) |
| void | attributeChange (bool isOn, uint8_t attribute) |
| void | pageMarginChange (uint8_t, uint16_t) |
| void | pageFormChange (uint16_t, uint16_t, WPXFormOrientation) |
| void | marginChange (uint8_t side, uint16_t margin) |
| void | paragraphMarginChange (uint8_t, int16_t) |
| void | endDocument () |
| void | endSubDocument () |
| void | defineTable (uint8_t position, uint16_t leftOffset) |
| void | addTableColumnDefinition (uint32_t width, uint32_t leftGutter, uint32_t rightGutter, uint32_t attributes, uint8_t alignment) |
| void | startTable () |
| void | insertRow (uint16_t rowHeight, bool isMinimumHeight, bool isHeaderRow) |
| void | insertCell (uint8_t colSpan, uint8_t rowSpan, uint8_t borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, WPXVerticalAlignment cellVerticalAlignment, bool useCellAttributes, uint32_t cellAttributes) |
| void | endTable () |
| void | insertNoteReference (const WPXString ¬eReference) |
| void | insertNote (WPXNoteType noteType, const WP5SubDocument *subDocument) |
| void | headerFooterGroup (uint8_t headerFooterType, uint8_t occurenceBits, WP5SubDocument *subDocument) |
| void | suppressPageCharacteristics (uint8_t) |
| void | setDefaultFont (const WPXString &fontName, double fontSize) |
| void | boxOn (uint8_t positionAndType, uint8_t alignment, uint16_t width, uint16_t height, uint16_t x, uint16_t y) |
| virtual void | boxOff () |
| virtual void | insertGraphicsData (const WPXBinaryData *data) |
Public Member Functions inherited from WP5Listener | |
| WP5Listener () | |
| virtual | ~WP5Listener () |
| void | setPrefixData (WP5PrefixData *prefixData) |
| const WP5GeneralPacketData * | getGeneralPacketData (const int type) const |
Protected Member Functions | |
| void | _handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) |
| void | _flushText () |
| void | _changeList () |
Private Member Functions | |
| WP5ContentListener (const WP5ContentListener &) | |
| WP5ContentListener & | operator= (const WP5ContentListener &) |
Private Attributes | |
| WP5ContentParsingState * | m_parseState |
| std::vector< WP5SubDocument * > & | m_subDocuments |
| double | m_defaultFontSize |
| WPXString | m_defaultFontName |
Additional Inherited Members |
| WP5ContentListener::WP5ContentListener | ( | std::list< WPXPageSpan > & | pageList, |
| std::vector< WP5SubDocument * > & | subDocuments, | ||
| WPXDocumentInterface * | documentInterface | ||
| ) |
| WP5ContentListener::~WP5ContentListener | ( | ) |
|
private |
|
inlineprotectedvirtual |
Implements WPXContentListener.
Referenced by _handleSubDocument().
|
protectedvirtual |
Implements WPXContentListener.
Referenced by boxOn(), endTable(), insertCell(), insertIndent(), insertNote(), insertRow(), and insertTab().
|
protectedvirtual |
Implements WPXContentListener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
Referenced by WP5Parser::parseSubDocument().
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
Referenced by insertCell().
|
inlinevirtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
Referenced by _handleSubDocument().
|
private |
|
inlinevirtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
inline |
| void WP5ContentListener::setDefaultFont | ( | const WPXString & | fontName, |
| double | fontSize | ||
| ) |
Referenced by WP5Parser::parse().
|
virtual |
Implements WP5Listener.
Referenced by _handleSubDocument(), and WP5Parser::parse().
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
Referenced by WP5Parser::parseSubDocument().
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
private |
Referenced by _handleSubDocument(), and setDefaultFont().
|
private |
Referenced by _handleSubDocument(), and setDefaultFont().
|
private |
Referenced by _flushText(), _handleSubDocument(), boxOff(), boxOn(), insertCharacter(), insertGraphicsData(), insertNote(), insertNoteReference(), and ~WP5ContentListener().
|
private |
Referenced by headerFooterGroup().