#include <WP1StylesListener.h>
Inheritance diagram for WP1StylesListener:
Public Member Functions | |
WP1StylesListener (std::list< WPXPageSpan > &pageList, std::vector< WP1SubDocument * > &subDocuments) | |
~WP1StylesListener () | |
void | startDocument () |
void | insertCharacter (const uint16_t) |
void | insertExtendedCharacter (const uint8_t) |
void | insertTab () |
void | insertEOL () |
void | insertBreak (const uint8_t breakType) |
void | insertNote (const WPXNoteType, WP1SubDocument *) |
void | attributeChange (const bool, const uint8_t) |
void | fontPointSize (const uint8_t) |
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) |
void | leftRightIndent (const uint16_t) |
void | leftMarginRelease (const uint16_t) |
void | setTabs (const std::vector< WPXTabStop >) |
void | headerFooterGroup (const uint8_t headerFooterDefinition, WP1SubDocument *subDocument) |
void | suppressPageCharacteristics (const uint8_t suppressCode) |
void | justificationChange (const uint8_t) |
void | lineSpacingChange (const uint8_t) |
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 | |||
) |
WP1StylesListener::~WP1StylesListener | ( | ) | [inline] |
void WP1StylesListener::startDocument | ( | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::insertCharacter | ( | const | uint16_t | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::insertExtendedCharacter | ( | const | uint8_t | ) | [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, | |
WP1SubDocument * | ||||
) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::attributeChange | ( | const | bool, | |
const | uint8_t | |||
) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::fontPointSize | ( | const | uint8_t | ) | [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 | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::leftRightIndent | ( | const | uint16_t | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::leftMarginRelease | ( | const | uint16_t | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::setTabs | ( | const std::vector< WPXTabStop > | ) | [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 | ) | [inline, virtual] |
Implements WP1Listener.
void WP1StylesListener::lineSpacingChange | ( | const | uint8_t | ) | [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] |