Public Member Functions | Private Member Functions | Private Attributes

OpenWriter_ContentStream_Listener Class Reference

Inheritance diagram for OpenWriter_ContentStream_Listener:
OpenWriter_Stream_Listener UT_XML::Listener

List of all members.

Public Member Functions

 OpenWriter_ContentStream_Listener (IE_Imp_OpenWriter *importer, OpenWriter_StylesStream_Listener *pSSListener, bool bOpenDocument)
virtual ~OpenWriter_ContentStream_Listener ()
virtual void startElement (const gchar *name, const gchar **atts)
virtual void endElement (const gchar *name)
virtual void charData (const gchar *buffer, int length)

Private Member Functions

void _insertImage (const gchar **atts)
void _insureInBlock (const gchar **atts)
void _insureInSection (const gchar *props)
void _insertBookmark (const gchar *name, const gchar *type)
void _flush ()
void _openTable (const gchar **)
void _openColumn (const gchar **)
void _openRow (const gchar **)
void _openCell (const gchar **)
void _closeTable ()
void _closeColumn ()
void _closeRow ()
void _closeCell ()
void _defineSimpleStyle (const gchar **props)
const gchar * _mapStyle (const gchar *name) const
const OO_Style_mapStyleObj (const gchar *name, UT_UTF8String &oo_sty) const
bool _pushInlineFmt (const gchar **atts)
void _popInlineFmt (void)

Private Attributes

UT_UCS4String m_charData
bool m_bAcceptingText
bool m_bInSection
bool m_bInTOC
UT_UTF8String m_curStyleName
PP_PropertyVector m_vecInlineFmt
UT_NumberStack m_stackFmtStartIndex
UT_uint32 m_imgCnt
int m_row
int m_col
int m_cel
const bool m_bOpenDocument

Detailed Description

Class to handle the content stream

Constructor & Destructor Documentation

OpenWriter_ContentStream_Listener::OpenWriter_ContentStream_Listener ( IE_Imp_OpenWriter importer,
OpenWriter_StylesStream_Listener pSSListener,
bool  bOpenDocument 
) [inline]
virtual OpenWriter_ContentStream_Listener::~OpenWriter_ContentStream_Listener (  )  [inline, virtual]

Member Function Documentation

void OpenWriter_ContentStream_Listener::_closeCell ( void   )  [inline, private]
void OpenWriter_ContentStream_Listener::_closeColumn (  )  [inline, private]

References m_col.

Referenced by endElement().

void OpenWriter_ContentStream_Listener::_closeRow ( void   )  [inline, private]

References m_col.

Referenced by endElement().

void OpenWriter_ContentStream_Listener::_closeTable ( void   )  [inline, private]
void OpenWriter_ContentStream_Listener::_defineSimpleStyle ( const gchar **  props  )  [inline, private]
void OpenWriter_ContentStream_Listener::_flush ( void   )  [inline, private]
void OpenWriter_ContentStream_Listener::_insertBookmark ( const gchar *  name,
const gchar *  type 
) [inline, private]
void OpenWriter_ContentStream_Listener::_insureInBlock ( const gchar **  atts  )  [inline, private]
void OpenWriter_ContentStream_Listener::_insureInSection ( const gchar *  props  )  [inline, private]
const gchar* OpenWriter_ContentStream_Listener::_mapStyle ( const gchar *  name  )  const [inline, private]
const OO_Style* OpenWriter_ContentStream_Listener::_mapStyleObj ( const gchar *  name,
UT_UTF8String oo_sty 
) const [inline, private]
void OpenWriter_ContentStream_Listener::_openCell ( const gchar **   )  [inline, private]
void OpenWriter_ContentStream_Listener::_openColumn ( const gchar **   )  [inline, private]

References m_col.

Referenced by startElement().

void OpenWriter_ContentStream_Listener::_openRow ( const gchar **   )  [inline, private]

References m_cel, and m_row.

Referenced by startElement().

void OpenWriter_ContentStream_Listener::_openTable ( const gchar **   )  [inline, private]
void OpenWriter_ContentStream_Listener::_popInlineFmt ( void   )  [inline, private]
bool OpenWriter_ContentStream_Listener::_pushInlineFmt ( const gchar **  atts  )  [inline, private]
virtual void OpenWriter_ContentStream_Listener::charData ( const gchar *  buffer,
int  length 
) [inline, virtual]

Implements UT_XML::Listener.

References m_bAcceptingText, m_bInTOC, and m_charData.

virtual void OpenWriter_ContentStream_Listener::endElement ( const gchar *  name  )  [inline, virtual]

Member Data Documentation

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