Adapter that converts PL_Listener calls into more suitable for HTML exporter form. More...
#include <ie_exp_HTML_Listener.h>
Adapter that converts PL_Listener calls into more suitable for HTML exporter form.
Inspired by the OpenDocument export plugin.
IE_Exp_HTML_Listener::IE_Exp_HTML_Listener | ( | PD_Document * | pDocument, | |
IE_Exp_HTML_DataExporter * | pDataExporter, | |||
IE_Exp_HTML_StyleTree * | pStyleTree, | |||
IE_Exp_HTML_NavigationHelper * | pNavigationHelper, | |||
IE_Exp_HTML_ListenerImpl * | pListenerImpl, | |||
const UT_UTF8String & | filename | |||
) |
bool IE_Exp_HTML_Listener::_beginOfDocument | ( | const PT_AttrPropIndex & | api | ) | [private, virtual] |
References _closeHead(), _insertDTD(), _insertLinks(), _insertLinkToStyle(), _insertMeta(), _insertStyle(), _insertTitle(), _makeStylesheet(), _openBody(), _openDocument(), _openHead(), m_bEmbedCss, and m_bFirstWrite.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_closeAnnotation | ( | void | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeAnnotation(), m_bInAnnotation, m_bInBlock, and m_pCurrentImpl.
Referenced by populate().
void IE_Exp_HTML_Listener::_closeBlock | ( | void | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeBlock(), m_bInBlock, and m_pCurrentImpl.
Referenced by endOfDocument(), and populateStrux().
void IE_Exp_HTML_Listener::_closeBody | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeBody(), and m_pCurrentImpl.
Referenced by endOfDocument().
void IE_Exp_HTML_Listener::_closeBookmark | ( | ) | [private] |
References _closeSpan(), IE_Exp_HTML_ListenerImpl::closeBookmark(), m_bInBookmark, and m_pCurrentImpl.
Referenced by endOfDocument(), populate(), and populateStrux().
void IE_Exp_HTML_Listener::_closeCell | ( | bool | recursiveCall = false |
) | [private] |
References IE_Exp_HTML_ListenerImpl::closeCell(), m_iInCell, and m_pCurrentImpl.
Referenced by endOfDocument(), and populateStrux().
void IE_Exp_HTML_Listener::_closeDocument | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeDocument(), and m_pCurrentImpl.
Referenced by endOfDocument().
void IE_Exp_HTML_Listener::_closeEndnote | ( | ) | [private] |
References m_bInEndnote.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_closeField | ( | void | ) | [private] |
References _closeSpan(), UT_UTF8String::clear(), IE_Exp_HTML_ListenerImpl::closeField(), UT_UTF8String::length(), m_currentFieldType, m_pCurrentField, and m_pCurrentImpl.
Referenced by endOfDocument(), populate(), and populateStrux().
void IE_Exp_HTML_Listener::_closeFootnote | ( | ) | [private] |
References m_bInBlock, and m_bInFootnote.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_closeFrame | ( | ) | [private] |
References _closeTextbox().
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_closeHead | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeHead(), and m_pCurrentImpl.
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_closeHeading | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeHeading(), m_bInHeading, and m_pCurrentImpl.
Referenced by endOfDocument(), and populateStrux().
void IE_Exp_HTML_Listener::_closeHyperlink | ( | void | ) | [private] |
References _closeSpan(), IE_Exp_HTML_ListenerImpl::closeHyperlink(), m_bInHyperlink, m_pCurrentImpl, and UT_DEBUGMSG.
Referenced by endOfDocument(), populate(), and populateStrux().
void IE_Exp_HTML_Listener::_closeList | ( | bool | recursiveCall = false |
) | [private] |
References _closeListItem(), IE_Exp_HTML_ListenerImpl::closeList(), m_listInfoStack, m_pCurrentImpl, UT_GenericVector< T >::pop_back(), UT_GenericVector< T >::size(), and UT_DEBUGMSG.
Referenced by _closeLists(), and _openList().
void IE_Exp_HTML_Listener::_closeListItem | ( | bool | recursiveCall = false |
) | [private] |
References UT_GenericVector< T >::back(), IE_Exp_HTML_ListenerImpl::closeListItem(), ListInfo::iItemCount, m_listInfoStack, m_pCurrentImpl, UT_GenericVector< T >::pop_back(), UT_GenericVector< T >::push_back(), UT_GenericVector< T >::size(), and UT_DEBUGMSG.
Referenced by _closeList(), and _openListItem().
void IE_Exp_HTML_Listener::_closeLists | ( | void | ) | [private] |
References _closeList(), m_listInfoStack, and UT_GenericVector< T >::size().
Referenced by endOfDocument(), and populateStrux().
void IE_Exp_HTML_Listener::_closeRow | ( | bool | recursiveCall = false |
) | [private] |
References IE_Exp_HTML_ListenerImpl::closeRow(), m_iInRow, and m_pCurrentImpl.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_closeSection | ( | bool | recursiveCall = false |
) | [private] |
References IE_Exp_HTML_ListenerImpl::closeSection(), IE_Exp_HTML_ListenerImpl::insertEndnotes(), m_bInSection, m_endnotes, and m_pCurrentImpl.
Referenced by endOfDocument(), and populateStrux().
void IE_Exp_HTML_Listener::_closeSpan | ( | void | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeSpan(), m_bInSpan, and m_pCurrentImpl.
Referenced by _closeBookmark(), _closeField(), _closeHyperlink(), _openSpan(), endOfDocument(), populate(), and populateStrux().
void IE_Exp_HTML_Listener::_closeTable | ( | bool | recursiveCall = false |
) | [private] |
References IE_Exp_HTML_ListenerImpl::closeTable(), m_iInTable, and m_pCurrentImpl.
Referenced by endOfDocument(), and populateStrux().
void IE_Exp_HTML_Listener::_closeTextbox | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::closeTextbox(), m_bInTextbox, and m_pCurrentImpl.
Referenced by _closeFrame().
void IE_Exp_HTML_Listener::_fillColWidthsVector | ( | ) | [private] |
References UT_GenericVector< T >::addItem(), UT_String::c_str(), UT_GenericVector< T >::clear(), UT_GenericVector< T >::getItemCount(), ie_Table::getNumCols(), ie_Table::getTableProp(), m_dPageWidthInches, m_dSecLeftMarginInches, m_dSecRightMarginInches, m_tableHelper, m_vecDWidths, UT_String::size(), UT_convertToInches(), and UT_DEBUGMSG.
Referenced by _openTable().
const gchar * IE_Exp_HTML_Listener::_getObjectKey | ( | const PT_AttrPropIndex & | api, | |
const gchar * | key | |||
) | [private] |
References gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), and m_pDocument.
Referenced by _insertEmbeddedImage(), _insertImage(), _insertMath(), _openBlock(), _openHyperlink(), _openList(), _openSection(), _openSpan(), and populateStrux().
void IE_Exp_HTML_Listener::_handleAnnotationData | ( | PT_AttrPropIndex | api | ) | [private] |
References gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_annotationAuthors, m_annotationTitles, and m_pDocument.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_handleImage | ( | PT_AttrPropIndex | api, | |
const gchar * | szDataId, | |||
bool | bIsPositioned | |||
) | [private] |
References _insertEmbeddedImage(), DIM_MM, IE_Exp_HTML_DataExporter::encodeDataBase64(), UT_UTF8String::escapeXML(), extension, gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PD_Document::getDataItemDataByName(), PD_Document::getDataItemFileExtension(), PP_AttrProp::getProperty(), getPropertySize(), getStyleSizeString(), IE_Exp_HTML_ListenerImpl::insertImage(), m_bEmbedImages, m_dCellWidthInches, m_dPageWidthInches, m_dSecLeftMarginInches, m_dSecRightMarginInches, m_pCurrentImpl, m_pDataExporter, m_pDocument, m_tableHelper, IE_Exp_HTML_DataExporter::saveData(), style, UT_convertToLogicalUnits(), and UT_DEBUGMSG.
Referenced by _insertEmbeddedImage(), _insertImage(), and _insertPosImage().
void IE_Exp_HTML_Listener::_insertAnnotations | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::insertAnnotations(), m_annotationAuthors, m_annotationContents, m_annotationTitles, and m_pCurrentImpl.
Referenced by endOfDocument().
void IE_Exp_HTML_Listener::_insertDTD | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::insertDTD(), and m_pCurrentImpl.
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_insertEmbeddedImage | ( | PT_AttrPropIndex | api | ) | [private] |
References _getObjectKey(), _handleImage(), gchar, PD_Document::getAttrProp(), m_pDocument, and UT_UTF8String::utf8_str().
Referenced by _handleImage(), and populate().
void IE_Exp_HTML_Listener::_insertEndnotes | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::insertEndnotes(), m_endnotes, and m_pCurrentImpl.
void IE_Exp_HTML_Listener::_insertFootnotes | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::insertFootnotes(), m_footnotes, and m_pCurrentImpl.
Referenced by endOfDocument().
void IE_Exp_HTML_Listener::_insertImage | ( | PT_AttrPropIndex | api | ) | [private] |
References _getObjectKey(), _handleImage(), gchar, PD_Document::getAttrProp(), and m_pDocument.
Referenced by populate().
void IE_Exp_HTML_Listener::_insertLinks | ( | ) | [private] |
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_insertLinkToStyle | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::insertLink(), m_pCurrentImpl, m_pDataExporter, m_stylesheet, and IE_Exp_HTML_DataExporter::saveData().
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_insertMath | ( | PT_AttrPropIndex | api | ) | [private] |
References _getObjectKey(), UT_UTF8String::appendBuf(), UT_UTF8String::empty(), gchar, PD_Document::getAttrProp(), PD_Document::getDataItemDataByName(), IE_Exp_HTML_ListenerImpl::insertMath(), m_bHasMathMl, m_pCurrentImpl, m_pDocument, UT_ASSERT_HARMLESS, UT_LAYOUT_RESOLUTION, UT_return_if_fail, UT_SHOULD_NOT_HAPPEN, and UT_UTF8String_sprintf().
Referenced by populate().
void IE_Exp_HTML_Listener::_insertMeta | ( | ) | [private] |
void IE_Exp_HTML_Listener::_insertPosImage | ( | PT_AttrPropIndex | api | ) | [private] |
References _handleImage(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), m_pDocument, and PT_STRUX_IMAGE_DATAID.
Referenced by _openFrame().
void IE_Exp_HTML_Listener::_insertStyle | ( | ) | [private] |
References IE_Exp_HTML_ListenerImpl::insertStyle(), m_pCurrentImpl, and m_stylesheet.
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_insertTitle | ( | ) | [private] |
References PD_Document::getMetaDataProp(), IE_Exp_HTML_ListenerImpl::insertTitle(), m_pCurrentImpl, m_pDocument, and PD_META_KEY_TITLE.
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_insertTOC | ( | PT_AttrPropIndex | api | ) | [private] |
References gchar, PD_Document::getAttrProp(), fl_TOCLayout::getDefaultHeading(), IE_Exp_HTML_NavigationHelper::getFilenameByPosition(), PP_Property::getInitial(), IE_TOCHelper::getNthTOCEntry(), IE_TOCHelper::getNthTOCEntryPos(), IE_TOCHelper::getNumTOCEntries(), PP_AttrProp::getProperty(), IE_Exp_HTML_ListenerImpl::insertTOC(), m_bSplitDocument, m_pCurrentImpl, m_pDocument, m_pNavigationHelper, PP_lookupProperty(), UT_ASSERT_HARMLESS, UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_makeStylesheet | ( | PT_AttrPropIndex | api | ) | [private] |
References gchar, PD_Document::getAttrProp(), PD_Style::getNthProperty(), UT_ByteBuf::getPointer(), PD_Style::getPropertyCount(), PD_Document::getStyle(), is_CSS(), IS_TRANSPARENT_COLOR, m_pDocument, m_pStyleTree, m_stylesheet, PP_evalProperty(), IE_Exp_HTML_StyleTree::print(), sStyleSheet, szName, UT_colorToHex(), UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_openAnnotation | ( | PT_AttrPropIndex | api | ) | [private] |
References PD_Document::getAttrProp(), m_bInAnnotation, m_bInBlock, m_pCurrentImpl, m_pDocument, and IE_Exp_HTML_ListenerImpl::openAnnotation().
Referenced by populate().
void IE_Exp_HTML_Listener::_openBlock | ( | PT_AttrPropIndex | api | ) | [private] |
References _getObjectKey(), IE_Exp_HTML_StyleTree::class_name(), IE_Exp_HTML_StyleTree::find(), gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_bInBlock, m_pCurrentImpl, m_pDocument, m_pStyleTree, IE_Exp_HTML_ListenerImpl::openBlock(), PT_STYLE_ATTRIBUTE_NAME, and style.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openBody | ( | ) | [private] |
References m_pCurrentImpl, and IE_Exp_HTML_ListenerImpl::openBody().
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_openBookmark | ( | PT_AttrPropIndex | api | ) | [private] |
References gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), m_bInBookmark, m_bookmarkName, m_pCurrentImpl, m_pDocument, IE_Exp_HTML_ListenerImpl::openBookmark(), UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by populate().
void IE_Exp_HTML_Listener::_openCell | ( | PT_AttrPropIndex | api, | |
bool | recursiveCall = false | |||
) | [private] |
References _setCellWidthInches(), UT_UTF8String::append(), UT_UTF8String::byteLength(), DIM_PT, gchar, PD_Document::getAttrProp(), ie_Table::getBot(), ie_Table::getCellProp(), ie_Table::getLeft(), ie_Table::getRight(), ie_Table::getTableProp(), ie_Table::getTop(), PP_PropertyMap::linestyle_for_CSS(), m_iInCell, m_pCurrentImpl, m_pDocument, m_tableHelper, IE_Exp_HTML_ListenerImpl::openCell(), s, UT_HashColor::setHashIfValid(), size, UT_UTF8String::size(), UT_convertToDimension(), UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openDocument | ( | ) | [private] |
References m_pCurrentImpl, and IE_Exp_HTML_ListenerImpl::openDocument().
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_openEndnote | ( | PT_AttrPropIndex | api | ) | [private] |
References PD_Document::getAttrProp(), m_bInEndnote, and m_pDocument.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openField | ( | const PX_ChangeRecord_Object * | pcro, | |
PT_AttrPropIndex | api | |||
) | [private] |
References gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PX_ChangeRecord_Object::getField(), fd_Field::getValue(), m_bInEndnote, m_bInFootnote, m_currentFieldType, m_pCurrentField, m_pCurrentImpl, m_pDocument, IE_Exp_HTML_ListenerImpl::openField(), and UT_return_if_fail.
Referenced by populate().
void IE_Exp_HTML_Listener::_openFootnote | ( | PT_AttrPropIndex | api | ) | [private] |
References PD_Document::getAttrProp(), m_bInFootnote, and m_pDocument.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openFrame | ( | PT_AttrPropIndex | api, | |
const PX_ChangeRecord * | pcr | |||
) | [private] |
References _insertPosImage(), _openTextbox(), gchar, PD_Document::getAttrProp(), PX_ChangeRecord::getIndexAP(), PP_AttrProp::getProperty(), and m_pDocument.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openHead | ( | ) | [private] |
References m_pCurrentImpl, and IE_Exp_HTML_ListenerImpl::openHead().
Referenced by _beginOfDocument().
void IE_Exp_HTML_Listener::_openHeading | ( | PT_AttrPropIndex | api, | |
size_t | level, | |||
const gchar * | szStyleName = NULL | |||
) | [private] |
References PD_Document::getAttrProp(), m_bInHeading, m_iHeadingCount, m_pCurrentImpl, m_pDocument, IE_Exp_HTML_ListenerImpl::openHeading(), and UT_UTF8String_sprintf().
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openHyperlink | ( | PT_AttrPropIndex | api | ) | [private] |
void IE_Exp_HTML_Listener::_openList | ( | PT_AttrPropIndex | api, | |
bool | recursiveCall = false | |||
) | [private] |
References _closeList(), _getObjectKey(), _openListItem(), UT_GenericVector< T >::back(), IE_Exp_HTML_StyleTree::class_name(), IE_Exp_HTML_StyleTree::find(), gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), ListInfo::iItemCount, ListInfo::iLevel, m_listInfoStack, m_pCurrentImpl, m_pDocument, m_pStyleTree, IE_Exp_HTML_ListenerImpl::openList(), PT_LEVEL_ATTRIBUTE_NAME, PT_LISTID_ATTRIBUTE_NAME, UT_GenericVector< T >::push_back(), UT_GenericVector< T >::size(), ListInfo::szId, UT_ASSERT, UT_DEBUGMSG, and UT_SHOULD_NOT_HAPPEN.
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openListItem | ( | bool | recursiveCall = false |
) | [private] |
References _closeListItem(), UT_GenericVector< T >::back(), ListInfo::iItemCount, m_listInfoStack, m_pCurrentImpl, IE_Exp_HTML_ListenerImpl::openListItem(), UT_GenericVector< T >::pop_back(), UT_GenericVector< T >::push_back(), UT_GenericVector< T >::size(), and UT_DEBUGMSG.
Referenced by _openList().
void IE_Exp_HTML_Listener::_openRow | ( | PT_AttrPropIndex | api, | |
bool | recursiveCall = false | |||
) | [private] |
References PD_Document::getAttrProp(), m_iInRow, m_pCurrentImpl, m_pDocument, and IE_Exp_HTML_ListenerImpl::openRow().
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openSection | ( | PT_AttrPropIndex | api, | |
bool | recursiveCall = false | |||
) | [private] |
References _getObjectKey(), DIM_IN, gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_bInSection, PD_Document::m_docPageSize, m_dPageWidthInches, m_dSecBottomMarginInches, m_dSecLeftMarginInches, m_dSecRightMarginInches, m_dSecTopMarginInches, m_endnotes, m_pCurrentImpl, m_pDocument, IE_Exp_HTML_ListenerImpl::openSection(), PT_STYLE_ATTRIBUTE_NAME, UT_ASSERT, UT_convertToInches(), and fp_PageSize::Width().
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openSpan | ( | PT_AttrPropIndex | api | ) | [private] |
References _closeSpan(), _getObjectKey(), IE_Exp_HTML_StyleTree::class_name(), IE_Exp_HTML_StyleTree::find(), gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), IS_TRANSPARENT_COLOR, m_apiLastSpan, m_bInSpan, m_pCurrentImpl, m_pDocument, m_pStyleTree, IE_Exp_HTML_ListenerImpl::openSpan(), PT_STYLE_ATTRIBUTE_NAME, style, UT_colorToHex(), and UT_convertToPoints().
Referenced by populate().
void IE_Exp_HTML_Listener::_openTable | ( | PT_AttrPropIndex | api, | |
bool | recursiveCall = false | |||
) | [private] |
References _fillColWidthsVector(), UT_UTF8String::append(), UT_UTF8String::byteLength(), DIM_MM, DIM_PT, gchar, PD_Document::getAttrProp(), ie_Table::getTableProp(), PP_PropertyMap::linestyle_for_CSS(), m_bAbsUnits, m_bScaleUnits, m_dPageWidthInches, m_dSecLeftMarginInches, m_dSecRightMarginInches, m_iInTable, m_pCurrentImpl, m_pDocument, m_tableHelper, IE_Exp_HTML_ListenerImpl::openTable(), s, UT_HashColor::setHashIfValid(), size, UT_UTF8String::size(), UT_convertToDimension(), UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by populateStrux().
void IE_Exp_HTML_Listener::_openTextbox | ( | PT_AttrPropIndex | api | ) | [private] |
References gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_bInTextbox, m_pCurrentImpl, m_pDocument, IE_Exp_HTML_ListenerImpl::openTextbox(), and style.
Referenced by _openFrame().
void IE_Exp_HTML_Listener::_outputData | ( | const UT_UCSChar * | pData, | |
UT_uint32 | length | |||
) | [private] |
void IE_Exp_HTML_Listener::_setCellWidthInches | ( | ) | [private] |
References ie_Table::getLeft(), UT_GenericVector< T >::getNthItem(), ie_Table::getRight(), m_dCellWidthInches, m_tableHelper, m_vecDWidths, UT_GenericVector< T >::size(), and UT_ASSERT_HARMLESS.
Referenced by _openCell().
bool IE_Exp_HTML_Listener::change | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
bool IE_Exp_HTML_Listener::endOfDocument | ( | ) | [virtual] |
References _closeBlock(), _closeBody(), _closeBookmark(), _closeCell(), _closeDocument(), _closeField(), _closeHeading(), _closeHyperlink(), _closeLists(), _closeSection(), _closeSpan(), _closeTable(), _insertAnnotations(), and _insertFootnotes().
Referenced by IE_Exp_HTML::_createChapter(), and IE_Exp_HTML::_createMultipart().
bool IE_Exp_HTML_Listener::get_HasMathML | ( | ) | const [inline] |
References m_bHasMathMl.
Referenced by IE_Exp_HTML::_createChapter().
void IE_Exp_HTML_Listener::insertLineFeed | ( | void | ) |
bool IE_Exp_HTML_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 IE_Exp_HTML_Listener::populate | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References _closeAnnotation(), _closeBookmark(), _closeField(), _closeHyperlink(), _closeSpan(), _insertEmbeddedImage(), _insertImage(), _insertMath(), _openAnnotation(), _openBookmark(), _openField(), _openHyperlink(), _openSpan(), _outputData(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PX_ChangeRecord_Span::getBufIndex(), PX_ChangeRecord_Span::getField(), PX_ChangeRecord::getIndexAP(), PX_ChangeRecord_Span::getLength(), PX_ChangeRecord_Object::getObjectType(), PD_Document::getPointer(), PX_ChangeRecord::getType(), m_annotationContents, m_bInAnnotation, m_bInAnnotationSection, m_bInEndnote, m_bInFootnote, m_bRenderMathToPng, m_bSkipSection, m_endnotes, m_footnotes, m_pCurrentField, m_pDocument, PTO_Annotation, PTO_Bookmark, PTO_Embed, PTO_Field, PTO_Hyperlink, PTO_Image, PTO_Math, PTO_RDFAnchor, PX_ChangeRecord::PXT_InsertFmtMark, PX_ChangeRecord::PXT_InsertObject, PX_ChangeRecord::PXT_InsertSpan, UT_ASSERT_HARMLESS, UT_DEBUGMSG, and UT_TODO.
bool IE_Exp_HTML_Listener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
const PX_ChangeRecord * | pcr, | |||
fl_ContainerLayout ** | psfh | |||
) | [virtual] |
Implements PL_Listener.
References _beginOfDocument(), _closeBlock(), _closeBookmark(), _closeCell(), _closeEndnote(), _closeField(), _closeFootnote(), _closeFrame(), _closeHeading(), _closeHyperlink(), _closeLists(), _closeRow(), _closeSection(), _closeSpan(), _closeTable(), _getObjectKey(), _handleAnnotationData(), _insertTOC(), _openBlock(), _openCell(), _openEndnote(), _openFootnote(), _openFrame(), _openHeading(), _openList(), _openRow(), _openSection(), _openTable(), ie_Table::closeCell(), ie_Table::closeTable(), gchar, PX_ChangeRecord::getIndexAP(), PX_ChangeRecord_Strux::getStruxType(), PX_ChangeRecord::getType(), ie_Table::isNewRow(), m_bFirstRow, m_bFirstWrite, m_bInAnnotationSection, m_bInEndnote, m_bInFootnote, m_bSkipSection, m_tableHelper, ie_Table::openCell(), ie_Table::openTable(), PT_LISTID_ATTRIBUTE_NAME, PT_STYLE_ATTRIBUTE_NAME, 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, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_return_val_if_fail, and UT_TODO.
void IE_Exp_HTML_Listener::set_EmbedCSS | ( | bool | bEmbed = true |
) | [inline] |
References m_bEmbedCss.
Referenced by IE_Exp_HTML::_createChapter(), and IE_Exp_HTML::_createMultipart().
void IE_Exp_HTML_Listener::set_EmbedImages | ( | bool | bEmbed = true |
) | [inline] |
References m_bEmbedImages.
Referenced by IE_Exp_HTML::_createChapter().
void IE_Exp_HTML_Listener::set_RenderMathMLToPng | ( | bool | bRender = true |
) | [inline] |
References m_bRenderMathToPng.
Referenced by IE_Exp_HTML::_createChapter(), and IE_Exp_HTML::_createMultipart().
void IE_Exp_HTML_Listener::set_SplitDocument | ( | bool | bSplit = true |
) | [inline] |
References m_bSplitDocument.
Referenced by IE_Exp_HTML::_createChapter().
bool IE_Exp_HTML_Listener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
std::vector<UT_UTF8String> IE_Exp_HTML_Listener::m_annotationAuthors [private] |
Referenced by _handleAnnotationData(), and _insertAnnotations().
std::vector<UT_UTF8String> IE_Exp_HTML_Listener::m_annotationContents [private] |
Referenced by _insertAnnotations(), and populate().
std::vector<UT_UTF8String> IE_Exp_HTML_Listener::m_annotationTitles [private] |
Referenced by _handleAnnotationData(), and _insertAnnotations().
Referenced by _openSpan().
bool IE_Exp_HTML_Listener::m_bAbsUnits [private] |
Referenced by _openTable().
bool IE_Exp_HTML_Listener::m_bEmbedCss [private] |
Referenced by _beginOfDocument(), and set_EmbedCSS().
bool IE_Exp_HTML_Listener::m_bEmbedImages [private] |
Referenced by _handleImage(), and set_EmbedImages().
bool IE_Exp_HTML_Listener::m_bFirstRow [private] |
Referenced by populateStrux().
bool IE_Exp_HTML_Listener::m_bFirstWrite [private] |
Referenced by _beginOfDocument(), and populateStrux().
bool IE_Exp_HTML_Listener::m_bHasMathMl [private] |
Referenced by _insertMath(), and get_HasMathML().
bool IE_Exp_HTML_Listener::m_bInAnnotation [private] |
Referenced by _closeAnnotation(), _openAnnotation(), and populate().
bool IE_Exp_HTML_Listener::m_bInAnnotationSection [private] |
Referenced by populate(), and populateStrux().
bool IE_Exp_HTML_Listener::m_bInBlock [private] |
Referenced by _closeAnnotation(), _closeBlock(), _closeFootnote(), _openAnnotation(), and _openBlock().
bool IE_Exp_HTML_Listener::m_bInBookmark [private] |
Referenced by _closeBookmark(), and _openBookmark().
bool IE_Exp_HTML_Listener::m_bInEndnote [private] |
Referenced by _closeEndnote(), _openEndnote(), _openField(), populate(), and populateStrux().
bool IE_Exp_HTML_Listener::m_bInFootnote [private] |
Referenced by _closeFootnote(), _openField(), _openFootnote(), populate(), and populateStrux().
bool IE_Exp_HTML_Listener::m_bInHeading [private] |
Referenced by _closeHeading(), and _openHeading().
bool IE_Exp_HTML_Listener::m_bInHyperlink [private] |
Referenced by _closeHyperlink(), and _openHyperlink().
bool IE_Exp_HTML_Listener::m_bInSection [private] |
Referenced by _closeSection(), and _openSection().
bool IE_Exp_HTML_Listener::m_bInSpan [private] |
Referenced by _closeSpan(), and _openSpan().
bool IE_Exp_HTML_Listener::m_bInTextbox [private] |
Referenced by _closeTextbox(), and _openTextbox().
Referenced by _openBookmark().
bool IE_Exp_HTML_Listener::m_bRenderMathToPng [private] |
Referenced by populate(), and set_RenderMathMLToPng().
bool IE_Exp_HTML_Listener::m_bScaleUnits [private] |
Referenced by _openTable().
bool IE_Exp_HTML_Listener::m_bSkipSection [private] |
Referenced by populate(), and populateStrux().
bool IE_Exp_HTML_Listener::m_bSplitDocument [private] |
Referenced by _insertTOC(), _openHyperlink(), and set_SplitDocument().
Referenced by _closeField(), and _openField().
double IE_Exp_HTML_Listener::m_dCellWidthInches [private] |
Referenced by _handleImage(), and _setCellWidthInches().
double IE_Exp_HTML_Listener::m_dPageWidthInches [private] |
Referenced by _fillColWidthsVector(), _handleImage(), _openSection(), and _openTable().
double IE_Exp_HTML_Listener::m_dSecBottomMarginInches [private] |
Referenced by _openSection().
double IE_Exp_HTML_Listener::m_dSecLeftMarginInches [private] |
Referenced by _fillColWidthsVector(), _handleImage(), _openSection(), and _openTable().
double IE_Exp_HTML_Listener::m_dSecRightMarginInches [private] |
Referenced by _fillColWidthsVector(), _handleImage(), _openSection(), and _openTable().
double IE_Exp_HTML_Listener::m_dSecTopMarginInches [private] |
Referenced by _openSection().
std::vector<UT_UTF8String> IE_Exp_HTML_Listener::m_endnotes [private] |
Referenced by _closeSection(), _insertEndnotes(), _openSection(), and populate().
Referenced by _openHyperlink().
std::vector<UT_UTF8String> IE_Exp_HTML_Listener::m_footnotes [private] |
Referenced by _insertFootnotes(), and populate().
Referenced by _openHeading().
UT_sint32 IE_Exp_HTML_Listener::m_iInCell [private] |
Referenced by _closeCell(), and _openCell().
UT_sint32 IE_Exp_HTML_Listener::m_iInRow [private] |
Referenced by _closeRow(), and _openRow().
UT_sint32 IE_Exp_HTML_Listener::m_iInTable [private] |
Referenced by _closeTable(), and _openTable().
Referenced by _closeList(), _closeListItem(), _closeLists(), _openList(), and _openListItem().
fd_Field* IE_Exp_HTML_Listener::m_pCurrentField [private] |
Referenced by _closeField(), _openField(), and populate().
Referenced by _closeAnnotation(), _closeBlock(), _closeBody(), _closeBookmark(), _closeCell(), _closeDocument(), _closeField(), _closeHead(), _closeHeading(), _closeHyperlink(), _closeList(), _closeListItem(), _closeRow(), _closeSection(), _closeSpan(), _closeTable(), _closeTextbox(), _handleImage(), _insertAnnotations(), _insertDTD(), _insertEndnotes(), _insertFootnotes(), _insertLinkToStyle(), _insertMath(), _insertMeta(), _insertStyle(), _insertTitle(), _insertTOC(), _openAnnotation(), _openBlock(), _openBody(), _openBookmark(), _openCell(), _openDocument(), _openField(), _openHead(), _openHeading(), _openHyperlink(), _openList(), _openListItem(), _openRow(), _openSection(), _openSpan(), _openTable(), _openTextbox(), and _outputData().
Referenced by _handleImage(), and _insertLinkToStyle().
PD_Document* IE_Exp_HTML_Listener::m_pDocument [private] |
Referenced by _getObjectKey(), _handleAnnotationData(), _handleImage(), _insertEmbeddedImage(), _insertImage(), _insertMath(), _insertMeta(), _insertPosImage(), _insertTitle(), _insertTOC(), _makeStylesheet(), _openAnnotation(), _openBlock(), _openBookmark(), _openCell(), _openEndnote(), _openField(), _openFootnote(), _openFrame(), _openHeading(), _openHyperlink(), _openList(), _openRow(), _openSection(), _openSpan(), _openTable(), _openTextbox(), and populate().
Referenced by _insertTOC(), and _openHyperlink().
Referenced by _makeStylesheet(), _openBlock(), _openList(), and _openSpan().
Referenced by _insertLinkToStyle(), _insertStyle(), and _makeStylesheet().
ie_Table IE_Exp_HTML_Listener::m_tableHelper [private] |
Referenced by _fillColWidthsVector(), _handleImage(), _openCell(), _openTable(), _setCellWidthInches(), and populateStrux().
UT_GenericVector<double> IE_Exp_HTML_Listener::m_vecDWidths [private] |
Referenced by _fillColWidthsVector(), and _setCellWidthInches().