#include <WP1ContentListener.h>
Public Member Functions | |
WP1ContentListener (std::list< WPXPageSpan > &pageList, std::vector< WP1SubDocument * > &subDocuments, WPXHLListenerImpl *listenerImpl) | |
~WP1ContentListener () | |
void | startDocument () |
void | insertCharacter (const uint16_t character) |
void | insertExtendedCharacter (const uint8_t extendedCharacter) |
void | insertTab () |
void | insertBreak (const uint8_t breakType) |
void | insertEOL () |
void | insertNote (const WPXNoteType noteType, WP1SubDocument *subDocument) |
void | attributeChange (const bool isOn, const uint8_t attribute) |
void | fontPointSize (const uint8_t pointSize) |
void | fontId (const uint16_t id) |
void | marginReset (const uint16_t leftMargin, const uint16_t rightMargin) |
void | topMarginSet (const uint16_t) |
void | bottomMarginSet (const uint16_t) |
void | leftIndent (const uint16_t leftMarginOffset) |
void | leftRightIndent (const uint16_t leftRightMarginOffset) |
void | leftMarginRelease (const uint16_t release) |
void | setTabs (const std::vector< WPXTabStop > tabStops) |
void | headerFooterGroup (const uint8_t headerFooterDefinition, WP1SubDocument *subDocument) |
void | suppressPageCharacteristics (const uint8_t) |
void | justificationChange (const uint8_t justification) |
void | lineSpacingChange (const uint8_t spacing) |
void | flushRightOn () |
void | flushRightOff () |
void | centerOn () |
void | centerOff () |
void | endDocument () |
Protected Member Functions | |
void | _handleSubDocument (const WPXSubDocument *subDocument, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice=0) |
void | _flushText () |
void | _changeList () |
Private Member Functions | |
WP1ContentListener (const WP1ContentListener &) | |
WP1ContentListener & | operator= (WP1ContentListener &) |
Private Attributes | |
WP1ContentParsingState * | m_parseState |
std::vector< WP1SubDocument * > & | m_subDocuments |
WP1ContentListener::WP1ContentListener | ( | std::list< WPXPageSpan > & | pageList, | |
std::vector< WP1SubDocument * > & | subDocuments, | |||
WPXHLListenerImpl * | listenerImpl | |||
) |
WP1ContentListener::~WP1ContentListener | ( | ) |
WP1ContentListener::WP1ContentListener | ( | const WP1ContentListener & | ) | [private] |
void WP1ContentListener::_changeList | ( | ) | [inline, protected, virtual] |
Implements WPXContentListener.
Referenced by _handleSubDocument().
void WP1ContentListener::_flushText | ( | ) | [protected, virtual] |
Implements WPXContentListener.
Referenced by insertNote(), and insertTab().
void WP1ContentListener::_handleSubDocument | ( | const WPXSubDocument * | subDocument, | |
const bool | isHeaderFooter, | |||
WPXTableList | tableList, | |||
int | nextTableIndice = 0 | |||
) | [protected, virtual] |
Implements WPXContentListener.
void WP1ContentListener::attributeChange | ( | const bool | isOn, | |
const uint8_t | attribute | |||
) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::bottomMarginSet | ( | const | uint16_t | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::centerOff | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::centerOn | ( | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::endDocument | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::flushRightOff | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::flushRightOn | ( | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::fontId | ( | const uint16_t | id | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::fontPointSize | ( | const uint8_t | pointSize | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::headerFooterGroup | ( | const uint8_t | headerFooterDefinition, | |
WP1SubDocument * | subDocument | |||
) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::insertBreak | ( | const uint8_t | breakType | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::insertCharacter | ( | const uint16_t | character | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::insertEOL | ( | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::insertExtendedCharacter | ( | const uint8_t | extendedCharacter | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::insertNote | ( | const WPXNoteType | noteType, | |
WP1SubDocument * | subDocument | |||
) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::insertTab | ( | ) | [virtual] |
Implements WP1Listener.
Referenced by centerOn(), flushRightOn(), leftIndent(), and leftRightIndent().
void WP1ContentListener::justificationChange | ( | const uint8_t | justification | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::leftIndent | ( | const uint16_t | leftMarginOffset | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::leftMarginRelease | ( | const uint16_t | release | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::leftRightIndent | ( | const uint16_t | leftRightMarginOffset | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::lineSpacingChange | ( | const uint8_t | spacing | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::marginReset | ( | const uint16_t | leftMargin, | |
const uint16_t | rightMargin | |||
) | [virtual] |
Implements WP1Listener.
WP1ContentListener& WP1ContentListener::operator= | ( | WP1ContentListener & | ) | [private] |
void WP1ContentListener::setTabs | ( | const std::vector< WPXTabStop > | tabStops | ) | [virtual] |
Implements WP1Listener.
void WP1ContentListener::startDocument | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::suppressPageCharacteristics | ( | const | uint8_t | ) | [inline, virtual] |
Implements WP1Listener.
void WP1ContentListener::topMarginSet | ( | const | uint16_t | ) | [inline, virtual] |
Implements WP1Listener.
std::vector<WP1SubDocument *>& WP1ContentListener::m_subDocuments [private] |
Referenced by headerFooterGroup().