Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

WP3ContentListener Class Reference

#include <WP3ContentListener.h>

Inheritance diagram for WP3ContentListener:

WP3Listener WPXContentListener WPXListener List of all members.

Public Member Functions

 WP3ContentListener (std::list< WPXPageSpan > &pageList, std::vector< WP3SubDocument * > &subDocuments, WPXHLListenerImpl *listenerImpl)
 ~WP3ContentListener ()
void startDocument ()
void insertCharacter (const uint16_t character)
void insertTab ()
void insertTab (const uint8_t tabType, const 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, const uint16_t)
void pageFormChange (const uint16_t, const uint16_t, const WPXFormOrientation)
void marginChange (const uint8_t side, const uint16_t margin)
void indentFirstLineChange (const int16_t offset)
void setTabs (const bool isRelative, const std::vector< WPXTabStop > tabStops)
void columnChange (const WPXTextColumnType columnType, const uint8_t numColumns, const std::vector< float > &columnWidth, const std::vector< bool > &isFixedWidth)
void endDocument ()
void defineTable (const uint8_t position, const uint16_t leftOffset)
void addTableColumnDefinition (const uint32_t width, const uint32_t leftGutter, const uint32_t rightGutter, const uint32_t attributes, const uint8_t alignment)
void startTable ()
void insertRow ()
void insertCell ()
void closeCell ()
void closeRow ()
void setTableCellSpan (const uint16_t colSpan, const uint16_t rowSpan)
void setTableCellFillColor (const RGBSColor *cellFillColor)
void endTable ()
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 &noteReference)
void insertNote (const WPXNoteType noteType, WP3SubDocument *subDocument)
void headerFooterGroup (const uint8_t headerFooterType, const uint8_t occurenceBits, WP3SubDocument *subDocument)
void suppressPage (const uint16_t)
void backTab ()
void leftIndent ()
void leftIndent (const float offset)
void leftRightIndent ()
void leftRightIndent (const float offset)

Protected Member Functions

void _handleSubDocument (const WPXSubDocument *subDocument, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice=0)
void _openParagraph ()
void _flushText ()
void _changeList ()

Private Member Functions

 WP3ContentListener (const WP3ContentListener &)
WP3ContentListeneroperator= (const WP3ContentListener &)

Private Attributes

WP3ContentParsingStatem_parseState
std::vector< WP3SubDocument * > & m_subDocuments

Constructor & Destructor Documentation

WP3ContentListener::WP3ContentListener std::list< WPXPageSpan > &  pageList,
std::vector< WP3SubDocument * > &  subDocuments,
WPXHLListenerImpl listenerImpl
 

WP3ContentListener::~WP3ContentListener  ) 
 

WP3ContentListener::WP3ContentListener const WP3ContentListener  )  [private]
 


Member Function Documentation

void WP3ContentListener::_changeList  )  [inline, protected, virtual]
 

Implements WPXContentListener.

void WP3ContentListener::_flushText  )  [protected, virtual]
 

Implements WPXContentListener.

void WP3ContentListener::_handleSubDocument const WPXSubDocument subDocument,
const bool  isHeaderFooter,
WPXTableList  tableList,
int  nextTableIndice = 0
[protected, virtual]
 

Implements WPXContentListener.

void WP3ContentListener::_openParagraph  )  [protected, virtual]
 

Reimplemented from WPXContentListener.

void WP3ContentListener::addTableColumnDefinition const uint32_t  width,
const uint32_t  leftGutter,
const uint32_t  rightGutter,
const uint32_t  attributes,
const uint8_t  alignment
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::attributeChange const bool  isOn,
const uint8_t  attribute
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::backTab  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::closeCell  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::closeRow  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::columnChange const WPXTextColumnType  columnType,
const uint8_t  numColumns,
const std::vector< float > &  columnWidth,
const std::vector< bool > &  isFixedWidth
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::defineTable const uint8_t  position,
const uint16_t  leftOffset
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::endDocument  )  [inline, virtual]
 

Implements WP3Listener.

void WP3ContentListener::endTable  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::headerFooterGroup const uint8_t  headerFooterType,
const uint8_t  occurenceBits,
WP3SubDocument subDocument
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::indentFirstLineChange const int16_t  offset  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertBreak const uint8_t  breakType  )  [inline, virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertCell  ) 
 

void WP3ContentListener::insertCharacter const uint16_t  character  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertEOL  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertNote const WPXNoteType  noteType,
WP3SubDocument subDocument
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertNoteReference const WPXString noteReference  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertPageNumber const WPXString pageNumber  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertRow  ) 
 

void WP3ContentListener::insertTab const uint8_t  tabType,
const float  tabPosition
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::insertTab  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::justificationChange const uint8_t  justification  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::leftIndent const float  offset  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::leftIndent  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::leftRightIndent const float  offset  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::leftRightIndent  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::lineSpacingChange const float  lineSpacing  )  [inline, virtual]
 

Implements WP3Listener.

void WP3ContentListener::marginChange const uint8_t  side,
const uint16_t  margin
[virtual]
 

Implements WP3Listener.

WP3ContentListener& WP3ContentListener::operator= const WP3ContentListener  )  [private]
 

void WP3ContentListener::pageFormChange const  uint16_t,
const  uint16_t,
const  WPXFormOrientation
[inline, virtual]
 

Implements WP3Listener.

void WP3ContentListener::pageMarginChange const  uint8_t,
const  uint16_t
[inline, virtual]
 

Implements WP3Listener.

void WP3ContentListener::setFontSize const uint16_t  fontSize  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::setTableCellFillColor const RGBSColor cellFillColor  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::setTableCellSpan const uint16_t  colSpan,
const uint16_t  rowSpan
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::setTabs const bool  isRelative,
const std::vector< WPXTabStop tabStops
[virtual]
 

Implements WP3Listener.

void WP3ContentListener::setTextColor const RGBSColor fontColor  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::setTextFont const WPXString fontName  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::startDocument  )  [inline, virtual]
 

Implements WP3Listener.

void WP3ContentListener::startTable  )  [virtual]
 

Implements WP3Listener.

void WP3ContentListener::suppressPage const  uint16_t  )  [inline, virtual]
 

Implements WP3Listener.

void WP3ContentListener::undoChange const uint8_t  undoType,
const uint16_t  undoLevel
[virtual]
 

Implements WP3Listener.


Member Data Documentation

WP3ContentParsingState* WP3ContentListener::m_parseState [private]
 

std::vector<WP3SubDocument *>& WP3ContentListener::m_subDocuments [private]
 


The documentation for this class was generated from the following files:
Generated on Sat Aug 20 05:20:58 2022 for libwpd by doxygen 1.3.5