Public Member Functions | Protected Member Functions | Private Attributes

IE_Imp_AbiWord_1 Class Reference

#include <ie_imp_AbiWord_1.h>

Inheritance diagram for IE_Imp_AbiWord_1:
IE_Imp_XML IE_Imp UT_XML::Listener

List of all members.

Public Member Functions

 IE_Imp_AbiWord_1 (PD_Document *pDocument)
virtual ~IE_Imp_AbiWord_1 ()
void startElement (const gchar *name, const gchar **atts)
void endElement (const gchar *name)
virtual bool supportsLoadStylesOnly ()

Protected Member Functions

const gchar * _getDataItemName (const gchar **atts)
const gchar * _getDataItemMimeType (const gchar **atts)
bool _getDataItemEncoded (const gchar **atts)
bool _handleImage (const gchar **atts)
bool _handleResource (const gchar **atts, bool isResource)

Private Attributes

std::list< std::string > xmlidStackForTextMeta
std::map< std::string,
std::string > 
xmlidMapForBookmarks
bool m_bWroteSection
bool m_bWroteParagraph
bool m_bDocHasLists
bool m_bDocHasPageSize
UT_uint32 m_iInlineStart
UT_GenericStringMap
< UT_UTF8String * > * 
m_refMap
bool m_bAutoRevisioning
bool m_bInMath
bool m_bInEmbed
UT_uint32 m_iImageId

Constructor & Destructor Documentation

IE_Imp_AbiWord_1::IE_Imp_AbiWord_1 ( PD_Document pDocument  ) 

Member Function Documentation

bool IE_Imp_AbiWord_1::_getDataItemEncoded ( const gchar **  atts  )  [protected]

References IE_Imp_XML::_getXMLPropValue(), and gchar.

Referenced by startElement().

const gchar * IE_Imp_AbiWord_1::_getDataItemMimeType ( const gchar **  atts  )  [protected]

References IE_Imp_XML::_getXMLPropValue(), and gchar.

Referenced by startElement().

const gchar * IE_Imp_AbiWord_1::_getDataItemName ( const gchar **  atts  )  [protected]

References IE_Imp_XML::_getXMLPropValue().

Referenced by startElement().

void IE_Imp_AbiWord_1::endElement ( const gchar *  name  )  [virtual]

Reimplemented from IE_Imp_XML.

