#include <WP1StylesListener.h>
Inheritance diagram for WP1StylesListener:
Public Member Functions | |
WP1StylesListener (std::list< WPXPageSpan > &pageList, std::vector< WP1SubDocument * > &subDocuments) | |
void | startDocument () |
void | insertCharacter (const uint16_t character) |
void | insertExtendedCharacter (const uint8_t extendedCharacter) |
void | insertTab () |
void | insertEOL () |
void | insertBreak (const uint8_t breakType) |
void | insertNote (const WPXNoteType noteType, WP1SubDocument *subDocument) |
void | attributeChange (const bool isOn, const uint8_t attribute) |
void | fontPointSize (const uint8_t pointSize) |
void | marginReset (const uint16_t leftMargin, const uint16_t rightMargin) |
void | topMarginSet (const uint16_t topMargin) |
void | bottomMarginSet (const uint16_t bottomMargin) |
void | leftIndent (const uint16_t leftMarginOffset) |
void | leftRightIndent (const uint16_t leftRightMarginOffset) |
void | leftMarginRelease (const uint16_t release) |
void | setTabs (const std::vector< WPXTabStop > tabStops) |
void | headerFooterGroup (const uint8_t headerFooterDefinition, WP1SubDocument *subDocument) |
void | suppressPageCharacteristics (const uint8_t suppressCode) |
void | justificationChange (const uint8_t justification) |
void | lineSpacingChange (const uint8_t spacing) |
void | flushRightOn () |
void | flushRightOff () |
void | centerOn () |
void | centerOff () |
void | endDocument () |
Protected Member Functions | |
void | _handleSubDocument (const WPXSubDocument *subDocument, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice=0) |
Private Attributes | |
WPXPageSpan | m_currentPage |
WPXPageSpan | m_nextPage |
std::vector< WP1SubDocument * > & | m_subDocuments |
float | m_tempMarginLeft |
float | m_tempMarginRight |
bool | m_currentPageHasContent |
bool | m_isSubDocument |
std::list< WPXPageSpan >::iterator | m_pageListHardPageMark |
WP1StylesListener::WP1StylesListener | ( | std::list< WPXPageSpan > & | pageList, | |
std::vector< WP1SubDocument * > & | subDocuments | |||
) |
void WP1StylesListener::startDocument | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::insertCharacter | ( | const uint16_t | character | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::insertExtendedCharacter | ( | const uint8_t | extendedCharacter | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::insertTab | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::insertEOL | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::insertBreak | ( | const uint8_t | breakType | ) | [virtual] |
Implements WP1Listener.
void WP1StylesListener::insertNote | ( | const WPXNoteType | noteType, | |
WP1SubDocument * | subDocument | |||
) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::attributeChange | ( | const bool | isOn, | |
const uint8_t | attribute | |||
) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::fontPointSize | ( | const uint8_t | pointSize | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::marginReset | ( | const uint16_t | leftMargin, | |
const uint16_t | rightMargin | |||
) | [virtual] |
Implements WP1Listener.
void WP1StylesListener::topMarginSet | ( | const uint16_t | topMargin | ) | [virtual] |
Implements WP1Listener.
void WP1StylesListener::bottomMarginSet | ( | const uint16_t | bottomMargin | ) | [virtual] |
Implements WP1Listener.
void WP1StylesListener::leftIndent | ( | const uint16_t | leftMarginOffset | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::leftRightIndent | ( | const uint16_t | leftRightMarginOffset | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::leftMarginRelease | ( | const uint16_t | release | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::setTabs | ( | const std::vector< WPXTabStop > | tabStops | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::headerFooterGroup | ( | const uint8_t | headerFooterDefinition, | |
WP1SubDocument * | subDocument | |||
) | [virtual] |
Implements WP1Listener.
void WP1StylesListener::suppressPageCharacteristics | ( | const uint8_t | suppressCode | ) | [virtual] |
Implements WP1Listener.
void WP1StylesListener::justificationChange | ( | const uint8_t | justification | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::lineSpacingChange | ( | const uint8_t | spacing | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::flushRightOn | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::flushRightOff | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::centerOn | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::centerOff | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::endDocument | ( | ) | [virtual] |
Implements WP1Listener.
void WP1StylesListener::_handleSubDocument | ( | const WPXSubDocument * | subDocument, | |
const bool | isHeaderFooter, | |||
WPXTableList | tableList, | |||
int | nextTableIndice = 0 | |||
) | [protected] |
WPXPageSpan WP1StylesListener::m_currentPage [private] |
WPXPageSpan WP1StylesListener::m_nextPage [private] |
std::vector<WP1SubDocument *>& WP1StylesListener::m_subDocuments [private] |
float WP1StylesListener::m_tempMarginLeft [private] |
float WP1StylesListener::m_tempMarginRight [private] |
bool WP1StylesListener::m_currentPageHasContent [private] |
bool WP1StylesListener::m_isSubDocument [private] |
std::list<WPXPageSpan>::iterator WP1StylesListener::m_pageListHardPageMark [private] |