#include <WP42ContentListener.h>
Public Member Functions | |
| WP42ContentListener (std::list< WPXPageSpan > &pageList, std::vector< WP42SubDocument * > &subDocuments, WPXHLListenerImpl *listenerImpl) | |
| ~WP42ContentListener () | |
| void | startDocument () |
| void | insertCharacter (const uint16_t character) |
| void | insertTab (const uint8_t tabType, float tabPosition) |
| void | insertBreak (const uint8_t breakType) |
| void | insertEOL () |
| void | attributeChange (const bool isOn, const uint8_t attribute) |
| void | marginReset (const uint8_t leftMargin, const uint8_t rightMargin) |
| void | headerFooterGroup (const uint8_t headerFooterDefinition, WP42SubDocument *subDocument) |
| void | suppressPageCharacteristics (const uint8_t) |
| 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 | |
| WP42ContentListener (const WP42ContentListener &) | |
| WP42ContentListener & | operator= (const WP42ContentListener &) |
Private Attributes | |
| WP42ContentParsingState * | m_parseState |
| std::vector< WP42SubDocument * > & | m_subDocuments |
| WP42ContentListener::WP42ContentListener | ( | std::list< WPXPageSpan > & | pageList, | |
| std::vector< WP42SubDocument * > & | subDocuments, | |||
| WPXHLListenerImpl * | listenerImpl | |||
| ) |
| WP42ContentListener::~WP42ContentListener | ( | ) |
| WP42ContentListener::WP42ContentListener | ( | const WP42ContentListener & | ) | [private] |
| void WP42ContentListener::_changeList | ( | ) | [inline, protected, virtual] |
Implements WPXContentListener.
Referenced by _handleSubDocument().
| void WP42ContentListener::_flushText | ( | ) | [protected, virtual] |
Implements WPXContentListener.
Referenced by insertTab().
| void WP42ContentListener::_handleSubDocument | ( | const WPXSubDocument * | subDocument, | |
| const bool | isHeaderFooter, | |||
| WPXTableList | tableList, | |||
| int | nextTableIndice = 0 | |||
| ) | [protected, virtual] |
Implements WPXContentListener.
| void WP42ContentListener::attributeChange | ( | const bool | isOn, | |
| const uint8_t | attribute | |||
| ) |
| void WP42ContentListener::endDocument | ( | ) | [inline] |
Reimplemented from WPXContentListener.
| void WP42ContentListener::headerFooterGroup | ( | const uint8_t | headerFooterDefinition, | |
| WP42SubDocument * | subDocument | |||
| ) |
| void WP42ContentListener::insertBreak | ( | const uint8_t | breakType | ) | [inline] |
Reimplemented from WPXContentListener.
| void WP42ContentListener::insertCharacter | ( | const uint16_t | character | ) |
| void WP42ContentListener::insertEOL | ( | ) |
| void WP42ContentListener::insertTab | ( | const uint8_t | tabType, | |
| float | tabPosition | |||
| ) |
| void WP42ContentListener::marginReset | ( | const uint8_t | leftMargin, | |
| const uint8_t | rightMargin | |||
| ) |
| WP42ContentListener& WP42ContentListener::operator= | ( | const WP42ContentListener & | ) | [private] |
| void WP42ContentListener::startDocument | ( | ) | [inline] |
Reimplemented from WPXContentListener.
| void WP42ContentListener::suppressPageCharacteristics | ( | const | uint8_t | ) | [inline] |
Referenced by _flushText(), _handleSubDocument(), insertCharacter(), and ~WP42ContentListener().
std::vector<WP42SubDocument *>& WP42ContentListener::m_subDocuments [private] |
Referenced by headerFooterGroup().