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, WPXDocumentInterface *documentInterface)
virtual ~WPXContentListener ()
void startDocument ()
void startSubDocument ()
void endDocument ()
void endSubDocument ()
void handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, int nextTableIndice)
 Creates an new document state.
void insertBreak (const uint8_t breakType)
void lineSpacingChange (const double lineSpacing)
void justificationChange (const uint8_t justification)
virtual void _handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, 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 double 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 ()
double _movePositionToFirstColumn (double position)
double _getNextTabStop () const
double _getPreviousTabStop () const
void _insertText (const WPXString &textBuffer)
void _insertBreakIfNecessary (WPXPropertyList &propList)
void _insertPageNumberParagraph (WPXPageNumberPosition position, WPXNumberingType type, WPXString fontName, double fontSize)
uint16_t _mapNonUnicodeCharacter (uint16_t character)

Protected Attributes

WPXContentParsingStatem_ps
WPXDocumentInterfacem_documentInterface
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)
uint16_t _mapSymbolFontCharacter (uint16_t character)
uint16_t _mapDingbatsFontCharacter (uint16_t character)


Constructor & Destructor Documentation

WPXContentListener::WPXContentListener ( std::list< WPXPageSpan > &  pageList,
WPXDocumentInterface documentInterface 
) [protected]

WPXContentListener::~WPXContentListener (  )  [protected, virtual]

WPXContentListener::WPXContentListener ( const WPXContentListener  )  [private]


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().

virtual void WPXContentListener::_changeList (  )  [protected, pure virtual]

void WPXContentListener::_closeListElement (  )  [protected]

void WPXContentListener::_closePageSpan (  )  [protected]

void WPXContentListener::_closeParagraph (  )  [protected]

void WPXContentListener::_closeSection (  )  [protected]

void WPXContentListener::_closeSpan (  )  [protected]

void WPXContentListener::_closeTable (  )  [protected]

void WPXContentListener::_closeTableCell (  )  [protected]

void WPXContentListener::_closeTableRow (  )  [protected]

WPXString WPXContentListener::_colorToString ( const RGBSColor color  )  [private]

Referenced by _openSpan(), and _openTableCell().

virtual void WPXContentListener::_flushText (  )  [protected, pure virtual]

double WPXContentListener::_getNextTabStop (  )  const [protected]

double WPXContentListener::_getPreviousTabStop (  )  const [protected]

void WPXContentListener::_getTabStops ( WPXPropertyListVector tabStops  )  [protected]

Referenced by _openListElement(), and _openParagraph().

virtual void WPXContentListener::_handleSubDocument ( const WPXSubDocument subDocument,
WPXSubDocumentType  subDocumentType,
WPXTableList  tableList,
int  nextTableIndice 
) [protected, pure virtual]

void WPXContentListener::_insertBreakIfNecessary ( WPXPropertyList propList  )  [protected]

void WPXContentListener::_insertPageNumberParagraph ( WPXPageNumberPosition  position,
WPXNumberingType  type,
WPXString  fontName,
double  fontSize 
) [protected]

Referenced by _openPageSpan().

void WPXContentListener::_insertText ( const WPXString textBuffer  )  [protected]

uint16_t WPXContentListener::_mapDingbatsFontCharacter ( uint16_t  character  )  [private]

Referenced by _mapNonUnicodeCharacter().

uint16_t WPXContentListener::_mapNonUnicodeCharacter ( uint16_t  character  )  [protected]

uint16_t WPXContentListener::_mapSymbolFontCharacter ( uint16_t  character  )  [private]

Referenced by _mapNonUnicodeCharacter().

WPXString WPXContentListener::_mergeColorsToString ( const RGBSColor fgColor,
const RGBSColor bgColor 
) [private]

Referenced by _openTableCell().

double WPXContentListener::_movePositionToFirstColumn ( double  position  )  [protected]

void WPXContentListener::_openListElement (  )  [protected]

void WPXContentListener::_openPageSpan (  )  [protected]

void WPXContentListener::_openParagraph (  )  [protected, virtual]

void WPXContentListener::_openSection (  )  [protected]

void WPXContentListener::_openSpan (  )  [protected]

void WPXContentListener::_openTable (  )  [protected]

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 double  height,
const bool  isMinimumHeight,
const bool  isHeaderRow 
) [protected]

void WPXContentListener::_resetParagraphState ( const bool  isListElement = false  )  [protected]

Referenced by _openListElement(), and _openParagraph().

void WPXContentListener::endDocument (  )  [protected]

void WPXContentListener::endSubDocument (  )  [protected]

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

void WPXContentListener::insertBreak ( const uint8_t  breakType  )  [protected]

void WPXContentListener::justificationChange ( const uint8_t  justification  )  [protected]

