#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::startDocument | ( | ) | [inline, virtual] |
Implements WP42Listener.
void WP42ContentListener::insertCharacter | ( | const uint16_t | character | ) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::insertTab | ( | const uint8_t | tabType, | |
float | tabPosition | |||
) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::insertBreak | ( | const uint8_t | breakType | ) | [inline, virtual] |
Implements WP42Listener.
void WP42ContentListener::insertEOL | ( | ) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::attributeChange | ( | const bool | isOn, | |
const uint8_t | attribute | |||
) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::marginReset | ( | const uint8_t | leftMargin, | |
const uint8_t | rightMargin | |||
) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::headerFooterGroup | ( | const uint8_t | headerFooterDefinition, | |
WP42SubDocument * | subDocument | |||
) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::suppressPageCharacteristics | ( | const | uint8_t | ) | [inline, virtual] |
Implements WP42Listener.
void WP42ContentListener::endDocument | ( | ) | [inline, virtual] |
Implements WP42Listener.
void WP42ContentListener::_handleSubDocument | ( | const WPXSubDocument * | subDocument, | |
const bool | isHeaderFooter, | |||
WPXTableList | tableList, | |||
int | nextTableIndice = 0 | |||
) | [protected, virtual] |
Implements WPXContentListener.
void WP42ContentListener::_flushText | ( | ) | [protected, virtual] |
void WP42ContentListener::_changeList | ( | ) | [inline, protected, virtual] |
WP42ContentListener& WP42ContentListener::operator= | ( | const WP42ContentListener & | ) | [private] |
Referenced by _flushText(), _handleSubDocument(), insertCharacter(), and ~WP42ContentListener().
std::vector<WP42SubDocument *>& WP42ContentListener::m_subDocuments [private] |
Referenced by headerFooterGroup().