References IE_Imp_XML::_getInlineDepth(), IE_Imp_XML::_mapNameToToken(), IE_Imp_XML::_popInlineFmt(), IE_Imp_XML::_PS_Author, IE_Imp_XML::_PS_AuthorSec, IE_Imp_XML::_PS_Block, IE_Imp_XML::_PS_DataItem, IE_Imp_XML::_PS_DataSec, IE_Imp_XML::_PS_Doc, IE_Imp_XML::_PS_Field, IE_Imp_XML::_PS_HistorySec, IE_Imp_XML::_PS_IgnoredWordsItem, IE_Imp_XML::_PS_IgnoredWordsSec, IE_Imp_XML::_PS_List, IE_Imp_XML::_PS_ListSec, IE_Imp_XML::_PS_Meta, IE_Imp_XML::_PS_MetaData, IE_Imp_XML::_PS_PageSize, IE_Imp_XML::_PS_RDFData, IE_Imp_XML::_PS_RDFTriple, IE_Imp_XML::_PS_Revision, IE_Imp_XML::_PS_RevisionSec, IE_Imp_XML::_PS_Sec, IE_Imp_XML::_PS_Style, IE_Imp_XML::_PS_StyleSec, IE_Imp_XML::_PS_Version, IE_Imp::appendFmt(), IE_Imp::appendObject(), IE_Imp::appendStrux(), UT_ByteBuf::del(), FREEP, gchar, IE_Imp::getDoc(), UT_ByteBuf::getLength(), IE_Imp::getLoadStylesOnly(), IE_Imp_XML::getOperationCount(), UT_ByteBuf::getPointer(), UT_UniqueId::Image, IE_Imp::isClipboard(), m_bAutoRevisioning, m_bDocHasLists, m_bInEmbed, m_bInMath, m_bWroteSection, IE_Imp_XML::m_currentDataItem, IE_Imp_XML::m_currentDataItemEncoded, IE_Imp_XML::m_currentDataItemMimeType, IE_Imp_XML::m_currentDataItemName, IE_Imp_XML::m_currentRevisionId, IE_Imp_XML::m_currentRevisionTime, IE_Imp_XML::m_currentRevisionVersion, m_iImageId, m_iInlineStart, IE_Imp_XML::m_lenCharDataSeen, IE_Imp_XML::m_parseState, IE_Imp_XML::m_rdfMutation, IE_Imp_XML::m_vecInlineFmt, MyIsWhite, PTO_Annotation, PTO_Hyperlink, PTO_RDFAnchor, PTX_EndAnnotation, PTX_EndCell, PTX_EndEndnote, PTX_EndFootnote, PTX_EndFrame, PTX_EndTable, PTX_EndTOC, PD_Document::setAutoRevisioning(), PD_Document::setMinUID(), IE_Imp_XML::stopParser(), TokenTableSize, UT_ByteBuf::truncate(), TT_ANN, TT_ANNOTATE, TT_AUTHOR, TT_AUTHORSECTION, TT_BLOCK, TT_BOOKMARK, TT_BREAK, TT_CELL, TT_COLBREAK, TT_DATAITEM, TT_DATASECTION, TT_DOCUMENT, TT_EMBED, TT_ENDNOTE, TT_FIELD, TT_FOOTNOTE, TT_FRAME, TT_HISTORYSECTION, TT_HYPERLINK, TT_IGNOREDWORD, TT_IGNOREDWORDS, TT_IMAGE, TT_INLINE, TT_LIST, TT_LISTSECTION, TT_MATH, TT_META, TT_METADATA, TT_OTHER, TT_PAGEBREAK, TT_PAGESIZE, TT_RDFBLOCK, TT_RDFTRIPLE, TT_RESOURCE, TT_REVISION, TT_REVISIONSECTION, TT_SECTION, TT_STYLE, TT_STYLESECTION, TT_TABLE, TT_TEXTMETA, TT_TOC, TT_VERSION, UT_ASSERT_HARMLESS, UT_DEBUGMSG, X_CheckDocument, X_CheckError, X_EatIfAlreadyError, X_VerifyInsideBlockOrField, X_VerifyParseState, xmlidStackForTextMeta, and xxx_UT_DEBUGMSG.

void IE_Imp_AbiWord_1::startElement ( const gchar *  name,
const gchar **  atts 
) [virtual]

Reimplemented from IE_Imp_XML.

