Public Member Functions | Protected Member Functions | Private Attributes

Passepartout_Listener Class Reference

Inheritance diagram for Passepartout_Listener:
PL_Listener

List of all members.

Public Member Functions

 Passepartout_Listener (PD_Document *pDocument, IE_Exp_Passepartout *pie)
virtual ~Passepartout_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

virtual void _outputData (const UT_UCSChar *p, UT_uint32 length)
void _closeBlock (void)
void _openBlock (PT_AttrPropIndex api)
void _closeFont (void)
void _openFont (PT_AttrPropIndex api)

Private Attributes

PD_Documentm_pDocument
IE_Exp_Passepartoutm_pie
bool m_bInBlock
bool m_inFont
bool m_inParagraph
bool m_bWasSpace

Constructor & Destructor Documentation

Passepartout_Listener::~Passepartout_Listener (  )  [virtual]

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


Member Function Documentation

void Passepartout_Listener::_closeBlock ( void   )  [protected]
void Passepartout_Listener::_closeFont ( void   )  [protected]

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

Referenced by _closeBlock(), _openFont(), and populate().

void Passepartout_Listener::_outputData ( const UT_UCSChar data,
UT_uint32  length 
) [protected, virtual]

Output text buffer to stream

Parameters:
data Buffer to output
length Size of buffer

References UT_UTF8String::appendUCS4(), UT_UTF8String::byteLength(), m_bInBlock, m_bWasSpace, m_pie, UT_UTF8String::reserve(), UCS_LF, UT_UTF8String::utf8_str(), and IE_Exp::write().

Referenced by populate().

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

Implements PL_Listener.

References UT_ASSERT_NOT_REACHED.

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

Implements PL_Listener.

References UT_ASSERT_NOT_REACHED.


Member Data Documentation

Referenced by _outputData().


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