WPXContentListener Class Reference

#include <WPXContentListener.h>

Inheritance diagram for WPXContentListener:
WPXListener WP1ContentListener WP3ContentListener WP42ContentListener WP5ContentListener WP6ContentListener

List of all members.

Protected Member Functions

 WPXContentListener (std::list< WPXPageSpan > &pageList, WPXHLListenerImpl *listenerImpl)
virtual ~WPXContentListener ()
void startDocument ()
void endDocument ()
void handleSubDocument (const WPXSubDocument *subDocument, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice)
 Creates an new document state.
void insertBreak (const uint8_t breakType)
void lineSpacingChange (const float lineSpacing)
void justificationChange (const uint8_t justification)
virtual void _handleSubDocument (const WPXSubDocument *subDocument, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice)=0
virtual void _flushText ()=0
virtual void _changeList ()=0
void _openSection ()
void _closeSection ()
void _openPageSpan ()
void _closePageSpan ()
void _appendParagraphProperties (WPXPropertyList &propList, const bool isListElement=false)
void _getTabStops (WPXPropertyListVector &tabStops)
void _appendJustification (WPXPropertyList &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 float height, const bool isMinimumHeight, const bool isHeaderRow)
void _closeTableRow ()
void _openTableCell (const uint8_t colSpan, const uint8_t rowSpan, const uint8_t borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, const WPXVerticalAlignment cellVerticalAlignment)
void _closeTableCell ()
float _movePositionToFirstColumn (float position)
const float _getNextTabStop () const
const float _getPreviousTabStop () const

Protected Attributes

WPXContentParsingStatem_ps
WPXHLListenerImplm_listenerImpl
WPXPropertyList m_metaData

Private Member Functions

 WPXContentListener (const WPXContentListener &)
WPXContentListeneroperator= (const WPXContentListener &)
WPXString _colorToString (const RGBSColor *color)
WPXString _mergeColorsToString (const RGBSColor *fgColor, const RGBSColor *bgColor)

Constructor & Destructor Documentation

WPXContentListener::WPXContentListener ( std::list< WPXPageSpan > &  pageList,
WPXHLListenerImpl listenerImpl 
) [protected]
WPXContentListener::~WPXContentListener ( ) [protected, virtual]

Member Function Documentation

void WPXContentListener::_appendJustification ( WPXPropertyList propList,
int  justification 
) [protected]
void WPXContentListener::_appendParagraphProperties ( WPXPropertyList propList,
const bool  isListElement = false 
) [protected]

Referenced by _openListElement(), and _openParagraph().

Referenced by _openSpan(), and _openTableCell().

virtual void WPXContentListener::_flushText ( ) [protected, pure virtual]
const float WPXContentListener::_getPreviousTabStop ( ) const [protected]
void WPXContentListener::_getTabStops ( WPXPropertyListVector tabStops) [protected]

Referenced by _openListElement(), and _openParagraph().

virtual void WPXContentListener::_handleSubDocument ( const WPXSubDocument subDocument,
const bool  isHeaderFooter,
WPXTableList  tableList,
int  nextTableIndice 
) [protected, pure virtual]
WPXString WPXContentListener::_mergeColorsToString ( const RGBSColor fgColor,
const RGBSColor bgColor 
) [private]

Referenced by _openTableCell().

void WPXContentListener::_openTableCell ( const uint8_t  colSpan,
const uint8_t  rowSpan,
const uint8_t  borderBits,
const RGBSColor cellFgColor,
const RGBSColor cellBgColor,
const RGBSColor cellBorderColor,
const WPXVerticalAlignment  cellVerticalAlignment 
) [protected]
void WPXContentListener::_openTableRow ( const float  height,
const bool  isMinimumHeight,
const bool  isHeaderRow 
) [protected]
void WPXContentListener::_resetParagraphState ( const bool  isListElement = false) [protected]

Referenced by _openListElement(), and _openParagraph().

void WPXContentListener::handleSubDocument ( const WPXSubDocument subDocument,
const bool  isHeaderFooter,
WPXTableList  tableList,
int  nextTableIndice 
) [protected]

Creates an new document state.

Saves the old state on a "stack".

Referenced by _openPageSpan(), WP1ContentListener::insertNote(), WP5ContentListener::insertNote(), WP3ContentListener::insertNote(), and WP6ContentListener::noteOff().

void WPXContentListener::justificationChange ( const uint8_t  justification) [protected]
void WPXContentListener::lineSpacingChange ( const float  lineSpacing) [protected]
WPXContentListener& WPXContentListener::operator= ( const WPXContentListener ) [private]

Member Data Documentation

