Public Member Functions | Private Member Functions | Private Attributes

IE_Exp_OpenXML_Listener Class Reference

Class responsible for listening to the Abiword Document. More...

#include <ie_exp_OpenXML_Listener.h>

Inheritance diagram for IE_Exp_OpenXML_Listener:
PL_Listener

List of all members.

Public Member Functions

 IE_Exp_OpenXML_Listener (PD_Document *doc)
 IE_Exp_OpenXML_Listener Class responsible for listening to the Abiword Document.
 ~IE_Exp_OpenXML_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 *sdhNew, PL_ListenerId lid, void(*pfnBindHandles)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew))
virtual bool signal (UT_uint32 iSignal)
OXML_DocumentgetDocument ()

Private Member Functions

UT_Error addDocumentStyles ()
UT_Error addLists ()
UT_Error addImages ()
UT_Error setPageSize ()
std::string getNextId ()

Private Attributes

PD_Documentpdoc
ie_Table tableHelper
OXML_Documentdocument
OXML_Sectionsection
OXML_SectionsavedSection
OXML_Element_Paragraphparagraph
OXML_Element_ParagraphsavedParagraph
std::stack< OXML_Element_Table * > m_tableStack
std::stack< OXML_Element_Row * > m_rowStack
std::stack
< OXML_SharedElement_Cell
m_cellStack
OXML_Element_Hyperlinkhyperlink
OXML_Element_TextBoxtextbox
bool bInPositionedImage
bool bInHyperlink
bool bInTextbox
int idCount

Detailed Description

Class responsible for listening to the Abiword Document.


Constructor & Destructor Documentation

IE_Exp_OpenXML_Listener::IE_Exp_OpenXML_Listener ( PD_Document doc  ) 
IE_Exp_OpenXML_Listener::~IE_Exp_OpenXML_Listener (  ) 

Member Function Documentation

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

Implements PL_Listener.

OXML_Document * IE_Exp_OpenXML_Listener::getDocument ( void   ) 

References document.

Referenced by IE_Exp_OpenXML::_writeDocument().

std::string IE_Exp_OpenXML_Listener::getNextId (  )  [private]

References idCount.

Referenced by populate(), and populateStrux().

virtual bool IE_Exp_OpenXML_Listener::insertStrux ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr,
pf_Frag_Strux sdhNew,
PL_ListenerId  lid,
void(*)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew)  pfnBindHandles 
) [virtual]

Implements PL_Listener.

bool IE_Exp_OpenXML_Listener::populateStrux ( pf_Frag_Strux sdh,
const PX_ChangeRecord pcr,
fl_ContainerLayout **  psfh 
) [virtual]

Implements PL_Listener.

References OXML_Document::addEndnote(), OXML_Document::addFooter(), OXML_Document::addFootnote(), OXML_Document::addHeader(), OXML_Element::appendElement(), OXML_Section::appendElement(), OXML_Document::appendSection(), bInPositionedImage, bInTextbox, ie_Table::closeCell(), ie_Table::closeTable(), document, gchar, PP_AttrProp::getAttribute(), PP_AttrProp::getAttributeCount(), PD_Document::getAttrProp(), ie_Table::getBot(), PX_ChangeRecord::getIndexAP(), ie_Table::getLeft(), getNextId(), PP_AttrProp::getNthAttribute(), PP_AttrProp::getNthProperty(), ie_Table::getNumCols(), PP_AttrProp::getProperty(), PP_AttrProp::getPropertyCount(), ie_Table::getRight(), PX_ChangeRecord_Strux::getStruxType(), ie_Table::getTop(), PX_ChangeRecord::getType(), ie_Table::isNewRow(), m_cellStack, m_rowStack, m_tableStack, ie_Table::openCell(), ie_Table::openTable(), paragraph, pdoc, PTX_Block, PTX_EndAnnotation, PTX_EndCell, PTX_EndEndnote, PTX_EndFootnote, PTX_EndFrame, PTX_EndMarginnote, PTX_EndTable, PTX_EndTOC, PTX_Section, PTX_SectionAnnotation, PTX_SectionCell, PTX_SectionEndnote, PTX_SectionFootnote, PTX_SectionFrame, PTX_SectionHdrFtr, PTX_SectionMarginnote, PTX_SectionTable, PTX_SectionTOC, savedParagraph, savedSection, section, OXML_ObjectWithAttrProp::setAttribute(), OXML_Element_Row::setNumCols(), OXML_ObjectWithAttrProp::setProperty(), OXML_Section::setTarget(), szName, tableHelper, TARGET_DOCUMENT, TARGET_ENDNOTE, TARGET_FOOTER, TARGET_FOOTNOTE, TARGET_HEADER, and UT_DEBUGMSG.

bool IE_Exp_OpenXML_Listener::signal ( UT_uint32  iSignal  )  [virtual]

Implements PL_Listener.


Member Data Documentation

Referenced by populate().

Referenced by getNextId().


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