#include <WPS4.h>
Inheritance diagram for WPS4ContentListener:
Public Member Functions | |
WPS4ContentListener (std::list< WPSPageSpan > &pageList, WPXHLListenerImpl *listenerImpl) | |
~WPS4ContentListener () | |
void | startDocument () |
void | insertCharacter (const uint16_t character) |
void | insertTab (const uint8_t tabType, float tabPosition) |
void | insertBreak (const uint8_t breakType) |
void | insertEOL () |
void | attributeChange (const bool isOn, const uint8_t attribute) |
void | lineSpacingChange (const float lineSpacing) |
void | pageMarginChange (const uint8_t side, const uint16_t margin) |
void | pageFormChange (const uint16_t length, const uint16_t width, const WPSFormOrientation orientation, const bool isPersistent) |
void | marginChange (const uint8_t side, const uint16_t margin) |
void | indentFirstLineChange (const int16_t offset) |
void | columnChange (const WPSTextColumnType columnType, const uint8_t numColumns, const std::vector< float > &columnWidth, const std::vector< bool > &isFixedWidth) |
void | endDocument () |
void | undoChange (const uint8_t undoType, const uint16_t undoLevel) |
void | justificationChange (const uint8_t justification) |
void | setTextColor (const RGBSColor *fontColor) |
void | setTextFont (const WPXString fontName) |
void | setFontSize (const uint16_t fontSize) |
void | insertPageNumber (const WPXString &pageNumber) |
void | insertNoteReference (const WPXString ¬eReference) |
void | insertNote (const WPSNoteType noteType) |
void | suppressPage (const uint16_t suppressCode) |
Protected Member Functions | |
void | _openParagraph () |
void | _flushText () |
void | _changeList () |
Private Attributes | |
WPS4ContentParsingState * | m_parseState |
WPS4ContentListener::WPS4ContentListener | ( | std::list< WPSPageSpan > & | pageList, | |
WPXHLListenerImpl * | listenerImpl | |||
) |
WPS4ContentListener::~WPS4ContentListener | ( | ) |
void WPS4ContentListener::_changeList | ( | ) | [inline, protected, virtual] |
Implements WPSContentListener.
void WPS4ContentListener::_flushText | ( | ) | [protected, virtual] |
Implements WPSContentListener.
void WPS4ContentListener::_openParagraph | ( | ) | [protected, virtual] |
Reimplemented from WPSContentListener.
void WPS4ContentListener::attributeChange | ( | const bool | isOn, | |
const uint8_t | attribute | |||
) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::columnChange | ( | const WPSTextColumnType | columnType, | |
const uint8_t | numColumns, | |||
const std::vector< float > & | columnWidth, | |||
const std::vector< bool > & | isFixedWidth | |||
) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::endDocument | ( | ) | [inline, virtual] |
Implements WPS4Listener.
void WPS4ContentListener::indentFirstLineChange | ( | const int16_t | offset | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::insertBreak | ( | const uint8_t | breakType | ) | [inline, virtual] |
Implements WPS4Listener.
void WPS4ContentListener::insertCharacter | ( | const uint16_t | character | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::insertEOL | ( | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::insertNote | ( | const WPSNoteType | noteType | ) |
void WPS4ContentListener::insertNoteReference | ( | const WPXString & | noteReference | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::insertPageNumber | ( | const WPXString & | pageNumber | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::insertTab | ( | const uint8_t | tabType, | |
float | tabPosition | |||
) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::justificationChange | ( | const uint8_t | justification | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::lineSpacingChange | ( | const float | lineSpacing | ) | [inline, virtual] |
Implements WPS4Listener.
void WPS4ContentListener::marginChange | ( | const uint8_t | side, | |
const uint16_t | margin | |||
) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::pageFormChange | ( | const uint16_t | length, | |
const uint16_t | width, | |||
const WPSFormOrientation | orientation, | |||
const bool | isPersistent | |||
) | [inline, virtual] |
Implements WPS4Listener.
void WPS4ContentListener::pageMarginChange | ( | const uint8_t | side, | |
const uint16_t | margin | |||
) | [inline, virtual] |
Implements WPS4Listener.
void WPS4ContentListener::setFontSize | ( | const uint16_t | fontSize | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::setTextColor | ( | const RGBSColor * | fontColor | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::setTextFont | ( | const WPXString | fontName | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::startDocument | ( | ) | [inline, virtual] |
Implements WPS4Listener.
void WPS4ContentListener::suppressPage | ( | const uint16_t | suppressCode | ) | [virtual] |
Implements WPS4Listener.
void WPS4ContentListener::undoChange | ( | const uint8_t | undoType, | |
const uint16_t | undoLevel | |||
) | [virtual] |
Implements WPS4Listener.