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

WPXHLListener Class Reference

#include <WPXHLListener.h>

Inheritance diagram for WPXHLListener:

WPXLLListener WP3HLListener WP42HLListener WP5HLListener WP6HLListener WP3HLStylesListener WP42HLStylesListener WP5HLStylesListener WP6HLContentListener WP6HLStylesListener List of all members.

Public Member Functions

 WPXHLListener (std::vector< WPXPageSpan * > *pageList, WPXHLListenerImpl *listenerImpl)
 ~WPXHLListener ()
void startDocument ()
void handleSubDocument (uint16_t textPID, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice)
 Creates an new document state.
virtual void insertBreak (const uint8_t breakType)
virtual void lineSpacingChange (const float lineSpacing)
virtual void justificationChange (const uint8_t justification)

Public Attributes

WPXParsingStatem_ps
WPXHLListenerImplm_listenerImpl
WPXPropertyList m_metaData
std::vector< WPXPageSpan * > * m_pageList

Protected Member Functions

virtual void _handleSubDocument (uint16_t textPID, const bool isHeaderFooter, WPXTableList tableList, int nextTableIndice)=0
virtual void _flushText (const bool fakeText=false)=0
virtual void _flushList ()=0
void _openSection ()
void _closeSection ()
void _openPageSpan ()
void _closePageSpan ()
void _appendParagraphProperties (WPXPropertyList &propList)
void _getTabStops (WPXPropertyListVector &tabStops)
void _appendJustification (WPXPropertyList &propList, int justification)
virtual void _openParagraph ()
virtual void _resetParagraphState (const bool isListElement=false)
void _closeParagraph ()
void _openListElement ()
void _closeListElement ()
void _openSpan ()
void _closeSpan ()
void _openTable ()
void _closeTable ()
void _openTableRow (const float height, const bool isMinimumHeight, const bool isHeaderRow)
void _closeTableRow ()
void _openTableCell (const uint8_t colSpan, const uint8_t rowSpan, const bool boundFromLeft, const bool boundFromAbove, const uint8_t borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, const WPXVerticalAlignment cellVerticalAlignment)
void _closeTableCell ()
bool isUndoOn ()

Protected Attributes

bool m_isUndoOn

Private Member Functions

WPXString _colorToString (const RGBSColor *color)
WPXString _mergeColorsToString (const RGBSColor *fgColor, const RGBSColor *bgColor)

Constructor & Destructor Documentation

WPXHLListener::WPXHLListener std::vector< WPXPageSpan * > *  pageList,
WPXHLListenerImpl listenerImpl
 

WPXHLListener::~WPXHLListener  ) 
 


Member Function Documentation

void WPXHLListener::_appendJustification WPXPropertyList propList,
int  justification
[protected]
 

void WPXHLListener::_appendParagraphProperties WPXPropertyList propList  )  [protected]
 

void WPXHLListener::_closeListElement  )  [protected]
 

void WPXHLListener::_closePageSpan  )  [protected]
 

void WPXHLListener::_closeParagraph  )  [protected]
 

void WPXHLListener::_closeSection  )  [protected]
 

void WPXHLListener::_closeSpan  )  [protected]
 

void WPXHLListener::_closeTable  )  [protected]
 

void WPXHLListener::_closeTableCell  )  [protected]
 

void WPXHLListener::_closeTableRow  )  [protected]
 

WPXString WPXHLListener::_colorToString const RGBSColor color  )  [private]
 

virtual void WPXHLListener::_flushList  )  [protected, pure virtual]
 

Implemented in WP3HLListener, WP42HLListener, WP5HLListener, WP6HLContentListener, and WP6HLStylesListener.

virtual void WPXHLListener::_flushText const bool  fakeText = false  )  [protected, pure virtual]
 

Implemented in WP3HLListener, WP42HLListener, WP5HLListener, WP6HLContentListener, and WP6HLStylesListener.

void WPXHLListener::_getTabStops WPXPropertyListVector tabStops  )  [protected]
 

virtual void WPXHLListener::_handleSubDocument uint16_t  textPID,
const bool  isHeaderFooter,
WPXTableList  tableList,
int  nextTableIndice
[protected, pure virtual]
 

Implemented in WP3HLListener, WP42HLListener, WP42HLStylesListener, WP5HLListener, WP6HLContentListener, and WP6HLStylesListener.

WPXString WPXHLListener::_mergeColorsToString const RGBSColor fgColor,
const RGBSColor bgColor
[private]
 

void WPXHLListener::_openListElement  )  [protected]
 

void WPXHLListener::_openPageSpan  )  [protected]
 

Reimplemented in WP3HLStylesListener, WP42HLStylesListener, WP5HLStylesListener, and WP6HLStylesListener.

void WPXHLListener::_openParagraph  )  [protected, virtual]
 

Reimplemented in WP6HLStylesListener.

void WPXHLListener::_openSection  )  [protected]
 

void WPXHLListener::_openSpan  )  [protected]
 

void WPXHLListener::_openTable  )  [protected]
 

void WPXHLListener::_openTableCell const uint8_t  colSpan,
const uint8_t  rowSpan,
const bool  boundFromLeft,
const bool  boundFromAbove,
const uint8_t  borderBits,
const RGBSColor cellFgColor,
const RGBSColor cellBgColor,
const RGBSColor cellBorderColor,
const WPXVerticalAlignment  cellVerticalAlignment
[protected]
 

void WPXHLListener::_openTableRow const float  height,
const bool  isMinimumHeight,
const bool  isHeaderRow
[protected]
 

void WPXHLListener::_resetParagraphState const bool  isListElement = false  )  [protected, virtual]
 

void WPXHLListener::handleSubDocument uint16_t  textPID,
const bool  isHeaderFooter,
WPXTableList  tableList,
int  nextTableIndice
 

Creates an new document state.

Saves the old state on a "stack".

void WPXHLListener::insertBreak const uint8_t  breakType  )  [virtual]
 

Implements WPXLLListener.

Reimplemented in WP3HLStylesListener, WP42HLStylesListener, WP5HLStylesListener, and WP6HLStylesListener.

bool WPXHLListener::isUndoOn  )  [inline, protected]
 

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

Implements WPXLLListener.

Reimplemented in WP3HLStylesListener, WP42HLListener, WP42HLStylesListener, WP5HLStylesListener, and WP6HLStylesListener.

void WPXHLListener::lineSpacingChange const float  lineSpacing  )  [virtual]
 

Implements WPXLLListener.

Reimplemented in WP3HLStylesListener, WP42HLListener, WP42HLStylesListener, WP5HLStylesListener, and WP6HLStylesListener.

void WPXHLListener::startDocument  )  [virtual]
 

Implements WPXLLListener.

Reimplemented in WP3HLStylesListener, WP42HLStylesListener, WP5HLStylesListener, and WP6HLStylesListener.


Member Data Documentation

bool WPXHLListener::m_isUndoOn [protected]
 

WPXHLListenerImpl* WPXHLListener::m_listenerImpl
 

WPXPropertyList WPXHLListener::m_metaData
 

std::vector<WPXPageSpan *>* WPXHLListener::m_pageList
 

WPXParsingState* WPXHLListener::m_ps
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 10:11:51 2007 for libwpd by doxygen 1.4.2