void WPXContentListener::lineSpacingChange ( const double  lineSpacing  )  [protected]

WPXContentListener& WPXContentListener::operator= ( const WPXContentListener  )  [private]

void WPXContentListener::startDocument (  )  [protected]

void WPXContentListener::startSubDocument (  )  [protected]


Member Data Documentation

Referenced by _appendParagraphProperties(), WP6ContentListener::_changeList(), _closeListElement(), _closePageSpan(), _closeParagraph(), _closeSection(), _closeSpan(), _closeTable(), _closeTableCell(), _closeTableRow(), WP6ContentListener::_flushText(), _getNextTabStop(), _getPreviousTabStop(), _getTabStops(), WP3ContentListener::_handleFrameParameters(), WP6ContentListener::_handleListChange(), WP6ContentListener::_handleSubDocument(), WP5ContentListener::_handleSubDocument(), WP42ContentListener::_handleSubDocument(), WP3ContentListener::_handleSubDocument(), WP1ContentListener::_handleSubDocument(), _insertBreakIfNecessary(), _mapNonUnicodeCharacter(), _movePositionToFirstColumn(), _openListElement(), _openPageSpan(), _openParagraph(), WP3ContentListener::_openParagraph(), _openSection(), _openSpan(), _openTable(), _openTableCell(), _openTableRow(), WP6ContentListener::_paragraphNumberOn(), _resetParagraphState(), WP6ContentListener::addTableColumnDefinition(), WP5ContentListener::addTableColumnDefinition(), WP3ContentListener::addTableColumnDefinition(), WP6ContentListener::attributeChange(), WP5ContentListener::attributeChange(), WP42ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::backTab(), WP6ContentListener::boxOn(), WP5ContentListener::boxOn(), WP1ContentListener::centerOn(), WP6ContentListener::characterColorChange(), WP5ContentListener::characterColorChange(), WP6ContentListener::characterShadingChange(), WP6ContentListener::columnChange(), WP3ContentListener::columnChange(), WP6ContentListener::commentAnnotation(), WP6ContentListener::defineTable(), WP5ContentListener::defineTable(), WP3ContentListener::defineTable(), WP6ContentListener::defineTabStops(), WP6ContentListener::displayNumberReferenceGroupOn(), endDocument(), endSubDocument(), WP6ContentListener::endTable(), WP5ContentListener::endTable(), WP3ContentListener::endTable(), WP1ContentListener::flushRightOn(), WP6ContentListener::fontChange(), WP1ContentListener::fontId(), WP1ContentListener::fontPointSize(), WP6ContentListener::handleLineBreak(), handleSubDocument(), WP6ContentListener::highlightChange(), WP6ContentListener::indentFirstLineChange(), WP3ContentListener::indentFirstLineChange(), insertBreak(), WP6ContentListener::insertCell(), WP5ContentListener::insertCell(), WP3ContentListener::insertCell(), WP6ContentListener::insertCharacter(), WP5ContentListener::insertCharacter(), WP42ContentListener::insertCharacter(), WP3ContentListener::insertCharacter(), WP1ContentListener::insertCharacter(), WP6ContentListener::insertEOL(), WP5ContentListener::insertEOL(), WP42ContentListener::insertEOL(), WP3ContentListener::insertEOL(), WP1ContentListener::insertEOL(), WP1ContentListener::insertExtendedCharacter(), WP5ContentListener::insertIndent(), WP5ContentListener::insertNote(), WP3ContentListener::insertNote(), WP1ContentListener::insertNote(), WP5ContentListener::insertNoteReference(), WP3ContentListener::insertPageNumber(), WP3ContentListener::insertPicture(), WP1ContentListener::insertPicture(), WP6ContentListener::insertRow(), WP6ContentListener::insertTab(), WP5ContentListener::insertTab(), WP42ContentListener::insertTab(), WP3ContentListener::insertTab(), WP1ContentListener::insertTab(), WP3ContentListener::insertTextBox(), WP3ContentListener::insertWP51Table(), justificationChange(), WP3ContentListener::justificationChange(), WP1ContentListener::justificationChange(), WP3ContentListener::leftIndent(), WP1ContentListener::leftIndent(), WP1ContentListener::leftMarginRelease(), WP3ContentListener::leftRightIndent(), WP1ContentListener::leftRightIndent(), lineSpacingChange(), WP6ContentListener::marginChange(), WP5ContentListener::marginChange(), WP3ContentListener::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(), startSubDocument(), WP6ContentListener::startTable(), WP5ContentListener::startTable(), WP3ContentListener::startTable(), WP6ContentListener::styleGroupOn(), WP1ContentListener::WP1ContentListener(), WP42ContentListener::WP42ContentListener(), and ~WPXContentListener().


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

Generated on Sun Dec 5 16:56:06 2010 for libwpd by doxygen 1.5.9