It parses the regular content of a text document. More...
#include <ODi_TextContent_ListenerState.h>
Public Member Functions | |
ODi_TextContent_ListenerState (PD_Document *pDocument, ODi_Office_Styles *pStyles, ODi_ElementStack &rElementStack, ODi_Abi_Data &rAbiData) | |
Constructor. | |
virtual | ~ODi_TextContent_ListenerState () |
Destructor. | |
void | startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction) |
Called when the XML parser finds a start element tag. | |
void | endElement (const gchar *pName, ODi_ListenerStateAction &rAction) |
Called when an "end of element" tag is parsed (like <myElementName>). | |
void | charData (const gchar *pBuffer, int length) |
Private Types | |
enum | ODi_CurrentODSection { ODI_SECTION_NONE, ODI_SECTION_MAPPED, ODI_SECTION_IGNORED, ODI_SECTION_UNDEFINED } |
Private Member Functions | |
void | _insertBookmark (const gchar *name, const gchar *type, const gchar *xmlid=0) |
void | _flush () |
void | _startParagraphElement (const gchar *pName, const gchar **ppParagraphAtts, ODi_ListenerStateAction &rAction) |
Process <text:p> and <text:h> startElement calls. | |
void | _endParagraphElement (const gchar *pName, ODi_ListenerStateAction &rAction) |
bool | _pushInlineFmt (const PP_PropertyVector &ppAtts) |
void | _popInlineFmt (void) |
void | _insureInBlock (const PP_PropertyVector &atts) |
void | _insureInSection (const std::string *pMasterPageName=NULL) |
Makes sure that an AbiWord section have already been created. | |
void | _openAbiSection (const std::string &rProps, const std::string *pMasterPageName=NULL) |
Tries to open an abi <section> given its properties. | |
void | _defineAbiTOCHeadingStyles () |
Defines all toc-source-style* propeties on Abi TOCs (<toc> struxs). | |
void | _flushPendingParagraphBreak () |
For some reason AbiWord can't have a page break right before a new section. | |
void | _insertAnnotation (void) |
Inserts an <annotate> element into the document before inserting a paragraph or list item. | |
Private Attributes | |
PD_Document * | m_pAbiDocument |
ODi_Office_Styles * | m_pStyles |
bool | m_bAcceptingText |
bool | m_bOpenedBlock |
bool | m_inAbiSection |
bool | m_openedFirstAbiSection |
bool | m_bPendingSection |
std::string | m_currentPageMarginLeft |
std::string | m_currentPageMarginRight |
std::string | m_pendingParagraphBreak |
enum ODi_TextContent_ListenerState::ODi_CurrentODSection | m_currentODSection |
PP_PropertyVector | m_vecInlineFmt |
UT_NumberStack | m_stackFmtStartIndex |
UT_sint8 | m_elementParsingLevel |
UT_UCS4String | m_charData |
UT_GenericVector< pf_Frag_Strux * > | m_tablesOfContent |
In OpenDocument, <text:h> elements along the text defines the document chapter's structure. | |
UT_GenericVector< std::string * > | m_tablesOfContentProps |
std::map< std::string, std::string > | m_headingStyles |
ODi_TableOfContent_ListenerState * | m_pCurrentTOCParser |
bool | m_bOnContentStream |
ODi_Style_List * | m_pCurrentListStyle |
UT_uint8 | m_listLevel |
bool | m_alreadyDefinedAbiParagraphForList |
bool | m_bPendingNoteCitation |
bool | m_pendingNoteAnchorInsertion |
std::string | m_currentNoteId |
std::string | m_noteCitation |
bool | m_bPendingAnnotation |
bool | m_bPendingAnnotationAuthor |
bool | m_bPendingAnnotationDate |
UT_uint32 | m_iAnnotation |
std::string | m_sAnnotationAuthor |
std::string | m_sAnnotationDate |
std::string | m_sAnnotationName |
std::string | m_sAnnotationXMLID |
std::set< std::string > | m_openAnnotationNames |
std::list< std::string > | xmlidStackForTextMeta |
std::map< std::string, std::string > | xmlidMapForBookmarks |
bool | m_bPageReferencePending |
UT_sint32 | m_iPageNum |
double | m_dXpos |
double | m_dYpos |
std::string | m_sProps |
ODi_Abi_Data & | m_rAbiData |
bool | m_bPendingTextbox |
bool | m_bHeadingList |
UT_sint32 | m_prevLevel |
bool | m_bContentWritten |
UT_uint32 | m_columnsCount |
UT_uint32 | m_columnIndex |
It parses the regular content of a text document.
It is used to parse the document text body itself (<office:text>) and the contents of headers (<style:header>) and footers (<style:footer>).
Regular text content may have the following main elements (that is, not mentioning their child elements): <text-h> <text-p> <text-list> <table-table> <text-section> <text-table-of-content> <text-illustration-index> <text-table-index> <text-object-index> <text-user-index> <text-alphabetical-index> <text-bibliography> <text-index-title> <change-marks>
enum ODi_TextContent_ListenerState::ODi_CurrentODSection [private] |
ODi_TextContent_ListenerState::ODi_TextContent_ListenerState | ( | PD_Document * | pDocument, | |
ODi_Office_Styles * | pStyles, | |||
ODi_ElementStack & | rElementStack, | |||
ODi_Abi_Data & | rAbiData | |||
) |
Constructor.
References m_pAbiDocument, m_pStyles, and UT_ASSERT_HARMLESS.
ODi_TextContent_ListenerState::~ODi_TextContent_ListenerState | ( | ) | [virtual] |
Destructor.
References UT_GenericVector< T >::getItemCount(), m_tablesOfContentProps, UT_DEBUGMSG, and UT_VECTOR_PURGEALL.
void ODi_TextContent_ListenerState::_defineAbiTOCHeadingStyles | ( | ) | [private] |
Defines all toc-source-style* propeties on Abi TOCs (<toc> struxs).
References PD_Document::changeStruxAttsNoUpdate(), UT_GenericVector< T >::getItemCount(), m_headingStyles, m_pAbiDocument, m_tablesOfContent, m_tablesOfContentProps, UT_ASSERT, and UT_std_string_sprintf().
Referenced by endElement().
void ODi_TextContent_ListenerState::_endParagraphElement | ( | const gchar * | pName, | |
ODi_ListenerStateAction & | rAction | |||
) | [private] |
References _flush(), ODi_ListenerStateAction::bringUpMostRecentlyPostponedElement(), gchar, ODi_Style_Style::getBreakAfter(), ODi_Office_Styles::getDefaultParagraphStyle(), ODi_Office_Styles::getParagraphStyle(), ODi_ElementStack::getStartTag(), ODi_Office_Styles::getTextStyle(), ODi_ElementStack::hasElement(), m_bAcceptingText, m_bOnContentStream, m_pendingParagraphBreak, m_pStyles, and ODi_ListenerState::m_rElementStack.
Referenced by endElement().
void ODi_TextContent_ListenerState::_flush | ( | void | ) | [private] |
References PD_Document::appendSpan(), UT_UCS4String::clear(), m_bAcceptingText, m_bContentWritten, m_charData, m_pAbiDocument, UT_UCS4String::size(), and UT_UCS4String::ucs4_str().
Referenced by _endParagraphElement(), _startParagraphElement(), endElement(), and startElement().
void ODi_TextContent_ListenerState::_flushPendingParagraphBreak | ( | ) | [private] |
For some reason AbiWord can't have a page break right before a new section.
In AbiWord, if you want to do that you have to first open the new section and then, inside this new section, do the page break.
That's the only reason for the existence of *pending* paragraph (column or page) breaks.
References PD_Document::appendSpan(), PD_Document::appendStrux(), m_bContentWritten, m_bOpenedBlock, m_pAbiDocument, m_pendingParagraphBreak, and PTX_Block.
Referenced by _openAbiSection(), and startElement().
void ODi_TextContent_ListenerState::_insertAnnotation | ( | void | ) | [private] |
Inserts an <annotate> element into the document before inserting a paragraph or list item.
References PD_Document::appendStrux(), d, PD_RDFQuery::executeQuery(), PD_Document::getDocumentRDF(), m_bPendingAnnotation, m_iAnnotation, m_pAbiDocument, m_sAnnotationAuthor, m_sAnnotationDate, m_sAnnotationXMLID, ODc_reorderDate(), PTX_SectionAnnotation, UT_DEBUGMSG, UT_return_if_fail, and UT_std_string_sprintf().
Referenced by endElement(), and startElement().
void ODi_TextContent_ListenerState::_insertBookmark | ( | const gchar * | name, | |
const gchar * | type, | |||
const gchar * | xmlid = 0 | |||
) | [private] |
References PD_Document::appendObject(), m_pAbiDocument, PT_XMLID, PTO_Bookmark, and UT_return_if_fail.
Referenced by startElement().
void ODi_TextContent_ListenerState::_insureInBlock | ( | const PP_PropertyVector & | atts | ) | [private] |
References _insureInSection(), PD_Document::appendStrux(), m_bAcceptingText, m_bOpenedBlock, m_pAbiDocument, and PTX_Block.
Referenced by startElement().
void ODi_TextContent_ListenerState::_insureInSection | ( | const std::string * | pMasterPageName = NULL |
) | [private] |
Makes sure that an AbiWord section have already been created.
Unlike OpenDocument, AbiWord can't have paragraphs without a section to hold them.
pMasterPageName | The name of the master page to be used. i.e.: The name of the master page which will have its properties used in this section. |
References _openAbiSection(), gchar, ODi_Style_Style::getAbiPropsAttrString(), ODi_StartTag::getAttributeValue(), ODi_ElementStack::getClosestElement(), ODi_Office_Styles::getSectionStyle(), m_bOnContentStream, m_bPendingSection, m_columnIndex, m_columnsCount, m_currentODSection, m_inAbiSection, m_pStyles, ODi_ListenerState::m_rElementStack, UT_ASSERT, UT_getAttribute(), and UT_splitPropsToArray().
Referenced by _insureInBlock(), _startParagraphElement(), and startElement().
void ODi_TextContent_ListenerState::_openAbiSection | ( | const std::string & | rProps, | |
const std::string * | pMasterPageName = NULL | |||
) | [private] |
Tries to open an abi <section> given its properties.
pProps | The properties of the abi <section> to be opened. |
References _flushPendingParagraphBreak(), PD_Document::appendStrux(), ODi_Style_MasterPage::getAWEvenFooterSectionID(), ODi_Style_MasterPage::getAWEvenHeaderSectionID(), ODi_Style_MasterPage::getAWFooterSectionID(), ODi_Style_MasterPage::getAWHeaderSectionID(), ODi_Style_PageLayout::getMarginLeft(), ODi_Style_PageLayout::getMarginRight(), ODi_Office_Styles::getMasterPageStyle(), ODi_Style_MasterPage::getPageLayout(), ODi_Style_MasterPage::getSectionDataID(), ODi_Style_MasterPage::getSectionProps(), m_bAcceptingText, m_bOpenedBlock, m_bPendingSection, m_currentPageMarginLeft, m_currentPageMarginRight, m_inAbiSection, m_openedFirstAbiSection, m_pAbiDocument, m_pStyles, PTX_Section, PD_Document::setPageSizeFromFile(), UT_ASSERT, UT_determineDimension(), UT_dimensionName(), and UT_std_string_getPropVal().
Referenced by _insureInSection().
void ODi_TextContent_ListenerState::_popInlineFmt | ( | void | ) | [private] |
References m_stackFmtStartIndex, m_vecInlineFmt, and UT_NumberStack::pop().
Referenced by endElement(), and startElement().
bool ODi_TextContent_ListenerState::_pushInlineFmt | ( | const PP_PropertyVector & | ppAtts | ) | [private] |
References m_stackFmtStartIndex, m_vecInlineFmt, and UT_NumberStack::push().
Referenced by startElement().
void ODi_TextContent_ListenerState::_startParagraphElement | ( | const gchar * | pName, | |
const gchar ** | ppParagraphAtts, | |||
ODi_ListenerStateAction & | rAction | |||
) | [private] |
Process <text:p> and <text:h> startElement calls.
References _flush(), _insureInSection(), PD_Document::appendFmt(), PD_Document::appendObject(), PD_Document::appendSpan(), PD_Document::appendStrux(), gchar, ODi_ListLevelStyle::getAbiListID(), ODi_ListLevelStyle::getAbiListParentID(), ODi_ListLevelStyle::getAbiProperties(), ODi_Style_Style::getAbiPropsAttrString(), ODi_StartTag::getAttributeValue(), ODi_Style_Style::getBreakBefore(), ODi_ElementStack::getClosestElement(), ODi_Office_Styles::getDefaultParagraphStyle(), ODi_Style_Style::getDisplayName(), ODi_Style_List::getLevelStyle(), ODi_Style_Style::getMasterPageName(), ODi_StartTag::getName(), ODi_Office_Styles::getParagraphStyle(), ODi_Style_Style::getParent(), ODi_ElementStack::getStartTag(), ODi_Office_Styles::getTextStyle(), ODi_ElementStack::hasElement(), ODi_Style_Style::isAutomatic(), m_alreadyDefinedAbiParagraphForList, m_bAcceptingText, m_bContentWritten, m_bHeadingList, m_bOnContentStream, m_bOpenedBlock, m_columnIndex, m_columnsCount, m_currentNoteId, m_headingStyles, m_listLevel, m_openedFirstAbiSection, m_pAbiDocument, m_pCurrentListStyle, m_pendingNoteAnchorInsertion, m_prevLevel, m_pStyles, ODi_ListenerState::m_rElementStack, PT_XMLID, PTO_Field, PTX_Block, ODi_Style_List::redefine(), size, UT_ASSERT, UT_ASSERT_HARMLESS, UT_getAttribute(), UT_return_if_fail, UT_SHOULD_NOT_HAPPEN, and xxx_UT_DEBUGMSG.
Referenced by startElement().
void ODi_TextContent_ListenerState::charData | ( | const gchar * | pBuffer, | |
int | length | |||
) | [virtual] |
Implements ODi_ListenerState.
References m_bAcceptingText, m_bContentWritten, m_bPendingAnnotationAuthor, m_bPendingAnnotationDate, m_bPendingNoteCitation, m_charData, m_noteCitation, m_sAnnotationAuthor, m_sAnnotationDate, ODi_textp_compact_two_or_more_spaces(), ODi_textp_fold_whitespace(), ODi_textp_trim_whitespace_leading(), s, UT_UCS4String::utf8_str(), and xxx_UT_DEBUGMSG.
void ODi_TextContent_ListenerState::endElement | ( | const gchar * | pName, | |
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Called when an "end of element" tag is parsed (like <myElementName>).
pName | The name of the element |
Implements ODi_ListenerState.
References _defineAbiTOCHeadingStyles(), _endParagraphElement(), _flush(), _insertAnnotation(), _popInlineFmt(), UT_GenericVector< T >::addItem(), PD_Document::addPageReferencedTextbox(), PD_Document::appendFmt(), PD_Document::appendObject(), PD_Document::appendStrux(), ODi_ListenerStateAction::bringUpPostponedElements(), UT_GenericVector< T >::clear(), IE_Exp::copyToBuffer(), PD_Document::deleteFragNoUpdate(), DELETEP, gchar, ODi_StartTag::getAttributeValue(), PD_Document::getBounds(), PD_Document::getLastFrag(), pf_Frag::getNext(), pf_Frag::getPos(), pf_Frag::getPrev(), ODi_TableOfContent_ListenerState::getProps(), ODi_ElementStack::getStartTag(), ODi_TableOfContent_ListenerState::getTOCStrux(), m_bAcceptingText, m_bOnContentStream, m_bPageReferencePending, m_bPendingAnnotation, m_bPendingAnnotationAuthor, m_bPendingAnnotationDate, m_bPendingTextbox, m_currentNoteId, m_currentODSection, m_dXpos, m_dYpos, m_elementParsingLevel, m_iAnnotation, m_inAbiSection, m_iPageNum, m_listLevel, m_pAbiDocument, m_pCurrentListStyle, m_pCurrentTOCParser, m_pendingNoteAnchorInsertion, m_rAbiData, ODi_Abi_Data::m_rangedAnnotationNames, ODi_ListenerState::m_rElementStack, m_sAnnotationName, m_sProps, m_tablesOfContent, m_tablesOfContentProps, m_vecInlineFmt, ODI_SECTION_MAPPED, ODi_ListenerStateAction::popState(), PTO_Annotation, PTO_Hyperlink, PTO_RDFAnchor, PTX_EndAnnotation, PTX_EndEndnote, PTX_EndFootnote, UT_ASSERT, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_SHOULD_NOT_HAPPEN, UT_std_string_sprintf(), UT_VECTOR_PURGEALL, UT_UTF8String::utf8_str(), and xmlidStackForTextMeta.
void ODi_TextContent_ListenerState::startElement | ( | const gchar * | pName, | |
const gchar ** | ppAtts, | |||
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Called when the XML parser finds a start element tag.
pName | The name of the element. | |
ppAtts | The attributes of the parsed start tag. |
Implements ODi_ListenerState.
References _flush(), _flushPendingParagraphBreak(), _insertAnnotation(), _insertBookmark(), _insureInBlock(), _insureInSection(), _popInlineFmt(), _pushInlineFmt(), _startParagraphElement(), ODi_Abi_Data::addImageDataItem(), PD_Document::addPageReferencedImage(), UT_UniqueId::Annotation, PD_Document::appendFmt(), PD_Document::appendObject(), PD_Document::appendSpan(), PD_Document::appendStrux(), UT_String::c_str(), UT_UniqueId::Endnote, UT_UniqueId::Footnote, gchar, ODi_Style_Style::getAbiPropsAttrString(), ODi_StartTag::getAttributeValue(), ODi_NotesConfiguration::getCitationStyleName(), ODi_Style_Style::getDisplayName(), ODi_Office_Styles::getGraphicStyle(), ODi_Style_List::getLevelStyle(), ODi_Office_Styles::getList(), ODi_StartTag::getName(), ODi_Office_Styles::getNotesConfiguration(), ODi_Office_Styles::getParagraphStyle(), ODi_Style_Style::getParent(), ODi_Office_Styles::getSectionStyle(), ODi_ElementStack::getStartTag(), ODi_Office_Styles::getTextStyle(), PD_Document::getUID(), ODi_Style_Style::getWrap(), id, ODi_ListenerStateAction::ignoreElement(), ODi_Style_Style::isAutomatic(), ODi_ListLevelStyle::isVisible(), m_alreadyDefinedAbiParagraphForList, m_bAcceptingText, m_bContentWritten, m_bHeadingList, m_bOnContentStream, m_bPageReferencePending, m_bPendingAnnotation, m_bPendingAnnotationAuthor, m_bPendingAnnotationDate, m_bPendingNoteCitation, m_bPendingSection, m_bPendingTextbox, m_charData, m_currentNoteId, m_currentODSection, m_dXpos, m_dYpos, m_elementParsingLevel, m_headingStyles, m_iAnnotation, m_inAbiSection, m_iPageNum, m_listLevel, m_noteCitation, m_openAnnotationNames, m_openedFirstAbiSection, m_pAbiDocument, m_pCurrentListStyle, m_pCurrentTOCParser, m_pendingNoteAnchorInsertion, m_pStyles, m_rAbiData, ODi_ListenerState::m_rElementStack, m_sAnnotationAuthor, m_sAnnotationDate, m_sAnnotationName, m_sAnnotationXMLID, m_sProps, m_vecInlineFmt, ODi_ListenerStateAction::postponeElementParsing(), PT_NAME_ATTRIBUTE_NAME, PTO_Annotation, PTO_Field, PTO_Hyperlink, PTO_RDFAnchor, PTX_SectionEndnote, PTX_SectionFootnote, ODi_ListenerStateAction::pushState(), s, size, type, UT_ASSERT, UT_ASSERT_HARMLESS, UT_convertToInches(), UT_DEBUGMSG, UT_getAttribute(), UT_SHOULD_NOT_HAPPEN, UT_std_string_setProperty(), UT_std_string_sprintf(), xmlidMapForBookmarks, xmlidStackForTextMeta, and xxx_UT_DEBUGMSG.
Referenced by _startParagraphElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bAcceptingText [private] |
Referenced by _endParagraphElement(), _flush(), _insureInBlock(), _openAbiSection(), _startParagraphElement(), charData(), endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bContentWritten [private] |
Referenced by _flush(), _flushPendingParagraphBreak(), _startParagraphElement(), charData(), and startElement().
bool ODi_TextContent_ListenerState::m_bHeadingList [private] |
Referenced by _startParagraphElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bOnContentStream [private] |
Referenced by _endParagraphElement(), _insureInSection(), _startParagraphElement(), endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bOpenedBlock [private] |
Referenced by _flushPendingParagraphBreak(), _insureInBlock(), _openAbiSection(), and _startParagraphElement().
bool ODi_TextContent_ListenerState::m_bPageReferencePending [private] |
Referenced by endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bPendingAnnotation [private] |
Referenced by _insertAnnotation(), endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bPendingAnnotationAuthor [private] |
Referenced by charData(), endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bPendingAnnotationDate [private] |
Referenced by charData(), endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_bPendingNoteCitation [private] |
Referenced by charData(), and startElement().
bool ODi_TextContent_ListenerState::m_bPendingSection [private] |
Referenced by _insureInSection(), _openAbiSection(), and startElement().
bool ODi_TextContent_ListenerState::m_bPendingTextbox [private] |
Referenced by endElement(), and startElement().
Referenced by _flush(), charData(), and startElement().
Referenced by _insureInSection(), and _startParagraphElement().
Referenced by _insureInSection(), and _startParagraphElement().
std::string ODi_TextContent_ListenerState::m_currentNoteId [private] |
Referenced by _startParagraphElement(), endElement(), and startElement().
enum ODi_TextContent_ListenerState::ODi_CurrentODSection ODi_TextContent_ListenerState::m_currentODSection [private] |
Referenced by _insureInSection(), endElement(), and startElement().
std::string ODi_TextContent_ListenerState::m_currentPageMarginLeft [private] |
Referenced by _openAbiSection().
std::string ODi_TextContent_ListenerState::m_currentPageMarginRight [private] |
Referenced by _openAbiSection().
double ODi_TextContent_ListenerState::m_dXpos [private] |
Referenced by endElement(), and startElement().
double ODi_TextContent_ListenerState::m_dYpos [private] |
Referenced by endElement(), and startElement().
Referenced by endElement(), and startElement().
std::map<std::string, std::string> ODi_TextContent_ListenerState::m_headingStyles [private] |
Referenced by _defineAbiTOCHeadingStyles(), _startParagraphElement(), and startElement().
Referenced by _insertAnnotation(), endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_inAbiSection [private] |
Referenced by _insureInSection(), _openAbiSection(), endElement(), and startElement().
Referenced by endElement(), and startElement().
Referenced by _startParagraphElement(), endElement(), and startElement().
std::string ODi_TextContent_ListenerState::m_noteCitation [private] |
Referenced by charData(), and startElement().
std::set< std::string > ODi_TextContent_ListenerState::m_openAnnotationNames [private] |
Referenced by startElement().
bool ODi_TextContent_ListenerState::m_openedFirstAbiSection [private] |
Referenced by _openAbiSection(), _startParagraphElement(), and startElement().
Referenced by _startParagraphElement(), endElement(), and startElement().
Referenced by endElement(), and startElement().
bool ODi_TextContent_ListenerState::m_pendingNoteAnchorInsertion [private] |
Referenced by _startParagraphElement(), endElement(), and startElement().
std::string ODi_TextContent_ListenerState::m_pendingParagraphBreak [private] |
Referenced by _endParagraphElement(), and _flushPendingParagraphBreak().
Referenced by _startParagraphElement().
Referenced by endElement(), and startElement().
std::string ODi_TextContent_ListenerState::m_sAnnotationAuthor [private] |
Referenced by _insertAnnotation(), charData(), and startElement().
std::string ODi_TextContent_ListenerState::m_sAnnotationDate [private] |
Referenced by _insertAnnotation(), charData(), and startElement().
std::string ODi_TextContent_ListenerState::m_sAnnotationName [private] |
Referenced by endElement(), and startElement().
std::string ODi_TextContent_ListenerState::m_sAnnotationXMLID [private] |
Referenced by _insertAnnotation(), and startElement().
std::string ODi_TextContent_ListenerState::m_sProps [private] |
Referenced by endElement(), and startElement().
Referenced by _popInlineFmt(), and _pushInlineFmt().
In OpenDocument, <text:h> elements along the text defines the document chapter's structure.
So, we must get the styles used by those <text:h> for each content level in order to set AbiWord's <toc> properties correctly.
Referenced by _defineAbiTOCHeadingStyles(), and endElement().
UT_GenericVector<std::string*> ODi_TextContent_ListenerState::m_tablesOfContentProps [private] |
Referenced by _defineAbiTOCHeadingStyles(), endElement(), and ~ODi_TextContent_ListenerState().
Referenced by _popInlineFmt(), _pushInlineFmt(), endElement(), and startElement().
std::map< std::string, std::string > ODi_TextContent_ListenerState::xmlidMapForBookmarks [private] |
Referenced by startElement().
std::list< std::string > ODi_TextContent_ListenerState::xmlidStackForTextMeta [private] |
Referenced by endElement(), and startElement().