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

s_DocBook_Listener Class Reference

#include <ie_exp_DocBook.h>

Inheritance diagram for s_DocBook_Listener:
PL_Listener

List of all members.

Public Member Functions

 s_DocBook_Listener (PD_Document *pDocument, IE_Exp_DocBook *pie)
virtual ~s_DocBook_Listener ()
virtual bool populate (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr)
virtual bool populateStrux (pf_Frag_Strux *sdh, const PX_ChangeRecord *pcr, fl_ContainerLayout **psfh)
virtual bool change (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr)
virtual bool insertStrux (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr, pf_Frag_Strux *sdh, PL_ListenerId lid, void(*pfnBindHandles)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew))
virtual bool signal (UT_uint32 iSignal)
virtual bool _initFile (void)
virtual void _closeFile (void)

Protected Member Functions

void _tagClose (UT_uint32 tagID, const UT_UTF8String &content, bool newline=true, bool indent=true, bool decrease=true)
void _tagOpen (UT_uint32 tagID, const UT_UTF8String &content, bool newline=true, bool indent=true, bool increase=true)
void _tagOpenClose (const UT_UTF8String &content, bool suppress, bool newline=true, bool indent=true)
UT_uint32 _tagTop (void)
void _closeSection (int sub)
void _closeSectionTitle (void)
void _closeParagraph (void)
void _closeSpan (void)
void _closeList (void)
void _closeChapter (void)
void _closeChapterTitle (void)
void _openParagraph (PT_AttrPropIndex api)
void _openSection (PT_AttrPropIndex api, int, const UT_UTF8String &content)
void _openSectionTitle (void)
void _openSpan (PT_AttrPropIndex api)
void _openChapter (PT_AttrPropIndex api)
void _openChapterTitle (PT_AttrPropIndex api)
void _openList (PT_AttrPropIndex api)
void _openBlock (bool indent)
void _openPlainBlock ()
void _handleDocument (void)
void _handleMetaData (void)
void _handleRevisions (void)
void _handleImage (PT_AttrPropIndex api)
void _handlePositionedImage (PT_AttrPropIndex api)
void _handleMath (PT_AttrPropIndex api)
void _handleEmbedded (PT_AttrPropIndex api)
void _handleField (const PX_ChangeRecord_Object *pcro, PT_AttrPropIndex api)
void _handleTOC (PT_AttrPropIndex api)
void _handleHyperlink (PT_AttrPropIndex api)
void _handleBookmark (PT_AttrPropIndex api)
void _handleHdrFtr (PT_AttrPropIndex api)
void _handleFootnote (PT_AttrPropIndex api)
void _openTable (PT_AttrPropIndex api)
void _openNestedTable ()
void _openCell ()
void _openRow (void)
void _closeNestedTable (void)
void _closeTable (void)
void _closeCell (void)
void _closeRow (void)
bool _decideIndent (void)
bool _inFormattedSpan (void)
bool _inSectionStrux (void)
void _outputData (const UT_UCSChar *p, UT_uint32 length)
void _handleDataItems (void)
void _convertFontSize (char *szDest, const char *pszFontSize)
void _convertColor (char *szDest, const char *pszColor)
const UT_UTF8String _getProps (PT_AttrPropIndex api)

Protected Attributes

PD_Documentm_pDocument
IE_Exp_DocBookm_pie

Private Attributes

bool m_bInParagraph
bool m_bInSection
bool m_bInSpan
bool m_bInChapter
bool m_bInTable
bool m_bInTitle
bool m_bInFrame
bool m_bInHdrFtr
bool m_bInNote
int m_iNestedTable
int m_iTableDepth
int m_iListDepth
int m_iPreviousListDepth
int m_iSectionDepth
int m_iLastClosed
UT_UTF8String m_sLastStyle
UT_UTF8String m_sParentStyle
const PP_AttrPropm_pAP_Span
UT_uint16 m_iBlockType
bool m_bWasSpace
bool m_bExternal
UT_Stack m_utsListStack
UT_NumberStack m_utnsTagStack
UT_Vector m_utvDataIDs
ie_Table mTableHelper

Constructor & Destructor Documentation

s_DocBook_Listener::~s_DocBook_Listener (  )  [virtual]

References m_utvDataIDs, and UT_VECTOR_FREEALL.


Member Function Documentation

void s_DocBook_Listener::_closeCell ( void   )  [protected]
void s_DocBook_Listener::_closeChapter ( void   )  [protected]
void s_DocBook_Listener::_closeChapterTitle ( void   )  [protected]
void s_DocBook_Listener::_closeFile ( void   )  [virtual]
void s_DocBook_Listener::_closeList ( void   )  [protected]
void s_DocBook_Listener::_closeNestedTable ( void   )  [protected]
void s_DocBook_Listener::_closeRow ( void   )  [protected]
void s_DocBook_Listener::_closeSpan ( void   )  [protected]
void s_DocBook_Listener::_closeTable ( void   )  [protected]
void s_DocBook_Listener::_convertColor ( char *  szDest,
const char *  pszColor 
) [protected]
void s_DocBook_Listener::_convertFontSize ( char *  szDest,
const char *  pszFontSize 
) [protected]
bool s_DocBook_Listener::_decideIndent ( void   )  [protected]
const UT_UTF8String s_DocBook_Listener::_getProps ( PT_AttrPropIndex  api  )  [protected]
void s_DocBook_Listener::_handleBookmark ( PT_AttrPropIndex  api  )  [protected]
void s_DocBook_Listener::_handleDocument ( void   )  [protected]
void s_DocBook_Listener::_handleHdrFtr ( PT_AttrPropIndex  api  )  [protected]
void s_DocBook_Listener::_handleHyperlink ( PT_AttrPropIndex  api  )  [protected]
bool s_DocBook_Listener::_inFormattedSpan ( void   )  [protected]

References _tagTop(), TT_EMPHASIS, TT_SUBSCRIPT, and TT_SUPERSCRIPT.

Referenced by _outputData().

bool s_DocBook_Listener::_initFile ( void   )  [virtual]
bool s_DocBook_Listener::_inSectionStrux ( void   )  [protected]

References m_bInFrame, m_bInHdrFtr, m_bInNote, and m_bInTable.

Referenced by _openParagraph().

void s_DocBook_Listener::_openBlock ( bool  indent  )  [protected]
void s_DocBook_Listener::_openChapterTitle ( PT_AttrPropIndex  api  )  [protected]
void s_DocBook_Listener::_openList ( PT_AttrPropIndex  api  )  [protected]

Referenced by _handleField().

void s_DocBook_Listener::_openNestedTable (  )  [protected]
void s_DocBook_Listener::_openPlainBlock (  )  [protected]
void s_DocBook_Listener::_openRow ( void   )  [protected]
void s_DocBook_Listener::_openSectionTitle ( void   )  [protected]

References _tagOpen(), _tagTop(), m_bInTitle, TT_SECTION, and TT_TITLE.

Referenced by _openSection().

void s_DocBook_Listener::_tagOpenClose ( const UT_UTF8String content,
bool  suppress,
bool  newline = true,
bool  indent = true 
) [protected]
bool s_DocBook_Listener::change ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr 
) [virtual]

Implements PL_Listener.

References UT_ASSERT.

virtual bool s_DocBook_Listener::insertStrux ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr,
pf_Frag_Strux sdh,
PL_ListenerId  lid,
void(*)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew)  pfnBindHandles 
) [virtual]

Implements PL_Listener.

bool s_DocBook_Listener::signal ( UT_uint32  iSignal  )  [virtual]

Implements PL_Listener.

References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.


Member Data Documentation

Referenced by _outputData().


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