Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

WPSContentListener Class Reference

#include <WPSContentListener.h>

Inheritance diagram for WPSContentListener:
WPS4ContentListener WPS8ContentListener

List of all members.

Public Member Functions

void startDocument ()
void endDocument ()
void insertBreak (const uint8_t breakType)
void insertCharacter (const uint16_t character)
void setTextFont (const WPXString fontName)
void setFontSize (const uint16_t fontSize)
void insertEOL ()

Protected Member Functions

 WPSContentListener (std::list< WPSPageSpan > &pageList, WPXDocumentInterface *documentInterface)
virtual ~WPSContentListener ()
void _flushText ()
void _openSection ()
void _closeSection ()
void _openPageSpan ()
void _closePageSpan ()
void _openParagraph ()
void _closeParagraph ()
void _openSpan ()
void _closeSpan ()
void _insertText (const WPXString &textBuffer)

Protected Attributes

WPSContentParsingStatem_ps
WPXDocumentInterface * m_documentInterface
WPXPropertyList m_metaData

Private Member Functions

 WPSContentListener (const WPSContentListener &)
WPSContentListeneroperator= (const WPSContentListener &)

Private Attributes

std::list< WPSPageSpan > & m_pageList

Constructor & Destructor Documentation

WPSContentListener::WPSContentListener ( std::list< WPSPageSpan > &  pageList,
WPXDocumentInterface *  documentInterface 
) [protected]
WPSContentListener::~WPSContentListener (  ) [protected, virtual]
WPSContentListener::WPSContentListener ( const WPSContentListener  ) [private]

Member Function Documentation

void WPSContentListener::_closePageSpan (  ) [protected]
void WPSContentListener::_closeParagraph (  ) [protected]
void WPSContentListener::_closeSection (  ) [protected]
void WPSContentListener::_closeSpan (  ) [protected]
void WPSContentListener::_flushText (  ) [protected]

Referenced by _closeSpan().

void WPSContentListener::_insertText ( const WPXString &  textBuffer ) [protected]

Referenced by _flushText().

void WPSContentListener::_openPageSpan (  ) [protected]

Referenced by _openSection().

void WPSContentListener::_openParagraph (  ) [protected]

Referenced by _openSpan().

void WPSContentListener::_openSection (  ) [protected]

Referenced by _openParagraph().

void WPSContentListener::_openSpan (  ) [protected]
void WPSContentListener::endDocument (  )
void WPSContentListener::insertBreak ( const uint8_t  breakType )

Referenced by WPS4Parser::readText().

void WPSContentListener::insertCharacter ( const uint16_t  character )
void WPSContentListener::insertEOL (  )
WPSContentListener& WPSContentListener::operator= ( const WPSContentListener  ) [private]
void WPSContentListener::setFontSize ( const uint16_t  fontSize )
void WPSContentListener::setTextFont ( const WPXString  fontName )
void WPSContentListener::startDocument (  )

Member Data Documentation

WPXDocumentInterface* WPSContentListener::m_documentInterface [protected]
WPXPropertyList WPSContentListener::m_metaData [protected]

Referenced by startDocument().

Referenced by _openPageSpan().


The documentation for this class was generated from the following files:

Generated on Sun Dec 5 2010 16:52:36 for libwps by doxygen 1.7.2