#include <WPSContentListener.h>
Protected Member Functions | |
WPSContentListener (std::list< WPSPageSpan > &pageList, WPXHLListenerImpl *listenerImpl) | |
virtual | ~WPSContentListener () |
void | startDocument () |
void | endDocument () |
void | insertBreak (const uint8_t breakType) |
void | lineSpacingChange (const float lineSpacing) |
void | justificationChange (const uint8_t justification) |
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 () |
float | _movePositionToFirstColumn (float position) |
Protected Attributes | |
WPSContentParsingState * | m_ps |
WPXHLListenerImpl * | m_listenerImpl |
WPXPropertyList | m_metaData |
Private Member Functions | |
WPXString | _colorToString (const RGBSColor *color) |
WPXString | _mergeColorsToString (const RGBSColor *fgColor, const RGBSColor *bgColor) |
WPSContentListener::WPSContentListener | ( | std::list< WPSPageSpan > & | pageList, | |
WPXHLListenerImpl * | listenerImpl | |||
) | [protected] |
WPSContentListener::~WPSContentListener | ( | ) | [protected, virtual] |
void WPSContentListener::startDocument | ( | ) | [protected] |
Reimplemented in WPS4ContentListener, and WPS8ContentListener.
void WPSContentListener::endDocument | ( | ) | [protected] |
Reimplemented in WPS4ContentListener, and WPS8ContentListener.
void WPSContentListener::insertBreak | ( | const uint8_t | breakType | ) | [protected] |
Reimplemented in WPS4ContentListener, and WPS8ContentListener.
void WPSContentListener::lineSpacingChange | ( | const float | lineSpacing | ) | [protected] |
Reimplemented in WPS4ContentListener, and WPS8ContentListener.
void WPSContentListener::justificationChange | ( | const uint8_t | justification | ) | [protected] |
Reimplemented in WPS4ContentListener, and WPS8ContentListener.
virtual void WPSContentListener::_flushText | ( | ) | [protected, pure virtual] |
Implemented in WPS4ContentListener, and WPS8ContentListener.
virtual void WPSContentListener::_changeList | ( | ) | [protected, pure virtual] |
Implemented in WPS4ContentListener, and WPS8ContentListener.
void WPSContentListener::_openSection | ( | ) | [protected] |
void WPSContentListener::_closeSection | ( | ) | [protected] |
void WPSContentListener::_openPageSpan | ( | ) | [protected] |
void WPSContentListener::_closePageSpan | ( | ) | [protected] |
void WPSContentListener::_appendParagraphProperties | ( | WPXPropertyList & | propList, | |
const bool | isListElement = false | |||
) | [protected] |
void WPSContentListener::_getTabStops | ( | WPXPropertyListVector & | tabStops | ) | [protected] |
void WPSContentListener::_appendJustification | ( | WPXPropertyList & | propList, | |
int | justification | |||
) | [protected] |
void WPSContentListener::_resetParagraphState | ( | const bool | isListElement = false |
) | [protected] |
void WPSContentListener::_openParagraph | ( | ) | [protected, virtual] |
Reimplemented in WPS4ContentListener, and WPS8ContentListener.
void WPSContentListener::_closeParagraph | ( | ) | [protected] |
void WPSContentListener::_openListElement | ( | ) | [protected] |
void WPSContentListener::_closeListElement | ( | ) | [protected] |
void WPSContentListener::_openSpan | ( | ) | [protected] |
void WPSContentListener::_closeSpan | ( | ) | [protected] |
float WPSContentListener::_movePositionToFirstColumn | ( | float | position | ) | [protected] |
WPXString WPSContentListener::_colorToString | ( | const RGBSColor * | color | ) | [private] |
WPXString WPSContentListener::_mergeColorsToString | ( | const RGBSColor * | fgColor, | |
const RGBSColor * | bgColor | |||
) | [private] |
WPSContentParsingState* WPSContentListener::m_ps [protected] |
WPXHLListenerImpl* WPSContentListener::m_listenerImpl [protected] |
WPXPropertyList WPSContentListener::m_metaData [protected] |