Public Member Functions | Protected Member Functions | Protected Attributes

s_Applix_Listener Class Reference

Inheritance diagram for s_Applix_Listener:
PL_Listener

List of all members.

Public Member Functions

 s_Applix_Listener (PD_Document *pDocument, IE_Exp_Applix *pie)
virtual ~s_Applix_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 _closeBlock (void)
void _outputData (const UT_UCSChar *p, UT_uint32 length)
void _write (const char *)
void _write (const char *src, int len)
void _writeln (const char *)
void _openTag (const char *)
void _closeTag (void)
void _flush (void)
void _openParagraph (PT_AttrPropIndex api)
void _openSpan (PT_AttrPropIndex api)
void _closeSpan (PT_AttrPropIndex api)
void _writePreamble (void)
void _writePostamble (void)
void _resetBuffer (void)

Protected Attributes

PD_Documentm_pDocument
IE_Exp_Applixm_pie
bool m_bInBlock
char m_buf [APPLIX_LINE+1]
int m_pos
bool m_bInSpan

Constructor & Destructor Documentation

s_Applix_Listener::s_Applix_Listener ( PD_Document pDocument,
IE_Exp_Applix pie 
)
s_Applix_Listener::~s_Applix_Listener (  )  [virtual]

Member Function Documentation

void s_Applix_Listener::_closeBlock ( void   )  [protected]

References m_bInBlock.

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

void s_Applix_Listener::_closeSpan ( PT_AttrPropIndex  api  )  [protected]

References _closeTag(), _write(), and m_bInSpan.

Referenced by populate().

void s_Applix_Listener::_closeTag ( void   )  [protected]

References _writeln().

Referenced by _closeSpan(), and _openParagraph().

void s_Applix_Listener::_flush ( void   )  [protected]

References _resetBuffer(), m_buf, m_pie, m_pos, and IE_Exp::write().

Referenced by _write(), and ~s_Applix_Listener().

void s_Applix_Listener::_openParagraph ( PT_AttrPropIndex  api  )  [protected]

References _closeTag(), and _openTag().

Referenced by populateStrux().

void s_Applix_Listener::_openSpan ( PT_AttrPropIndex  api  )  [protected]

References _openTag(), _write(), and m_bInSpan.

Referenced by populate().

void s_Applix_Listener::_openTag ( const char *  tag  )  [protected]

References _write().

Referenced by _openParagraph(), and _openSpan().

void s_Applix_Listener::_resetBuffer ( void   )  [protected]

References m_buf, and m_pos.

Referenced by _flush(), and s_Applix_Listener().

void s_Applix_Listener::_write ( const char *  src,
int  len 
) [protected]
void s_Applix_Listener::_write ( const char *  src  )  [protected]
void s_Applix_Listener::_writeln ( const char *  src  )  [protected]

References _write().

Referenced by _closeTag(), _writePostamble(), and _writePreamble().

void s_Applix_Listener::_writePostamble ( void   )  [protected]

References _writeln().

Referenced by ~s_Applix_Listener().

void s_Applix_Listener::_writePreamble ( void   )  [protected]

References _write(), and _writeln().

Referenced by s_Applix_Listener().

bool s_Applix_Listener::change ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr 
) [virtual]

Implements PL_Listener.

References UT_ASSERT.

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

Implements PL_Listener.

References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.


Member Data Documentation

char s_Applix_Listener::m_buf[APPLIX_LINE+1] [protected]

Referenced by _flush(), _resetBuffer(), and _write().

int s_Applix_Listener::m_pos [protected]

Referenced by _flush(), _resetBuffer(), and _write().


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