Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes

s_AbiWord_1_Listener Class Reference

Inheritance diagram for s_AbiWord_1_Listener:

List of all members.

Public Member Functions

 s_AbiWord_1_Listener (PD_Document *pDocument, IE_Exp_AbiWord_1 *pie, bool isTemplate)
virtual ~s_AbiWord_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)
UT_Error write_base64 (void *context, const char *base64, UT_uint32 length, bool final)
UT_Error write_xml (void *context, const char *name, const char *const *atts)
UT_Error write_xml (void *context, const char *name)

Protected Member Functions

void _closeTable (void)
void _closeCell (void)
void _closeSection (void)
void _closeBlock (void)
void _closeSpan (void)
void _closeField (void)
void _closeHyperlink (void)
void _closeAnnotation (void)
void _closeRDFAnchor (void)
void _closeTag (void)
void _openSpan (PT_AttrPropIndex apiSpan)
void _openTag (const char *szPrefix, bool bHasContent, PT_AttrPropIndex api, UT_uint32 iXID, bool bIgnoreProperties=false)
void _handleStyles (void)
void _handleLists (void)
void _handlePageSize (void)
void _handleDataItems (void)
void _handleMetaData (void)
void _handleRDF (void)
void _handleRevisions (void)
void _handleHistory (void)
void _handleAuthors (void)

Protected Attributes

bool m_bIsTemplate
bool m_bInSection
bool m_bInBlock
bool m_bInSpan
bool m_bInHyperlink
UT_sint32 m_iInTable
UT_sint32 m_iInCell
UT_sint32 m_iBlockLevel
PT_AttrPropIndex m_apiLastSpan
bool m_bOpenChar
UT_GenericVector< UT_UTF8String * > m_vecSnapNames
bool m_bInAnnotation

Private Types

typedef std::set< std::string > string_set

Private Member Functions

const gchar * getObjectKey (const PT_AttrPropIndex &api, const gchar *key)

Private Attributes

string_set m_pUsedImages

Member Typedef Documentation

typedef std::set<std::string> s_AbiWord_1_Listener::string_set [private]

Constructor & Destructor Documentation

Member Function Documentation

void s_AbiWord_1_Listener::_closeAnnotation ( void   )  [protected]
void s_AbiWord_1_Listener::_closeBlock ( void   )  [protected]
void s_AbiWord_1_Listener::_closeCell ( void   )  [protected]

References IE_Exp_XML::endElement(), m_iInCell, and m_pie.

Referenced by populateStrux().

void s_AbiWord_1_Listener::_closeField ( void   )  [protected]
void s_AbiWord_1_Listener::_closeHyperlink ( void   )  [protected]
void s_AbiWord_1_Listener::_closeRDFAnchor ( void   )  [protected]
void s_AbiWord_1_Listener::_closeSection ( void   )  [protected]
void s_AbiWord_1_Listener::_closeSpan ( void   )  [protected]
void s_AbiWord_1_Listener::_closeTable ( void   )  [protected]

References IE_Exp_XML::endElement(), m_iInTable, and m_pie.

Referenced by populateStrux().

void s_AbiWord_1_Listener::_closeTag ( void   )  [protected]

References IE_Exp_XML::endElement(), m_bOpenChar, and m_pie.

Referenced by _closeSpan(), and populate().

void s_AbiWord_1_Listener::_openSpan ( PT_AttrPropIndex  apiSpan  )  [protected]

References _closeSpan(), _openTag(), m_apiLastSpan, and m_bInSpan.

Referenced by populate().

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

Implements PL_Listener.


const gchar * s_AbiWord_1_Listener::getObjectKey ( const PT_AttrPropIndex api,
const gchar *  key 
) [private]
virtual bool s_AbiWord_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_AbiWord_1_Listener::signal ( UT_uint32  iSignal  )  [virtual]

Implements PL_Listener.


UT_Error s_AbiWord_1_Listener::write_base64 ( void *  context,
const char *  base64,
UT_uint32  length,
bool  final 
UT_Error s_AbiWord_1_Listener::write_xml ( void *  context,
const char *  name 
UT_Error s_AbiWord_1_Listener::write_xml ( void *  context,
const char *  name,
const char *const *  atts 

Member Data Documentation

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