#include <WP42ContentListener.h>
Public Member Functions | |
WP42ContentListener (std::list< WPXPageSpan > &pageList, std::vector< WP42SubDocument * > &subDocuments, librevenge::RVNGTextInterface *documentInterface) | |
~WP42ContentListener () | |
void | startDocument () |
void | startSubDocument () |
void | insertCharacter (unsigned character) |
void | insertTab (unsigned char tabType, double tabPosition) |
void | insertBreak (unsigned char breakType) |
void | insertEOL () |
void | attributeChange (bool isOn, unsigned char attribute) |
void | marginReset (unsigned char leftMargin, unsigned char rightMargin) |
void | headerFooterGroup (unsigned char headerFooterDefinition, WP42SubDocument *subDocument) |
void | suppressPageCharacteristics (unsigned char) |
void | endDocument () |
void | endSubDocument () |
Protected Member Functions | |
void | _handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned 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, | ||
librevenge::RVNGTextInterface * | documentInterface | ||
) |
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, |
WPXSubDocumentType | subDocumentType, | ||
WPXTableList | tableList, | ||
unsigned | nextTableIndice = 0 |
||
) | [protected, virtual] |
Implements WPXContentListener.
void WP42ContentListener::attributeChange | ( | bool | isOn, |
unsigned char | attribute | ||
) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::endDocument | ( | ) | [inline, virtual] |
Implements WP42Listener.
void WP42ContentListener::endSubDocument | ( | ) | [inline, virtual] |
Implements WP42Listener.
Referenced by WP42Parser::parseSubDocument().
void WP42ContentListener::headerFooterGroup | ( | unsigned char | headerFooterDefinition, |
WP42SubDocument * | subDocument | ||
) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::insertBreak | ( | unsigned char | breakType | ) | [inline, virtual] |
Implements WP42Listener.
void WP42ContentListener::insertCharacter | ( | unsigned | character | ) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::insertEOL | ( | ) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::insertTab | ( | unsigned char | tabType, |
double | tabPosition | ||
) | [virtual] |
Implements WP42Listener.
void WP42ContentListener::marginReset | ( | unsigned char | leftMargin, |
unsigned char | rightMargin | ||
) | [virtual] |
Implements WP42Listener.
WP42ContentListener& WP42ContentListener::operator= | ( | const WP42ContentListener & | ) | [private] |
void WP42ContentListener::startDocument | ( | ) | [inline, virtual] |
Implements WP42Listener.
void WP42ContentListener::startSubDocument | ( | ) | [inline, virtual] |
Implements WP42Listener.
Referenced by WP42Parser::parseSubDocument().
void WP42ContentListener::suppressPageCharacteristics | ( | unsigned char | ) | [inline, virtual] |
Implements WP42Listener.
Referenced by _flushText(), _handleSubDocument(), insertCharacter(), and ~WP42ContentListener().
std::vector<WP42SubDocument *>& WP42ContentListener::m_subDocuments [private] |
Referenced by headerFooterGroup().