References _getDataItemEncoded(), _getDataItemMimeType(), _getDataItemName(), IE_Imp_XML::_getXMLPropValue(), _handleImage(), _handleResource(), IE_Imp_XML::_mapNameToToken(), IE_Imp_XML::_PS_AuthorSec, IE_Imp_XML::_PS_Block, IE_Imp_XML::_PS_DataSec, IE_Imp_XML::_PS_Doc, IE_Imp_XML::_PS_Field, IE_Imp_XML::_PS_HistorySec, IE_Imp_XML::_PS_IgnoredWordsSec, IE_Imp_XML::_PS_Init, IE_Imp_XML::_PS_ListSec, IE_Imp_XML::_PS_MetaData, IE_Imp_XML::_PS_RDFData, IE_Imp_XML::_PS_RevisionSec, IE_Imp_XML::_PS_Sec, IE_Imp_XML::_PS_StyleSec, IE_Imp_XML::_pushInlineFmt(), PD_Style::addAttributes(), PD_Document::addAuthor(), AD_Document::addRecordToHistory(), UT_UniqueId::Annotation, IE_Imp::appendFmt(), IE_Imp::appendObject(), IE_Imp::appendSpan(), IE_Imp::appendStrux(), PD_Document::changeStruxAttsNoUpdate(), UT_UniqueId::Endnote, UT_UniqueId::Footnote, FREEP, gchar, pp_Author::getAttrProp(), PD_Style::getBasedOn(), IE_Imp::getDoc(), PD_Document::getDocumentRDF(), PD_Style::getFollowedBy(), PD_Document::getLastSectionMutableSDH(), IE_Imp::getLoadDocProps(), IE_Imp::getLoadStylesOnly(), IE_Imp_XML::getOperationCount(), UT_UniqueId::HeaderFtr, UT_UniqueId::Image, IE_Imp::isClipboard(), UT_UniqueId::List, m_bAutoRevisioning, m_bDocHasLists, m_bDocHasPageSize, m_bInEmbed, m_bInMath, m_bWroteParagraph, m_bWroteSection, IE_Imp_XML::m_currentDataItem, IE_Imp_XML::m_currentDataItemEncoded, IE_Imp_XML::m_currentDataItemMimeType, IE_Imp_XML::m_currentDataItemName, IE_Imp_XML::m_currentMetaDataName, IE_Imp_XML::m_currentRevisionId, IE_Imp_XML::m_currentRevisionTime, IE_Imp_XML::m_currentRevisionVersion, IE_Imp_XML::m_error, m_iImageId, m_iInlineStart, IE_Imp_XML::m_parseState, IE_Imp_XML::m_rdfMutation, IE_Imp_XML::m_rdfObjectType, IE_Imp_XML::m_rdfPredicate, IE_Imp_XML::m_rdfSubject, IE_Imp_XML::m_rdfXSDType, IE_Imp_XML::m_vecInlineFmt, PD_MAX_REVISION, PT_ID_ATTRIBUTE_NAME, PT_NAME_ATTRIBUTE_NAME, PT_PROPS_ATTRIBUTE_NAME, PTO_Annotation, PTO_Bookmark, PTO_Embed, PTO_Field, PTO_Hyperlink, PTO_Image, PTO_Math, PTO_RDFAnchor, PTX_Block, PTX_Section, PTX_SectionAnnotation, PTX_SectionCell, PTX_SectionEndnote, PTX_SectionFootnote, PTX_SectionFrame, PTX_SectionTable, PTX_SectionTOC, PP_AttrProp::setAttributes(), AD_Document::setDocUUID(), AD_Document::setDocVersion(), AD_Document::setEditTime(), AD_Document::setLastSavedTime(), PD_Document::setMarkRevisions(), PD_Document::setMinUID(), AD_Document::setShowRevisionId(), AD_Document::setShowRevisions(), szName, TokenTableSize, UT_ByteBuf::truncate(), TT_ANN, TT_ANNOTATE, TT_AUTHOR, TT_AUTHORSECTION, TT_BLOCK, TT_BOOKMARK, TT_BREAK, TT_CELL, TT_COLBREAK, TT_DATAITEM, TT_DATASECTION, TT_DOCUMENT, TT_EMBED, TT_ENDNOTE, TT_FIELD, TT_FOOTNOTE, TT_FRAME, TT_HISTORYSECTION, TT_HYPERLINK, TT_IGNOREDWORD, TT_IGNOREDWORDS, TT_IMAGE, TT_INLINE, TT_LIST, TT_LISTSECTION, TT_MATH, TT_META, TT_METADATA, TT_OTHER, TT_PAGEBREAK, TT_PAGESIZE, TT_RDFBLOCK, TT_RDFTRIPLE, TT_RESOURCE, TT_REVISION, TT_REVISIONSECTION, TT_SECTION, TT_STYLE, TT_STYLESECTION, TT_TABLE, TT_TEXTMETA, TT_TOC, TT_VERSION, type, UT_ASSERT, UT_ASSERT_HARMLESS, UT_ASSERT_NOT_REACHED, UT_cloneAndDecodeAttributes(), UT_DEBUGMSG, UT_getAttribute(), UT_SHOULD_NOT_HAPPEN, v, PD_Document::verifySectionID(), X_CheckError, X_EatIfAlreadyError, X_TestParseState, X_VerifyParseState, xmlidMapForBookmarks, xmlidStackForTextMeta, and xxx_UT_DEBUGMSG.

virtual bool IE_Imp_AbiWord_1::supportsLoadStylesOnly (  )  [inline, virtual]

Member Data Documentation

Referenced by endElement(), and startElement().

Referenced by startElement().

Referenced by endElement(), and startElement().

Referenced by endElement(), and startElement().

std::map< std::string, std::string > IE_Imp_AbiWord_1::xmlidMapForBookmarks [private]

Referenced by startElement().

std::list< std::string > IE_Imp_AbiWord_1::xmlidStackForTextMeta [private]

Referenced by endElement(), and startElement().


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