#include <ie_exp_DocBook.h>
s_DocBook_Listener::s_DocBook_Listener | ( | PD_Document * | pDocument, | |
IE_Exp_DocBook * | pie | |||
) |
References m_bExternal, m_bInChapter, m_bInFrame, m_bInHdrFtr, m_bInNote, m_bInParagraph, m_bInSection, m_bInSpan, m_bInTable, m_bInTitle, m_iBlockType, m_iLastClosed, m_iListDepth, m_iNestedTable, m_iPreviousListDepth, m_iSectionDepth, m_iTableDepth, m_pDocument, m_pie, m_sLastStyle, and m_sParentStyle.
s_DocBook_Listener::~s_DocBook_Listener | ( | ) | [virtual] |
References m_utvDataIDs, and UT_VECTOR_FREEALL.
void s_DocBook_Listener::_closeCell | ( | void | ) | [protected] |
References _closeParagraph(), _tagClose(), _tagTop(), and TT_ENTRY.
Referenced by _closeNestedTable(), _closeRow(), _closeTable(), _openRow(), and populateStrux().
void s_DocBook_Listener::_closeChapter | ( | void | ) | [protected] |
References _closeSection(), _closeTable(), _tagClose(), m_bInChapter, m_bInTable, TT_CHAPTER, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by _closeFile(), and _openChapter().
void s_DocBook_Listener::_closeChapterTitle | ( | void | ) | [protected] |
References _tagClose(), _tagTop(), m_bInChapter, m_bInTitle, TT_TITLE, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by _closeFile(), _handleEmbedded(), _handleImage(), _handleMath(), _openParagraph(), and _openSection().
void s_DocBook_Listener::_closeFile | ( | void | ) | [virtual] |
References _closeChapter(), _closeChapterTitle(), _handleDataItems(), _tagClose(), _tagOpenClose(), m_bInSection, m_bInTitle, and TT_DOCUMENT.
void s_DocBook_Listener::_closeList | ( | void | ) | [protected] |
void s_DocBook_Listener::_closeNestedTable | ( | void | ) | [protected] |
References _closeCell(), _closeRow(), _tagClose(), m_iNestedTable, TT_ENTRYTBL, and TT_TBODY.
Referenced by _closeTable().
void s_DocBook_Listener::_closeParagraph | ( | void | ) | [protected] |
References _closeSpan(), _tagClose(), _tagTop(), BT_NORMAL, BT_PLAINTEXT, m_bInNote, m_bInParagraph, m_bInTable, m_iBlockType, TT_BLOCK, TT_FOOTNOTE, TT_LINK, TT_PLAINTEXT, TT_ULINK, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by _closeCell(), _closeSection(), _handleTOC(), _openBlock(), _openParagraph(), _openPlainBlock(), and populateStrux().
void s_DocBook_Listener::_closeRow | ( | void | ) | [protected] |
References _closeCell(), _tagClose(), _tagTop(), and TT_ROW.
Referenced by _closeNestedTable(), _closeTable(), _openRow(), and populateStrux().
void s_DocBook_Listener::_closeSection | ( | int | sub | ) | [protected] |
References _closeParagraph(), _closeSectionTitle(), _tagClose(), _tagOpenClose(), _tagTop(), m_bInHdrFtr, m_bInNote, m_bInSection, m_bInTable, m_iLastClosed, m_iSectionDepth, m_sLastStyle, TT_FOOTNOTE, TT_SECTION, TT_TITLE, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by _closeChapter(), _handleTOC(), _openSection(), and populateStrux().
void s_DocBook_Listener::_closeSectionTitle | ( | void | ) | [protected] |
References _tagClose(), _tagTop(), m_bInTitle, TT_TITLE, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by _closeSection(), _handleEmbedded(), _handleFootnote(), _handleHdrFtr(), _handleImage(), _handleMath(), _openParagraph(), _openSection(), _openTable(), and populateStrux().
void s_DocBook_Listener::_closeSpan | ( | void | ) | [protected] |
References _tagClose(), gchar, PP_AttrProp::getProperty(), m_bInSpan, m_pAP_Span, TT_EMPHASIS, TT_PHRASE, TT_SUBSCRIPT, and TT_SUPERSCRIPT.
Referenced by _closeParagraph(), _openSpan(), _outputData(), and populate().
void s_DocBook_Listener::_closeTable | ( | void | ) | [protected] |
References _closeCell(), _closeNestedTable(), _closeRow(), _tagClose(), m_bInTable, m_iNestedTable, TT_TABLE, TT_TBODY, and TT_TGROUP.
Referenced by _closeChapter(), and populateStrux().
void s_DocBook_Listener::_convertColor | ( | char * | szDest, | |
const char * | pszColor | |||
) | [protected] |
void s_DocBook_Listener::_convertFontSize | ( | char * | szDest, | |
const char * | pszFontSize | |||
) | [protected] |
bool s_DocBook_Listener::_decideIndent | ( | void | ) | [protected] |
References _tagTop(), BT_PLAINTEXT, m_bInHdrFtr, m_bInNote, m_bInTable, m_iBlockType, m_iLastClosed, TT_BLOCK, TT_FOOTNOTE, TT_PHRASE, and TT_TITLE.
Referenced by _openParagraph().
const UT_UTF8String s_DocBook_Listener::_getProps | ( | PT_AttrPropIndex | api | ) | [protected] |
void s_DocBook_Listener::_handleBookmark | ( | PT_AttrPropIndex | api | ) | [protected] |
References _tagOpenClose(), UT_UTF8String::escapeXML(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), and m_pDocument.
Referenced by populate().
void s_DocBook_Listener::_handleDataItems | ( | void | ) | [protected] |
References _stripSuffix(), PD_Document::enumDataItems(), extension, FREEP, IE_Exp::getFileName(), UT_GenericVector< T >::getItemCount(), m_pDocument, m_pie, m_utvDataIDs, szName, UT_go_basename(), UT_go_directory_create(), UT_go_file_create(), UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by _closeFile().
void s_DocBook_Listener::_handleDocument | ( | void | ) | [protected] |
References _tagOpen(), gchar, PD_Document::getAttrProp(), PD_Document::getAttrPropIndex(), PP_AttrProp::getProperty(), m_pDocument, and TT_DOCUMENT.
Referenced by _initFile().
void s_DocBook_Listener::_handleEmbedded | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeChapterTitle(), _closeSectionTitle(), _openBlock(), _openSection(), _tagClose(), _tagOpen(), _tagOpenClose(), UT_UTF8String::escapeXML(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), IE_Exp::getFileName(), PP_AttrProp::getProperty(), m_bInParagraph, m_bInSection, m_pDocument, m_pie, m_utvDataIDs, UT_GenericVector< T >::push_back(), TT_IMAGEOBJECT, TT_INFORMALFIGURE, TT_MEDIAOBJECT, and UT_go_basename().
Referenced by populate().
void s_DocBook_Listener::_handleField | ( | const PX_ChangeRecord_Object * | pcro, | |
PT_AttrPropIndex | api | |||
) | [protected] |
References _openBlock(), _openList(), _tagClose(), _tagOpen(), _tagOpenClose(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PX_ChangeRecord_Object::getField(), fd_Field::getValue(), m_bInParagraph, m_pDocument, m_pie, IE_Exp::populateFields(), TT_PHRASE, and IE_Exp::write().
Referenced by populate().
void s_DocBook_Listener::_handleFootnote | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeSectionTitle(), _openBlock(), _openSection(), _tagOpen(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), m_bInSection, m_bInTitle, m_pDocument, and TT_FOOTNOTE.
Referenced by populateStrux().
void s_DocBook_Listener::_handleHdrFtr | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeSectionTitle(), _openSection(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), and m_pDocument.
Referenced by populateStrux().
void s_DocBook_Listener::_handleHyperlink | ( | PT_AttrPropIndex | api | ) | [protected] |
References _tagClose(), _tagOpen(), _tagTop(), UT_UTF8String::escapeURL(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), m_bExternal, m_pDocument, TT_LINK, and TT_ULINK.
Referenced by populate().
void s_DocBook_Listener::_handleImage | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeChapterTitle(), _closeSectionTitle(), _openBlock(), _openSection(), _stripSuffix(), _tagClose(), _tagOpen(), _tagOpenClose(), UT_UTF8String::clear(), UT_UTF8String::escapeXML(), extension, FREEP, gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PD_Document::getDataItemDataByName(), IE_Exp::getFileName(), PP_AttrProp::getProperty(), m_bInParagraph, m_bInSection, m_pDocument, m_pie, m_utvDataIDs, UT_GenericVector< T >::push_back(), TT_BLOCK, TT_FIGURE, TT_IMAGEOBJECT, TT_MEDIAOBJECT, TT_TEXTOBJECT, TT_TITLE, UT_go_basename(), UT_UTF8String_sprintf(), UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by populate().
void s_DocBook_Listener::_handleMath | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeChapterTitle(), _closeSectionTitle(), _openBlock(), _openSection(), _tagClose(), _tagOpen(), _tagOpenClose(), UT_UTF8String::escapeXML(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), IE_Exp::getFileName(), PP_AttrProp::getProperty(), m_bInParagraph, m_bInSection, m_pDocument, m_pie, m_utvDataIDs, UT_GenericVector< T >::push_back(), TT_INLINEEQUATION, UT_go_basename(), UT_LAYOUT_RESOLUTION, and UT_UTF8String_sprintf().
Referenced by populate().
void s_DocBook_Listener::_handleMetaData | ( | void | ) | [protected] |
References _handleRevisions(), _tagClose(), _tagOpen(), _tagTop(), UT_UTF8String::clear(), UT_UTF8String::empty(), UT_UTF8String::escapeXML(), PD_Document::getMetaDataProp(), UT_UTF8String::length(), UT_UCS4String::length(), m_pDocument, m_pie, PD_META_KEY_CONTRIBUTOR, PD_META_KEY_COVERAGE, PD_META_KEY_CREATOR, PD_META_KEY_DATE, PD_META_KEY_DATE_LAST_CHANGED, PD_META_KEY_DESCRIPTION, PD_META_KEY_KEYWORDS, PD_META_KEY_PUBLISHER, PD_META_KEY_RELATION, PD_META_KEY_RIGHTS, PD_META_KEY_SOURCE, PD_META_KEY_SUBJECT, PD_META_KEY_TITLE, TT_ABSTRACT, TT_APPLICATION, TT_AUTHOR, TT_BIBLIOCOVERAGE, TT_BIBLIOMISC, TT_BIBLIORELATION, TT_BIBLIOSOURCE, TT_BLOCK, TT_BOOKINFO, TT_COLLAB, TT_COLLABNAME, TT_DATE, TT_KEYWORD, TT_KEYWORDSET, TT_LEGALNOTICE, TT_OTHERNAME, TT_PUBLISHER, TT_PUBLISHERNAME, TT_SUBJECT, TT_SUBJECTSET, TT_SUBJECTTERM, TT_TITLE, UT_ASSERT_HARMLESS, UT_escapeXML(), UT_TODO, UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by _initFile().
void s_DocBook_Listener::_handlePositionedImage | ( | PT_AttrPropIndex | api | ) | [protected] |
References _stripSuffix(), _tagClose(), _tagOpen(), _tagOpenClose(), UT_UTF8String::clear(), UT_UTF8String::escapeXML(), extension, FREEP, gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PD_Document::getDataItemDataByName(), IE_Exp::getFileName(), PP_AttrProp::getProperty(), m_pDocument, m_pie, m_utvDataIDs, UT_GenericVector< T >::push_back(), TT_BLOCK, TT_FIGURE, TT_IMAGEOBJECT, TT_MEDIAOBJECT, TT_TEXTOBJECT, TT_TITLE, UT_go_basename(), UT_UTF8String_sprintf(), UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by _openSection().
void s_DocBook_Listener::_handleRevisions | ( | void | ) | [protected] |
References _tagClose(), _tagOpen(), _tagTop(), UT_UTF8String::clear(), UT_UTF8String::escapeXML(), AD_Revision::getDescription(), AD_Revision::getId(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), AD_Document::getRevisions(), AD_Revision::getStartTime(), UT_UCS4String::length(), m_pDocument, m_pie, s, TT_DATE, TT_REVHISTORY, TT_REVISION, TT_REVNUMBER, TT_REVREMARK, UT_UTF8String_sprintf(), UT_UCS4String::utf8_str(), UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by _handleMetaData().
void s_DocBook_Listener::_handleTOC | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeParagraph(), _closeSection(), _tagClose(), _tagOpen(), _tagOpenClose(), gchar, XAP_App::getApp(), PD_Document::getAttrProp(), PP_AttrProp::getProperty(), XAP_App::getStringSet(), XAP_StringSet::getValueUTF8(), m_iSectionDepth, m_pDocument, m_pie, TT_SECTION, TT_TITLE, TT_TOC, UT_escapeXML(), and IE_Exp::write().
Referenced by populateStrux().
bool s_DocBook_Listener::_inFormattedSpan | ( | void | ) | [protected] |
References _tagTop(), TT_EMPHASIS, TT_SUBSCRIPT, and TT_SUPERSCRIPT.
Referenced by _outputData().
bool s_DocBook_Listener::_initFile | ( | void | ) | [virtual] |
References _handleDocument(), _handleMetaData(), m_pie, IE_Exp::write(), and IE_Exp_DocBook::writeln().
bool s_DocBook_Listener::_inSectionStrux | ( | void | ) | [protected] |
References m_bInFrame, m_bInHdrFtr, m_bInNote, and m_bInTable.
Referenced by _openParagraph().
void s_DocBook_Listener::_openBlock | ( | bool | indent | ) | [protected] |
References _closeParagraph(), _tagOpen(), m_bInParagraph, m_bInTitle, m_iBlockType, and TT_BLOCK.
Referenced by _handleEmbedded(), _handleField(), _handleFootnote(), _handleImage(), _handleMath(), and _openParagraph().
void s_DocBook_Listener::_openCell | ( | ) | [protected] |
References _openRow(), _tagOpen(), ie_Table::getBot(), ie_Table::getLeft(), ie_Table::getRight(), ie_Table::getTop(), mTableHelper, TT_ENTRY, and UT_UTF8String_sprintf().
Referenced by _openParagraph(), and populateStrux().
void s_DocBook_Listener::_openChapter | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeChapter(), _openChapterTitle(), _tagOpen(), _tagTop(), m_bInChapter, TT_CHAPTER, TT_DOCUMENT, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by _openParagraph(), _openSection(), and populateStrux().
void s_DocBook_Listener::_openChapterTitle | ( | PT_AttrPropIndex | api | ) | [protected] |
References _tagOpen(), _tagTop(), m_bInTitle, TT_CHAPTER, TT_TITLE, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by _openChapter().
void s_DocBook_Listener::_openList | ( | PT_AttrPropIndex | api | ) | [protected] |
Referenced by _handleField().
void s_DocBook_Listener::_openNestedTable | ( | ) | [protected] |
References _openRow(), _tagOpen(), _tagTop(), ie_Table::getNumCols(), m_iNestedTable, mTableHelper, TT_ENTRYTBL, TT_ROW, TT_TBODY, and UT_UTF8String_sprintf().
Referenced by _openTable().
void s_DocBook_Listener::_openParagraph | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeChapterTitle(), _closeParagraph(), _closeSectionTitle(), _decideIndent(), _inSectionStrux(), _openBlock(), _openCell(), _openChapter(), _openPlainBlock(), _openSection(), _tagOpen(), _tagTop(), BT_PLAINTEXT, gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), m_bInParagraph, m_bInTable, m_bInTitle, m_iBlockType, m_iLastClosed, m_iNestedTable, m_iSectionDepth, m_pDocument, m_pie, m_sLastStyle, m_sParentStyle, PT_STYLE_ATTRIBUTE_NAME, TT_BLOCK, TT_ROW, TT_SECTION, UT_UTF8String::utf8_str(), and tls_tunnel::write().
Referenced by populateStrux().
void s_DocBook_Listener::_openPlainBlock | ( | ) | [protected] |
References _closeParagraph(), _tagOpen(), m_bInParagraph, m_bInTitle, m_iBlockType, and TT_PLAINTEXT.
Referenced by _openParagraph().
void s_DocBook_Listener::_openRow | ( | void | ) | [protected] |
References _closeCell(), _closeRow(), _tagOpen(), ie_Table::isNewRow(), mTableHelper, and TT_ROW.
Referenced by _openCell(), and _openNestedTable().
void s_DocBook_Listener::_openSection | ( | PT_AttrPropIndex | api, | |
int | sub, | |||
const UT_UTF8String & | content | |||
) | [protected] |
References _closeChapterTitle(), _closeSection(), _closeSectionTitle(), _handlePositionedImage(), _openChapter(), _openSectionTitle(), _tagOpen(), _tagTop(), UT_UTF8String::escapeXML(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), UT_UTF8String::length(), m_bInChapter, m_bInFrame, m_bInHdrFtr, m_bInSection, m_bInTable, m_iSectionDepth, m_pDocument, TT_SECTION, and TT_TITLE.
Referenced by _handleEmbedded(), _handleFootnote(), _handleHdrFtr(), _handleImage(), _handleMath(), _openParagraph(), _openTable(), and populateStrux().
void s_DocBook_Listener::_openSectionTitle | ( | void | ) | [protected] |
References _tagOpen(), _tagTop(), m_bInTitle, TT_SECTION, and TT_TITLE.
Referenced by _openSection().
void s_DocBook_Listener::_openSpan | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeSpan(), _tagOpen(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_bInParagraph, m_bInSpan, m_bInTitle, m_pAP_Span, m_pDocument, TT_EMPHASIS, TT_PHRASE, TT_SUBSCRIPT, and TT_SUPERSCRIPT.
Referenced by populate().
void s_DocBook_Listener::_openTable | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeSectionTitle(), _openNestedTable(), _openSection(), _tagOpen(), _tagOpenClose(), ie_Table::getNumCols(), m_bInSection, m_bInTable, m_bInTitle, m_iLastClosed, m_iSectionDepth, mTableHelper, TT_SECTION, TT_TABLE, TT_TBODY, TT_TGROUP, and UT_UTF8String_sprintf().
Referenced by populateStrux().
void s_DocBook_Listener::_outputData | ( | const UT_UCSChar * | p, | |
UT_uint32 | length | |||
) | [protected] |
References _closeSpan(), _inFormattedSpan(), UT_UTF8String::appendUCS4(), BT_PLAINTEXT, UT_UTF8String::byteLength(), m_bInParagraph, m_bInTitle, m_bWasSpace, m_iBlockType, m_pie, UT_UTF8String::reserve(), UCS_FF, UCS_LF, UCS_TAB, UCS_VTAB, UT_ASSERT, UT_ASSERT_HARMLESS, UT_TODO, UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by populate().
void s_DocBook_Listener::_tagClose | ( | UT_uint32 | tagID, | |
const UT_UTF8String & | content, | |||
bool | newline = true , |
|||
bool | indent = true , |
|||
bool | decrease = true | |||
) | [protected] |
References IE_Exp_DocBook::iwrite(), m_iLastClosed, m_pie, m_utnsTagStack, UT_NumberStack::pop(), IE_Exp_DocBook::unindent(), UT_DEBUGMSG, UT_UTF8String::utf8_str(), IE_Exp::write(), and xxx_UT_DEBUGMSG.
Referenced by _closeCell(), _closeChapter(), _closeChapterTitle(), _closeFile(), _closeNestedTable(), _closeParagraph(), _closeRow(), _closeSection(), _closeSectionTitle(), _closeSpan(), _closeTable(), _handleEmbedded(), _handleField(), _handleHyperlink(), _handleImage(), _handleMath(), _handleMetaData(), _handlePositionedImage(), _handleRevisions(), _handleTOC(), and populateStrux().
void s_DocBook_Listener::_tagOpen | ( | UT_uint32 | tagID, | |
const UT_UTF8String & | content, | |||
bool | newline = true , |
|||
bool | indent = true , |
|||
bool | increase = true | |||
) | [protected] |
References IE_Exp_DocBook::indent(), IE_Exp_DocBook::iwrite(), m_pie, m_utnsTagStack, UT_NumberStack::push(), UT_UTF8String::utf8_str(), IE_Exp::write(), and xxx_UT_DEBUGMSG.
Referenced by _handleDocument(), _handleEmbedded(), _handleField(), _handleFootnote(), _handleHyperlink(), _handleImage(), _handleMath(), _handleMetaData(), _handlePositionedImage(), _handleRevisions(), _handleTOC(), _openBlock(), _openCell(), _openChapter(), _openChapterTitle(), _openNestedTable(), _openParagraph(), _openPlainBlock(), _openRow(), _openSection(), _openSectionTitle(), _openSpan(), and _openTable().
void s_DocBook_Listener::_tagOpenClose | ( | const UT_UTF8String & | content, | |
bool | suppress, | |||
bool | newline = true , |
|||
bool | indent = true | |||
) | [protected] |
References IE_Exp_DocBook::iwrite(), m_pie, UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by _closeFile(), _closeSection(), _handleBookmark(), _handleEmbedded(), _handleField(), _handleImage(), _handleMath(), _handlePositionedImage(), _handleTOC(), _openTable(), and populateStrux().
UT_uint32 s_DocBook_Listener::_tagTop | ( | void | ) | [protected] |
References m_utnsTagStack, and UT_NumberStack::viewTop().
Referenced by _closeCell(), _closeChapterTitle(), _closeParagraph(), _closeRow(), _closeSection(), _closeSectionTitle(), _decideIndent(), _handleHyperlink(), _handleMetaData(), _handleRevisions(), _inFormattedSpan(), _openChapter(), _openChapterTitle(), _openNestedTable(), _openParagraph(), _openSection(), and _openSectionTitle().
bool s_DocBook_Listener::change | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References UT_ASSERT.
virtual bool s_DocBook_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_DocBook_Listener::populate | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References _closeSpan(), _handleBookmark(), _handleEmbedded(), _handleField(), _handleHyperlink(), _handleImage(), _handleMath(), _openSpan(), _outputData(), PX_ChangeRecord_Span::getBufIndex(), PX_ChangeRecord::getIndexAP(), PX_ChangeRecord_Span::getLength(), PX_ChangeRecord_Object::getObjectType(), PD_Document::getPointer(), PL_Listener::getType(), m_pDocument, PTO_Bookmark, PTO_Embed, PTO_Field, PTO_Hyperlink, PTO_Image, PTO_Math, PX_ChangeRecord::PXT_InsertObject, PX_ChangeRecord::PXT_InsertSpan, UT_ASSERT_HARMLESS, and UT_TODO.
bool s_DocBook_Listener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
const PX_ChangeRecord * | pcr, | |||
fl_ContainerLayout ** | psfh | |||
) | [virtual] |
Implements PL_Listener.
References _closeCell(), _closeParagraph(), _closeRow(), _closeSection(), _closeSectionTitle(), _closeTable(), _handleFootnote(), _handleHdrFtr(), _handleTOC(), _openCell(), _openChapter(), _openParagraph(), _openSection(), _openTable(), _tagClose(), _tagOpenClose(), ie_Table::closeCell(), ie_Table::closeTable(), PX_ChangeRecord::getIndexAP(), PD_Document::getNextStruxOfType(), PD_Document::getStruxPosition(), PX_ChangeRecord::getType(), m_bInFrame, m_bInHdrFtr, m_bInNote, m_iLastClosed, m_iNestedTable, m_iSectionDepth, m_iTableDepth, m_pDocument, mTableHelper, ie_Table::openCell(), ie_Table::openTable(), PTX_Block, PTX_EndCell, PTX_EndEndnote, PTX_EndFootnote, PTX_EndFrame, PTX_EndMarginnote, PTX_EndTable, PTX_EndTOC, PTX_Section, PTX_SectionCell, PTX_SectionEndnote, PTX_SectionFootnote, PTX_SectionFrame, PTX_SectionHdrFtr, PTX_SectionMarginnote, PTX_SectionTable, PTX_SectionTOC, TT_FOOTNOTE, TT_PHRASE, UT_ASSERT, UT_ASSERT_HARMLESS, and UT_TODO.
bool s_DocBook_Listener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
bool s_DocBook_Listener::m_bExternal [private] |
Referenced by _handleHyperlink(), and s_DocBook_Listener().
bool s_DocBook_Listener::m_bInChapter [private] |
Referenced by _closeChapter(), _closeChapterTitle(), _openChapter(), _openSection(), and s_DocBook_Listener().
bool s_DocBook_Listener::m_bInFrame [private] |
Referenced by _inSectionStrux(), _openSection(), populateStrux(), and s_DocBook_Listener().
bool s_DocBook_Listener::m_bInHdrFtr [private] |
Referenced by _closeSection(), _decideIndent(), _inSectionStrux(), _openSection(), populateStrux(), and s_DocBook_Listener().
bool s_DocBook_Listener::m_bInNote [private] |
Referenced by _closeParagraph(), _closeSection(), _decideIndent(), _inSectionStrux(), populateStrux(), and s_DocBook_Listener().
bool s_DocBook_Listener::m_bInParagraph [private] |
bool s_DocBook_Listener::m_bInSection [private] |
Referenced by _closeFile(), _closeSection(), _handleEmbedded(), _handleFootnote(), _handleImage(), _handleMath(), _openSection(), _openTable(), and s_DocBook_Listener().
bool s_DocBook_Listener::m_bInSpan [private] |
Referenced by _closeSpan(), _openSpan(), and s_DocBook_Listener().
bool s_DocBook_Listener::m_bInTable [private] |
bool s_DocBook_Listener::m_bInTitle [private] |
bool s_DocBook_Listener::m_bWasSpace [private] |
Referenced by _outputData().
UT_uint16 s_DocBook_Listener::m_iBlockType [private] |
Referenced by _closeParagraph(), _decideIndent(), _openBlock(), _openParagraph(), _openPlainBlock(), _outputData(), and s_DocBook_Listener().
int s_DocBook_Listener::m_iLastClosed [private] |
Referenced by _closeSection(), _decideIndent(), _openParagraph(), _openTable(), _tagClose(), populateStrux(), and s_DocBook_Listener().
int s_DocBook_Listener::m_iListDepth [private] |
Referenced by s_DocBook_Listener().
int s_DocBook_Listener::m_iNestedTable [private] |
Referenced by _closeNestedTable(), _closeTable(), _openNestedTable(), _openParagraph(), populateStrux(), and s_DocBook_Listener().
int s_DocBook_Listener::m_iPreviousListDepth [private] |
Referenced by s_DocBook_Listener().
int s_DocBook_Listener::m_iSectionDepth [private] |
Referenced by _closeSection(), _handleTOC(), _openParagraph(), _openSection(), _openTable(), populateStrux(), and s_DocBook_Listener().
int s_DocBook_Listener::m_iTableDepth [private] |
Referenced by populateStrux(), and s_DocBook_Listener().
const PP_AttrProp* s_DocBook_Listener::m_pAP_Span [private] |
Referenced by _closeSpan(), and _openSpan().
PD_Document* s_DocBook_Listener::m_pDocument [protected] |
Referenced by _handleBookmark(), _handleDataItems(), _handleDocument(), _handleEmbedded(), _handleField(), _handleFootnote(), _handleHdrFtr(), _handleHyperlink(), _handleImage(), _handleMath(), _handleMetaData(), _handlePositionedImage(), _handleRevisions(), _handleTOC(), _openParagraph(), _openSection(), _openSpan(), populate(), populateStrux(), and s_DocBook_Listener().
IE_Exp_DocBook* s_DocBook_Listener::m_pie [protected] |
Referenced by _closeSection(), _openParagraph(), and s_DocBook_Listener().
Referenced by _openParagraph(), and s_DocBook_Listener().
Referenced by _tagClose(), _tagOpen(), and _tagTop().
UT_Stack s_DocBook_Listener::m_utsListStack [private] |
UT_Vector s_DocBook_Listener::m_utvDataIDs [private] |
Referenced by _handleDataItems(), _handleEmbedded(), _handleImage(), _handleMath(), _handlePositionedImage(), and ~s_DocBook_Listener().
ie_Table s_DocBook_Listener::mTableHelper [private] |
Referenced by _openCell(), _openNestedTable(), _openRow(), _openTable(), and populateStrux().