Public Member Functions | Protected Member Functions | Private Attributes

s_KWord_1_Listener Class Reference

Inheritance diagram for s_KWord_1_Listener:
PL_Listener

List of all members.

Public Member Functions

 s_KWord_1_Listener (PD_Document *pDocument, IE_Exp_KWord_1 *pie)
virtual ~s_KWord_1_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 _handlePageSize (PT_AttrPropIndex api)
void _handleAttributes (PT_AttrPropIndex api)
void _handleStyles (void)
void _handleDataItems (void)
void _outputData (const UT_UCSChar *data, UT_uint32 length)
void _convertFontSize (UT_String &szDest, const char *szFontSize)
void _convertColor (UT_String &szDest, const char *pszColor)
void _closeSection (void)
void _closeBlock (void)
void _closeSpan (void)
void _openBlock (PT_AttrPropIndex api)
void _openSection (PT_AttrPropIndex api)
void _openSpan (PT_AttrPropIndex api, PT_BlockOffset pos, UT_uint32 len)
void _writeMarginSize (PT_AttrPropIndex api, const char *name)

Private Attributes

PD_Documentm_pDocument
IE_Exp_KWord_1m_pie
bool m_bInSection
bool m_bInBlock
bool m_bInSpan
bool m_bFirstWrite
UT_String m_sFormats
UT_String m_sLayout

Constructor & Destructor Documentation

s_KWord_1_Listener::s_KWord_1_Listener ( PD_Document pDocument,
IE_Exp_KWord_1 pie 
)

References m_pie, and IE_Exp::write().

s_KWord_1_Listener::~s_KWord_1_Listener (  )  [virtual]

Member Function Documentation

void s_KWord_1_Listener::_closeBlock ( void   )  [protected]
void s_KWord_1_Listener::_closeSection ( void   )  [protected]
void s_KWord_1_Listener::_closeSpan ( void   )  [protected]

References m_bInSpan.

Referenced by populate(), populateStrux(), and ~s_KWord_1_Listener().

void s_KWord_1_Listener::_convertColor ( UT_String szDest,
const char *  pszColor 
) [protected]
void s_KWord_1_Listener::_convertFontSize ( UT_String szDest,
const char *  szFontSize 
) [protected]
void s_KWord_1_Listener::_handleAttributes ( PT_AttrPropIndex  api  )  [protected]
void s_KWord_1_Listener::_handleDataItems ( void   )  [protected]
void s_KWord_1_Listener::_handleStyles ( void   )  [protected]

References m_pie, and IE_Exp::write().

Referenced by ~s_KWord_1_Listener().

void s_KWord_1_Listener::_openSection ( PT_AttrPropIndex  api  )  [protected]
void s_KWord_1_Listener::_outputData ( const UT_UCSChar data,
UT_uint32  length 
) [protected]
void s_KWord_1_Listener::_writeMarginSize ( PT_AttrPropIndex  api,
const char *  name 
) [protected]
bool s_KWord_1_Listener::change ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr 
) [virtual]

Implements PL_Listener.

References UT_ASSERT.

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

Implements PL_Listener.

References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.


Member Data Documentation

Referenced by _closeSpan(), and _openSpan().


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