#include <WP3StylesListener.h>
Public Member Functions | |
| WP3StylesListener (std::list< WPXPageSpan > &pageList, WPXTableList tableList, std::vector< WP3SubDocument * > &subDocuments) | |
| void | startDocument () |
| void | startSubDocument () |
| void | insertCharacter (uint32_t) |
| void | insertTab () |
| void | insertTab (uint8_t, double) |
| void | insertEOL () |
| void | insertBreak (uint8_t breakType) |
| void | attributeChange (bool, uint8_t) |
| void | lineSpacingChange (double) |
| void | justificationChange (uint8_t) |
| void | pageMarginChange (uint8_t side, uint16_t margin) |
| void | pageFormChange (uint16_t length, uint16_t width, WPXFormOrientation orientation) |
| void | marginChange (uint8_t side, uint16_t margin) |
| void | indentFirstLineChange (int16_t) |
| void | setTabs (bool, const std::vector< WPXTabStop >) |
| void | columnChange (WPXTextColumnType, uint8_t, const std::vector< double > &, const std::vector< bool > &) |
| void | endDocument () |
| void | endSubDocument () |
| void | defineTable (uint8_t, uint16_t) |
| void | addTableColumnDefinition (uint32_t, uint32_t, uint32_t, uint32_t, uint8_t) |
| void | startTable () |
| void | insertRow () |
| void | insertCell () |
| void | closeCell () |
| void | closeRow () |
| void | setTableCellSpan (uint16_t, uint16_t) |
| void | setTableCellFillColor (const RGBSColor *) |
| void | endTable () |
| void | undoChange (uint8_t undoType, uint16_t undoLevel) |
| void | setTextColor (const RGBSColor *) |
| void | setTextFont (const WPXString &) |
| void | setFontSize (uint16_t) |
| void | insertPageNumber (const WPXString &) |
| void | insertNoteReference (const WPXString &) |
| void | insertNote (WPXNoteType, const WP3SubDocument *) |
| void | headerFooterGroup (uint8_t headerFooterType, uint8_t occurenceBits, WP3SubDocument *subDocument) |
| void | suppressPage (uint16_t suppressCode) |
| void | backTab () |
| void | leftIndent () |
| void | leftIndent (double) |
| void | leftRightIndent () |
| void | leftRightIndent (double) |
| void | insertPicture (double, double, double, double, uint8_t, uint8_t, uint16_t, const WPXBinaryData &) |
| void | insertTextBox (double, double, double, double, uint8_t, uint8_t, uint16_t, const WP3SubDocument *, const WP3SubDocument *) |
| void | insertWP51Table (double, double, double, double, uint8_t, uint8_t, uint16_t, const WP3SubDocument *, const WP3SubDocument *) |
Protected Member Functions | |
| void | _handleSubDocument (const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, int nextTableIndice=0) |
Private Member Functions | |
| WP3StylesListener (const WP3StylesListener &) | |
| WP3StylesListener & | operator= (const WP3StylesListener &) |
Private Attributes | |
| WPXPageSpan | m_currentPage |
| WPXTableList | m_tableList |
| WPXTable * | m_currentTable |
| double | m_tempMarginLeft |
| double | m_tempMarginRight |
| bool | m_currentPageHasContent |
| bool | m_isSubDocument |
| std::vector< WP3SubDocument * > & | m_subDocuments |
| std::list< WPXPageSpan >::iterator | m_pageListHardPageMark |
| WP3StylesListener::WP3StylesListener | ( | std::list< WPXPageSpan > & | pageList, |
| WPXTableList | tableList, | ||
| std::vector< WP3SubDocument * > & | subDocuments | ||
| ) |
| WP3StylesListener::WP3StylesListener | ( | const WP3StylesListener & | ) | [private] |
| void WP3StylesListener::_handleSubDocument | ( | const WPXSubDocument * | subDocument, |
| WPXSubDocumentType | subDocumentType, | ||
| WPXTableList | tableList, | ||
| int | nextTableIndice = 0 |
||
| ) | [protected] |
Referenced by headerFooterGroup().
| void WP3StylesListener::addTableColumnDefinition | ( | uint32_t | , |
| uint32_t | , | ||
| uint32_t | , | ||
| uint32_t | , | ||
| uint8_t | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::attributeChange | ( | bool | , |
| uint8_t | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::backTab | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::closeCell | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::closeRow | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::columnChange | ( | WPXTextColumnType | , |
| uint8_t | , | ||
| const std::vector< double > & | , | ||
| const std::vector< bool > & | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::defineTable | ( | uint8_t | , |
| uint16_t | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::endDocument | ( | ) | [virtual] |
Implements WP3Listener.
| void WP3StylesListener::endSubDocument | ( | ) | [virtual] |
Implements WP3Listener.
Referenced by WP3Parser::parseSubDocument().
| void WP3StylesListener::endTable | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::headerFooterGroup | ( | uint8_t | headerFooterType, |
| uint8_t | occurenceBits, | ||
| WP3SubDocument * | subDocument | ||
| ) | [virtual] |
Implements WP3Listener.
| void WP3StylesListener::indentFirstLineChange | ( | int16_t | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertBreak | ( | uint8_t | breakType | ) | [virtual] |
Implements WP3Listener.
Referenced by endDocument(), and endSubDocument().
| void WP3StylesListener::insertCell | ( | ) |
| void WP3StylesListener::insertCharacter | ( | uint32_t | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertEOL | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertNote | ( | WPXNoteType | , |
| const WP3SubDocument * | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertNoteReference | ( | const WPXString & | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertPageNumber | ( | const WPXString & | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertPicture | ( | double | , |
| double | , | ||
| double | , | ||
| double | , | ||
| uint8_t | , | ||
| uint8_t | , | ||
| uint16_t | , | ||
| const WPXBinaryData & | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertRow | ( | ) |
| void WP3StylesListener::insertTab | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertTab | ( | uint8_t | , |
| double | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertTextBox | ( | double | , |
| double | , | ||
| double | , | ||
| double | , | ||
| uint8_t | , | ||
| uint8_t | , | ||
| uint16_t | , | ||
| const WP3SubDocument * | , | ||
| const WP3SubDocument * | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::insertWP51Table | ( | double | , |
| double | , | ||
| double | , | ||
| double | , | ||
| uint8_t | , | ||
| uint8_t | , | ||
| uint16_t | , | ||
| const WP3SubDocument * | , | ||
| const WP3SubDocument * | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::justificationChange | ( | uint8_t | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::leftIndent | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::leftIndent | ( | double | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::leftRightIndent | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::leftRightIndent | ( | double | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::lineSpacingChange | ( | double | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::marginChange | ( | uint8_t | side, |
| uint16_t | margin | ||
| ) | [virtual] |
Implements WP3Listener.
| WP3StylesListener& WP3StylesListener::operator= | ( | const WP3StylesListener & | ) | [private] |
| void WP3StylesListener::pageFormChange | ( | uint16_t | length, |
| uint16_t | width, | ||
| WPXFormOrientation | orientation | ||
| ) | [virtual] |
Implements WP3Listener.
| void WP3StylesListener::pageMarginChange | ( | uint8_t | side, |
| uint16_t | margin | ||
| ) | [virtual] |
Implements WP3Listener.
| void WP3StylesListener::setFontSize | ( | uint16_t | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::setTableCellFillColor | ( | const RGBSColor * | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::setTableCellSpan | ( | uint16_t | , |
| uint16_t | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::setTabs | ( | bool | , |
| const std::vector< WPXTabStop > | |||
| ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::setTextColor | ( | const RGBSColor * | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::setTextFont | ( | const WPXString & | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::startDocument | ( | ) | [inline, virtual] |
Implements WP3Listener.
| void WP3StylesListener::startSubDocument | ( | ) | [inline, virtual] |
Implements WP3Listener.
Referenced by WP3Parser::parseSubDocument().
| void WP3StylesListener::startTable | ( | ) | [virtual] |
Implements WP3Listener.
| void WP3StylesListener::suppressPage | ( | uint16_t | suppressCode | ) | [virtual] |
Implements WP3Listener.
| void WP3StylesListener::undoChange | ( | uint8_t | undoType, |
| uint16_t | undoLevel | ||
| ) | [virtual] |
Implements WP3Listener.
WPXPageSpan WP3StylesListener::m_currentPage [private] |
Referenced by headerFooterGroup(), insertBreak(), marginChange(), pageFormChange(), pageMarginChange(), and suppressPage().
bool WP3StylesListener::m_currentPageHasContent [private] |
WPXTable* WP3StylesListener::m_currentTable [private] |
Referenced by _handleSubDocument(), insertCell(), insertRow(), and startTable().
bool WP3StylesListener::m_isSubDocument [private] |
Referenced by _handleSubDocument(), insertBreak(), and marginChange().
std::list<WPXPageSpan>::iterator WP3StylesListener::m_pageListHardPageMark [private] |
Referenced by insertBreak(), marginChange(), and WP3StylesListener().
std::vector<WP3SubDocument *>& WP3StylesListener::m_subDocuments [private] |
Referenced by headerFooterGroup().
WPXTableList WP3StylesListener::m_tableList [private] |
Referenced by _handleSubDocument(), and startTable().
double WP3StylesListener::m_tempMarginLeft [private] |
Referenced by insertBreak(), and marginChange().
double WP3StylesListener::m_tempMarginRight [private] |
Referenced by insertBreak(), and marginChange().