Public Member Functions | Private Member Functions | Private Attributes

TOC_Listener Class Reference

Inheritance diagram for TOC_Listener:

List of all members.

Public Member Functions

 TOC_Listener (PD_Document *pDocument, IE_TOCHelper *toc)
virtual ~TOC_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)

Private Member Functions

void _saveTOCData (const UT_UCSChar *data, UT_uint32 length)
void _commitTOCData ()

Private Attributes

bool mInHeading
UT_UTF8String mHeadingText
int mHeadingLevel
PT_DocPosition mHeadingPos

Constructor & Destructor Documentation

TOC_Listener::TOC_Listener ( PD_Document pDocument,
IE_TOCHelper toc 
TOC_Listener::~TOC_Listener (  )  [virtual]

References _commitTOCData().

Member Function Documentation

void TOC_Listener::_commitTOCData (  )  [private]
void TOC_Listener::_saveTOCData ( const UT_UCSChar data,
UT_uint32  length 
) [private]
bool TOC_Listener::change ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr 
) [virtual]

Implements PL_Listener.


virtual bool TOC_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 TOC_Listener::signal ( UT_uint32  iSignal  )  [virtual]

Implements PL_Listener.


Member Data Documentation

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