#include <WP5ContentListener.h>
Public Member Functions | |
WP5ContentListener (std::list< WPXPageSpan > &pageList, std::vector< WP5SubDocument * > &subDocuments, librevenge::RVNGTextInterface *documentInterface) | |
~WP5ContentListener () | |
void | startDocument () |
void | startSubDocument () |
void | setFont (const librevenge::RVNGString &fontName, double fontSize) |
void | setTabs (const std::vector< WPXTabStop > &tabStops, unsigned short tabOffset) |
void | insertCharacter (unsigned character) |
void | insertTab (unsigned char tabType, double tabPosition) |
void | insertIndent (unsigned char indentType, double indentPosition) |
void | insertEOL () |
void | insertBreak (unsigned char breakType) |
void | lineSpacingChange (double lineSpacing) |
void | justificationChange (unsigned char justification) |
void | characterColorChange (unsigned char red, unsigned char green, unsigned char blue) |
void | attributeChange (bool isOn, unsigned char attribute) |
void | pageMarginChange (unsigned char, unsigned short) |
void | pageFormChange (unsigned short, unsigned short, WPXFormOrientation) |
void | marginChange (unsigned char side, unsigned short margin) |
void | paragraphMarginChange (unsigned char, signed short) |
void | endDocument () |
void | endSubDocument () |
void | defineTable (unsigned char position, unsigned short leftOffset) |
void | addTableColumnDefinition (unsigned width, unsigned leftGutter, unsigned rightGutter, unsigned attributes, unsigned char alignment) |
void | startTable () |
void | insertRow (unsigned short rowHeight, bool isMinimumHeight, bool isHeaderRow) |
void | insertCell (unsigned char colSpan, unsigned char rowSpan, unsigned char borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, WPXVerticalAlignment cellVerticalAlignment, bool useCellAttributes, unsigned cellAttributes) |
void | endTable () |
void | insertNoteReference (const librevenge::RVNGString ¬eReference) |
void | insertNote (WPXNoteType noteType, const WP5SubDocument *subDocument) |
void | headerFooterGroup (unsigned char headerFooterType, unsigned char occurrenceBits, WP5SubDocument *subDocument) |
void | suppressPageCharacteristics (unsigned char) |
void | setDefaultFont (const librevenge::RVNGString &fontName, double fontSize) |
void | boxOn (unsigned char positionAndType, unsigned char alignment, unsigned short width, unsigned short height, unsigned short x, unsigned short y) |
virtual void | boxOff () |
virtual void | insertGraphicsData (const librevenge::RVNGBinaryData *data) |
![]() | |
WP5Listener () | |
virtual | ~WP5Listener () |
void | setPrefixData (WP5PrefixData *prefixData) |
const WP5GeneralPacketData * | getGeneralPacketData (const int type) const |
Protected Member Functions | |
void | _handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) |
void | _flushText () |
void | _changeList () |
Private Member Functions | |
WP5ContentListener (const WP5ContentListener &) | |
WP5ContentListener & | operator= (const WP5ContentListener &) |
Private Attributes | |
WP5ContentParsingState * | m_parseState |
std::vector< WP5SubDocument * > & | m_subDocuments |
double | m_defaultFontSize |
librevenge::RVNGString | m_defaultFontName |
Additional Inherited Members |
WP5ContentListener::WP5ContentListener | ( | std::list< WPXPageSpan > & | pageList, |
std::vector< WP5SubDocument * > & | subDocuments, | ||
librevenge::RVNGTextInterface * | documentInterface | ||
) |
WP5ContentListener::~WP5ContentListener | ( | ) |
|
private |
|
inlineprotectedvirtual |
Implements WPXContentListener.
Referenced by _handleSubDocument().
|
protectedvirtual |
Implements WPXContentListener.
Referenced by boxOn(), endTable(), insertCell(), insertIndent(), insertNote(), insertRow(), and insertTab().
|
protectedvirtual |
Implements WPXContentListener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
Referenced by WP5Parser::parseSubDocument().
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
Referenced by insertCell().
|
inlinevirtual |
Implements WP5Listener.
|
virtual |
Implements WP5Listener.
Referenced by _handleSubDocument().
|
private |
|
inlinevirtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
inline |
void WP5ContentListener::setDefaultFont | ( | const librevenge::RVNGString & | fontName, |
double | fontSize | ||
) |
Referenced by WP5Parser::parse().
|
virtual |
Implements WP5Listener.
Referenced by _handleSubDocument(), and WP5Parser::parse().
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
Referenced by WP5Parser::parseSubDocument().
|
virtual |
Implements WP5Listener.
|
inlinevirtual |
Implements WP5Listener.
|
private |
Referenced by _handleSubDocument(), and setDefaultFont().
|
private |
Referenced by _handleSubDocument(), and setDefaultFont().
|
private |
Referenced by _flushText(), _handleSubDocument(), boxOff(), boxOn(), insertCharacter(), insertGraphicsData(), insertNote(), insertNoteReference(), and ~WP5ContentListener().
|
private |
Referenced by headerFooterGroup().