WPXContentListener Class Reference

#include <WPXContentListener.h>

Inheritance diagram for WPXContentListener:
WPXListener WP1ContentListener WP3ContentListener WP42ContentListener WP5ContentListener WP6ContentListener

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)
uint32_t _mapNonUnicodeCharacter (uint32_t character)
- Protected Member Functions inherited from WPXListener
 WPXListener (std::list< WPXPageSpan > &pageList)
virtual ~WPXListener ()
bool isUndoOn ()
void setUndoOn (bool isOn)

Protected Attributes

WPXContentParsingStatem_ps
WPXDocumentInterfacem_documentInterface
WPXPropertyList m_metaData
- Protected Attributes inherited from WPXListener
std::list< WPXPageSpan > & m_pageList

Private Member Functions

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

Constructor & Destructor Documentation

WPXContentListener::WPXContentListener ( std::list< WPXPageSpan > &  pageList,
WPXDocumentInterface documentInterface 
)
protected
WPXContentListener::~WPXContentListener ( )
protectedvirtual
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 ( )
protectedpure virtual
void WPXContentListener::_closePageSpan ( )
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 ( )
protectedpure 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 
)
protectedpure virtual
void WPXContentListener::_insertBreakIfNecessary ( WPXPropertyList propList)
protected
void WPXContentListener::_insertPageNumberParagraph ( WPXPageNumberPosition  position,
WPXNumberingType  type,
WPXString  fontName,
double  fontSize 
)
protected

Referenced by _openPageSpan().

uint32_t WPXContentListener::_mapDingbatsFontCharacter ( uint32_t  character)
private

Referenced by _mapNonUnicodeCharacter().

uint32_t WPXContentListener::_mapSymbolFontCharacter ( uint32_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::_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

WPXContentParsingState* WPXContentListener::m_ps
protected

Referenced by _appendParagraphProperties(), WP6ContentListener::_changeList(), _closeListElement(), _closePageSpan(), _closeParagraph(), _closeSection(), _closeSpan(), _closeTable(), _closeTableCell(), _closeTableRow(), WP6ContentListener::_flushText(), _getNextTabStop(), _getPreviousTabStop(), _getTabStops(), WP3ContentListener::_handleFrameParameters(), WP6ContentListener::_handleListChange(), WP42ContentListener::_handleSubDocument(), WP1ContentListener::_handleSubDocument(), WP5ContentListener::_handleSubDocument(), WP3ContentListener::_handleSubDocument(), WP6ContentListener::_handleSubDocument(), _insertBreakIfNecessary(), _mapNonUnicodeCharacter(), _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(), WP5ContentListener::boxOn(), WP6ContentListener::boxOn(), WP1ContentListener::centerOn(), WP5ContentListener::characterColorChange(), WP6ContentListener::characterColorChange(), WP6ContentListener::characterShadingChange(), WP3ContentListener::columnChange(), WP6ContentListener::columnChange(), WP6ContentListener::commentAnnotation(), WP3ContentListener::defineTable(), WP5ContentListener::defineTable(), WP6ContentListener::defineTable(), WP6ContentListener::defineTabStops(), WP6ContentListener::displayNumberReferenceGroupOn(), endDocument(), endSubDocument(), 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(), WP1ContentListener::insertPicture(), WP3ContentListener::insertPicture(), WP6ContentListener::insertRow(), WP42ContentListener::insertTab(), WP1ContentListener::insertTab(), WP3ContentListener::insertTab(), WP5ContentListener::insertTab(), WP6ContentListener::insertTab(), WP3ContentListener::insertTextBox(), WP3ContentListener::insertWP51Table(), 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(), WP1ContentListener::setTabs(), WP3ContentListener::setTabs(), WP3ContentListener::setTextColor(), WP3ContentListener::setTextFont(), WP6ContentListener::spacingAfterParagraphChange(), startDocument(), startSubDocument(), WP3ContentListener::startTable(), WP5ContentListener::startTable(), WP6ContentListener::startTable(), WP6ContentListener::styleGroupOn(), WP1ContentListener::WP1ContentListener(), WP42ContentListener::WP42ContentListener(), and ~WPXContentListener().


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

Generated for libwpd by doxygen 1.8.1.2