#include <WP3ContentListener.h>
Public Member Functions | |
WP3ContentListener (std::list< WPXPageSpan > &pageList, std::vector< WP3SubDocument * > &subDocuments, WPXDocumentInterface *documentInterface) | |
~WP3ContentListener () | |
void | startDocument () |
void | startSubDocument () |
void | insertCharacter (uint32_t character) |
void | insertTab () |
void | insertTab (uint8_t tabType, double tabPosition) |
void | insertBreak (uint8_t breakType) |
void | insertEOL () |
void | attributeChange (bool isOn, uint8_t attribute) |
void | lineSpacingChange (double lineSpacing) |
void | pageMarginChange (uint8_t, uint16_t) |
void | pageFormChange (uint16_t, uint16_t, WPXFormOrientation) |
void | marginChange (uint8_t side, uint16_t margin) |
void | indentFirstLineChange (int16_t offset) |
void | setTabs (bool isRelative, const std::vector< WPXTabStop > tabStops) |
void | columnChange (WPXTextColumnType columnType, uint8_t numColumns, const std::vector< double > &columnWidth, const std::vector< bool > &isFixedWidth) |
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 () |
void | insertCell () |
void | closeCell () |
void | closeRow () |
void | setTableCellSpan (uint16_t colSpan, uint16_t rowSpan) |
void | setTableCellFillColor (const RGBSColor *cellFillColor) |
void | endTable () |
void | undoChange (uint8_t undoType, uint16_t undoLevel) |
void | justificationChange (uint8_t justification) |
void | setTextColor (const RGBSColor *fontColor) |
void | setTextFont (const WPXString &fontName) |
void | setFontSize (uint16_t fontSize) |
void | insertPageNumber (const WPXString &pageNumber) |
void | insertNoteReference (const WPXString ¬eReference) |
void | insertNote (WPXNoteType noteType, const WP3SubDocument *subDocument) |
void | headerFooterGroup (uint8_t headerFooterType, uint8_t occurenceBits, WP3SubDocument *subDocument) |
void | suppressPage (uint16_t) |
void | backTab () |
void | leftIndent () |
void | leftIndent (double offset) |
void | leftRightIndent () |
void | leftRightIndent (double offset) |
void | insertPicture (double height, double width, double verticalOffset, double horizontalOffset, uint8_t leftColumn, uint8_t rightColumn, uint16_t figureFlags, const WPXBinaryData &binaryData) |
void | insertTextBox (double height, double width, double verticalOffset, double horizontalOffset, uint8_t leftColumn, uint8_t rightColumn, uint16_t figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) |
void | insertWP51Table (double height, double width, double verticalOffset, double horizontalOffset, uint8_t leftColumn, uint8_t rightColumn, uint16_t figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) |
![]() | |
WP3Listener () | |
virtual | ~WP3Listener () |
void | setResourceFork (WP3ResourceFork *resourceFork) |
const WP3ResourceFork * | getResourceFork () const |
Protected Member Functions | |
void | _handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, int nextTableIndice=0) |
void | _openParagraph () |
void | _flushText () |
void | _changeList () |
void | _handleFrameParameters (WPXPropertyList &propList, double height, double width, double verticalOffset, double horizontalOffset, uint8_t leftColumn, uint8_t rightColumn, uint16_t figureFlags) |
Private Member Functions | |
WP3ContentListener (const WP3ContentListener &) | |
WP3ContentListener & | operator= (const WP3ContentListener &) |
Private Attributes | |
WP3ContentParsingState * | m_parseState |
std::vector< WP3SubDocument * > & | m_subDocuments |
Additional Inherited Members |
WP3ContentListener::WP3ContentListener | ( | std::list< WPXPageSpan > & | pageList, |
std::vector< WP3SubDocument * > & | subDocuments, | ||
WPXDocumentInterface * | documentInterface | ||
) |
WP3ContentListener::~WP3ContentListener | ( | ) |
|
private |
|
inlineprotectedvirtual |
Implements WPXContentListener.
Referenced by _handleSubDocument().
|
protectedvirtual |
Implements WPXContentListener.
Referenced by endTable(), insertNote(), and insertTab().
|
protected |
Referenced by insertPicture(), insertTextBox(), and insertWP51Table().
|
protectedvirtual |
Implements WPXContentListener.
|
protectedvirtual |
Reimplemented from WPXContentListener.
Referenced by insertNote().
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
Referenced by closeRow().
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
Referenced by WP3Parser::parseSubDocument().
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
void WP3ContentListener::insertCell | ( | ) |
Referenced by _openParagraph(), and insertEOL().
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
Referenced by closeCell().
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
void WP3ContentListener::insertRow | ( | ) |
Referenced by _openParagraph(), and insertEOL().
|
virtual |
Implements WP3Listener.
Referenced by insertTab(), leftIndent(), and leftRightIndent().
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
Referenced by _handleSubDocument().
|
private |
|
inlinevirtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
Referenced by WP3Parser::parseSubDocument().
|
virtual |
Implements WP3Listener.
|
inlinevirtual |
Implements WP3Listener.
|
virtual |
Implements WP3Listener.
|
private |
|
private |
Referenced by headerFooterGroup().