#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 () |
![]() | |
WP42Listener () | |
virtual | ~WP42Listener () |
Protected Member Functions | |
void | _handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) |
void | _flushText () |
void | _changeList () |
![]() | |
WPXContentListener (std::list< WPXPageSpan > &pageList, librevenge::RVNGTextInterface *documentInterface) | |
virtual | ~WPXContentListener () |
void | startDocument () |
void | startSubDocument () |
void | endDocument () |
void | endSubDocument () |
void | handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice) |
Creates an new document state. More... | |
void | insertBreak (const unsigned char breakType) |
void | lineSpacingChange (const double lineSpacing) |
void | justificationChange (const unsigned char justification) |
void | _openSection () |
void | _closeSection () |
void | _openPageSpan () |
void | _closePageSpan () |
void | _appendParagraphProperties (librevenge::RVNGPropertyList &propList, const bool isListElement=false) |
void | _getTabStops (librevenge::RVNGPropertyListVector &tabStops) |
void | _appendJustification (librevenge::RVNGPropertyList &propList, int justification) |
void | _resetParagraphState (const bool isListElement=false) |
virtual void | _openParagraph () |
void | _closeParagraph () |
void | _openListElement () |
void | _closeListElement () |
void | _openSpan () |
void | _closeSpan () |
void | _openTable () |
void | _closeTable () |
void | _openTableRow (const double height, const bool isMinimumHeight, const bool isHeaderRow) |
void | _closeTableRow () |
void | _openTableCell (const unsigned char colSpan, const unsigned char rowSpan, const unsigned char borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, const WPXVerticalAlignment cellVerticalAlignment) |
void | _closeTableCell () |
double | _movePositionToFirstColumn (double position) |
double | _getNextTabStop () const |
double | _getPreviousTabStop () const |
void | _insertText (const librevenge::RVNGString &textBuffer) |
void | _insertBreakIfNecessary (librevenge::RVNGPropertyList &propList) |
void | _insertPageNumberParagraph (WPXPageNumberPosition position, WPXNumberingType type, librevenge::RVNGString fontName, double fontSize) |
unsigned | _mapNonUnicodeCharacter (unsigned character) |
![]() | |
WPXListener (std::list< WPXPageSpan > &pageList) | |
virtual | ~WPXListener () |
bool | isUndoOn () |
void | setUndoOn (bool isOn) |
Private Member Functions | |
WP42ContentListener (const WP42ContentListener &) | |
WP42ContentListener & | operator= (const WP42ContentListener &) |
Private Attributes | |
WP42ContentParsingState * | m_parseState |
std::vector< WP42SubDocument * > & | m_subDocuments |
Additional Inherited Members | |
![]() | |
WPXContentParsingState * | m_ps |
librevenge::RVNGTextInterface * | m_documentInterface |
librevenge::RVNGPropertyList | m_metaData |
![]() | |
std::list< WPXPageSpan > & | m_pageList |
WP42ContentListener::WP42ContentListener | ( | std::list< WPXPageSpan > & | pageList, |
std::vector< WP42SubDocument * > & | subDocuments, | ||
librevenge::RVNGTextInterface * | documentInterface | ||
) |
WP42ContentListener::~WP42ContentListener | ( | ) |
|
private |
|
inlineprotectedvirtual |
Implements WPXContentListener.
Referenced by _handleSubDocument().
|
protectedvirtual |
Implements WPXContentListener.
Referenced by insertTab().
|
protectedvirtual |
Implements WPXContentListener.
|
virtual |
Implements WP42Listener.
|
inlinevirtual |
Implements WP42Listener.
|
inlinevirtual |
Implements WP42Listener.
Referenced by WP42Parser::parseSubDocument().
|
virtual |
Implements WP42Listener.
|
inlinevirtual |
Implements WP42Listener.
|
virtual |
Implements WP42Listener.
|
virtual |
Implements WP42Listener.
|
virtual |
Implements WP42Listener.
|
virtual |
Implements WP42Listener.
|
private |
|
inlinevirtual |
Implements WP42Listener.
|
inlinevirtual |
Implements WP42Listener.
Referenced by WP42Parser::parseSubDocument().
|
inlinevirtual |
Implements WP42Listener.
|
private |
Referenced by _flushText(), _handleSubDocument(), insertCharacter(), and ~WP42ContentListener().
|
private |
Referenced by headerFooterGroup().