Referenced by _appendParagraphProperties(), WP6ContentListener::_changeList(), _closeListElement(), _closePageSpan(), _closeParagraph(), _closeSection(), _closeSpan(), _closeTable(), _closeTableCell(), _closeTableRow(), WP6ContentListener::_flushText(), _getNextTabStop(), _getPreviousTabStop(), _getTabStops(), WP6ContentListener::_handleListChange(), WP42ContentListener::_handleSubDocument(), WP1ContentListener::_handleSubDocument(), WP5ContentListener::_handleSubDocument(), WP3ContentListener::_handleSubDocument(), WP6ContentListener::_handleSubDocument(), _movePositionToFirstColumn(), _openListElement(), _openPageSpan(), WP3ContentListener::_openParagraph(), _openParagraph(), _openSection(), _openSpan(), _openTable(), _openTableCell(), _openTableRow(), WP6ContentListener::_paragraphNumberOn(), _resetParagraphState(), WP3ContentListener::addTableColumnDefinition(), WP5ContentListener::addTableColumnDefinition(), WP6ContentListener::addTableColumnDefinition(), WP42ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), WP6ContentListener::attributeChange(), WP3ContentListener::backTab(), WP1ContentListener::centerOn(), WP5ContentListener::characterColorChange(), WP6ContentListener::characterColorChange(), WP6ContentListener::characterShadingChange(), WP3ContentListener::columnChange(), WP6ContentListener::columnChange(), WP3ContentListener::defineTable(), WP5ContentListener::defineTable(), WP6ContentListener::defineTable(), WP6ContentListener::defineTabStops(), WP6ContentListener::displayNumberReferenceGroupOn(), endDocument(), WP3ContentListener::endTable(), WP5ContentListener::endTable(), WP6ContentListener::endTable(), WP1ContentListener::flushRightOn(), WP6ContentListener::fontChange(), WP1ContentListener::fontId(), WP1ContentListener::fontPointSize(), WP6ContentListener::handleLineBreak(), handleSubDocument(), WP6ContentListener::highlightChange(), WP3ContentListener::indentFirstLineChange(), WP6ContentListener::indentFirstLineChange(), insertBreak(), WP3ContentListener::insertCell(), WP5ContentListener::insertCell(), WP6ContentListener::insertCell(), WP42ContentListener::insertCharacter(), WP1ContentListener::insertCharacter(), WP3ContentListener::insertCharacter(), WP5ContentListener::insertCharacter(), WP6ContentListener::insertCharacter(), WP42ContentListener::insertEOL(), WP1ContentListener::insertEOL(), WP3ContentListener::insertEOL(), WP5ContentListener::insertEOL(), WP6ContentListener::insertEOL(), WP1ContentListener::insertExtendedCharacter(), WP5ContentListener::insertIndent(), WP1ContentListener::insertNote(), WP5ContentListener::insertNote(), WP3ContentListener::insertNote(), WP5ContentListener::insertNoteReference(), WP3ContentListener::insertPageNumber(), WP6ContentListener::insertRow(), WP42ContentListener::insertTab(), WP1ContentListener::insertTab(), WP3ContentListener::insertTab(), WP5ContentListener::insertTab(), WP6ContentListener::insertTab(), WP1ContentListener::justificationChange(), WP3ContentListener::justificationChange(), justificationChange(), WP1ContentListener::leftIndent(), WP3ContentListener::leftIndent(), WP1ContentListener::leftMarginRelease(), WP1ContentListener::leftRightIndent(), WP3ContentListener::leftRightIndent(), lineSpacingChange(), WP3ContentListener::marginChange(), WP5ContentListener::marginChange(), WP6ContentListener::marginChange(), WP42ContentListener::marginReset(), WP1ContentListener::marginReset(), WP6ContentListener::noteOff(), WP6ContentListener::noteOn(), WP6ContentListener::paragraphMarginChange(), WP6ContentListener::setAlignmentCharacter(), WP5ContentListener::setFont(), WP3ContentListener::setFontSize(), WP6ContentListener::setLeaderCharacter(), WP5ContentListener::setTabs(), WP3ContentListener::setTabs(), WP1ContentListener::setTabs(), WP3ContentListener::setTextColor(), WP3ContentListener::setTextFont(), WP6ContentListener::spacingAfterParagraphChange(), startDocument(), WP3ContentListener::startTable(), WP5ContentListener::startTable(), WP6ContentListener::startTable(), WP6ContentListener::styleGroupOn(), WP1ContentListener::WP1ContentListener(), WP42ContentListener::WP42ContentListener(), WPXContentListener(), and ~WPXContentListener().


The documentation for this class was generated from the following files: