Public Member Functions | Protected Member Functions | Protected Attributes

s_HRText_Listener Class Reference

Inheritance diagram for s_HRText_Listener:
PL_Listener

List of all members.

Public Member Functions

 s_HRText_Listener (PD_Document *pDocument, IE_Exp_HRText *pie)
virtual ~s_HRText_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)

Protected Member Functions

void _closeSection (void)
void _closeTag (void)
void _closeSpan (void)
void _openTag (PT_AttrPropIndex api)
void _openSection (PT_AttrPropIndex api)
void _openSpan (PT_AttrPropIndex api)
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)

Protected Attributes

PD_Documentm_pDocument
IE_Exp_HRTextm_pie
bool m_bInSection
bool m_bInBlock
bool m_bInSpan
bool m_bNextIsSpace
bool m_bInList
const PP_AttrPropm_pAP_Span
char m_iDecoration
UT_uint16 m_iBlockType
UT_uint16 m_iListDepth
UT_Wctomb m_wctomb
UT_StringPtrMapm_pList

Constructor & Destructor Documentation

s_HRText_Listener::s_HRText_Listener ( PD_Document pDocument,
IE_Exp_HRText pie 
)

Member Function Documentation

void s_HRText_Listener::_closeSection ( void   )  [protected]

References m_bInSection.

Referenced by populateStrux(), and ~s_HRText_Listener().

void s_HRText_Listener::_closeSpan ( void   )  [protected]
void s_HRText_Listener::_closeTag ( void   )  [protected]

References m_bInBlock, m_pie, and IE_Exp::write().

Referenced by populateStrux(), and ~s_HRText_Listener().

void s_HRText_Listener::_convertColor ( char *  szDest,
const char *  pszColor 
) [protected]
void s_HRText_Listener::_convertFontSize ( char *  szDest,
const char *  pszFontSize 
) [protected]
void s_HRText_Listener::_handleDataItems ( void   )  [protected]

Referenced by ~s_HRText_Listener().

void s_HRText_Listener::_openSection ( PT_AttrPropIndex  api  )  [protected]

References m_pie, and IE_Exp::write().

Referenced by populateStrux().

void s_HRText_Listener::_outputData ( const UT_UCSChar p,
UT_uint32  length 
) [protected]
bool s_HRText_Listener::change ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr 
) [virtual]

Implements PL_Listener.

References UT_ASSERT.

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

Implements PL_Listener.

References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.


Member Data Documentation

bool s_HRText_Listener::m_bInList [protected]

Referenced by s_HRText_Listener().

Referenced by s_HRText_Listener().

Referenced by _closeSpan(), and _openSpan().


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