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:
PL_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, const char *szSuffix, bool bNewLineAfter, PT_AttrPropIndex api, UT_uint32 iXID, bool bIgnoreProperties=false)
void _outputData (const UT_UCSChar *p, UT_uint32 length)
void _outputXMLChar (const gchar *data, UT_uint32 length)
void _outputXMLChar (const std::string &s)
void _outputXMLAttribute (const gchar *key, const gchar *value, UT_uint32 length)
void _outputXMLAttribute (const gchar *key, const std::string &value)
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

PD_Documentm_pDocument
IE_Exp_AbiWord_1m_pie
bool m_bIsTemplate
bool m_bInSection
bool m_bInBlock
bool m_bInSpan
bool m_bInHyperlink
UT_sint32 m_iInTable
UT_sint32 m_iInCell
PT_AttrPropIndex m_apiLastSpan
fd_Fieldm_pCurrentField
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 m_iInCell, m_pie, and IE_Exp::write().

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]

References _closeSpan(), m_pie, UT_DEBUGMSG, and IE_Exp::write().

Referenced by populate().

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 m_iInTable, m_pie, and IE_Exp::write().

Referenced by populateStrux().

void s_AbiWord_1_Listener::_closeTag ( void   )  [protected]

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

Referenced by _closeSpan(), and populate().

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

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

Referenced by populate().

void s_AbiWord_1_Listener::_outputXMLAttribute ( const gchar *  key,
const gchar *  value,
UT_uint32  length 
) [protected]
void s_AbiWord_1_Listener::_outputXMLAttribute ( const gchar *  key,
const std::string &  value 
) [protected]

References _outputXMLAttribute().

void s_AbiWord_1_Listener::_outputXMLChar ( const gchar *  data,
UT_uint32  length 
) [protected]
void s_AbiWord_1_Listener::_outputXMLChar ( const std::string &  s  )  [inline, protected]

References _outputXMLChar().

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

Implements PL_Listener.

References UT_ASSERT_NOT_REACHED.

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.

References UT_ASSERT_NOT_REACHED.

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

References m_pie, and IE_Exp::write().

UT_Error s_AbiWord_1_Listener::write_xml ( void *  context,
const char *  name,
const char *const *  atts 
)
UT_Error s_AbiWord_1_Listener::write_xml ( void *  context,
const char *  name 
)

Member Data Documentation


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