#include "ut_types.h"
Go to the source code of this file.
Classes | |
class | PD_DocumentRange |
Defines | |
#define | PT_PROPS_ATTRIBUTE_NAME (static_cast<const gchar *>("props")) |
#define | PT_STYLE_ATTRIBUTE_NAME (static_cast<const gchar *>("style")) |
#define | PT_LEVEL_ATTRIBUTE_NAME (static_cast<const gchar *>("level")) |
#define | PT_LISTID_ATTRIBUTE_NAME (static_cast<const gchar *>("listid")) |
#define | PT_PARENTID_ATTRIBUTE_NAME (static_cast<const gchar *>("parentid")) |
#define | PT_NAME_ATTRIBUTE_NAME (static_cast<const gchar *>("name")) |
#define | PT_TYPE_ATTRIBUTE_NAME (static_cast<const gchar *>("type")) |
#define | PT_BASEDON_ATTRIBUTE_NAME (static_cast<const gchar *>("basedon")) |
#define | PT_FOLLOWEDBY_ATTRIBUTE_NAME (static_cast<const gchar *>("followedby")) |
#define | PT_ID_ATTRIBUTE_NAME (static_cast<const gchar *>("id")) |
#define | PT_HEADER_ATTRIBUTE_NAME (static_cast<const gchar *>("header")) |
#define | PT_HEADEREVEN_ATTRIBUTE_NAME (static_cast<const gchar *>("header-even")) |
#define | PT_HEADERFIRST_ATTRIBUTE_NAME (static_cast<const gchar *>("header-first")) |
#define | PT_HEADERLAST_ATTRIBUTE_NAME (static_cast<const gchar *>("header-last")) |
#define | PT_FOOTER_ATTRIBUTE_NAME (static_cast<const gchar *>("footer")) |
#define | PT_FOOTEREVEN_ATTRIBUTE_NAME (static_cast<const gchar *>("footer-even")) |
#define | PT_FOOTERFIRST_ATTRIBUTE_NAME (static_cast<const gchar *>("footer-first")) |
#define | PT_FOOTERLAST_ATTRIBUTE_NAME (static_cast<const gchar *>("footer-last")) |
#define | PT_REVISION_ATTRIBUTE_NAME (static_cast<const gchar *>("revision")) |
#define | PT_REVISION_DESC_ATTRIBUTE_NAME (static_cast<const gchar *>("revision-desc")) |
#define | PT_REVISION_TIME_ATTRIBUTE_NAME (static_cast<const gchar *>("revision-time")) |
#define | PT_REVISION_VERSION_ATTRIBUTE_NAME (static_cast<const gchar *>("revision-ver")) |
#define | PT_DOCPROP_ATTRIBUTE_NAME (static_cast<const gchar *>("docprop")) |
#define | PT_STRUX_IMAGE_DATAID (static_cast<const gchar *>("strux-image-dataid")) |
#define | PT_XID_ATTRIBUTE_NAME (static_cast<const gchar *>("xid")) |
#define | PT_DATAITEM_ATTRIBUTE_NAME (static_cast<const gchar *>("dataitem")) |
#define | PT_IMAGE_DATAID (static_cast<const gchar *>("dataid")) |
#define | PT_IMAGE_TITLE (static_cast<const gchar *>("title")) |
#define | PT_IMAGE_DESCRIPTION (static_cast<const gchar *>("alt")) |
#define | PT_DATA_PREVIEW (static_cast<const gchar *>("preview")) |
#define | PT_HYPERLINK_TARGET_NAME (static_cast<const gchar *>("xlink:href")) |
#define | PT_AUTHOR_NAME (static_cast<const gchar *>("author")) |
#define | PT_ANNOTATION_NUMBER (static_cast<const gchar *>("annotation")) |
#define | PT_RDF_XMLID (static_cast<const gchar *>("xml:id")) |
#define | PT_XMLID (static_cast<const gchar *>("xml:id")) |
#define | PT_RDF_END (static_cast<const gchar *>("rdf:end")) |
#define | PT_CHANGETRACKING_SPLIT_ID (static_cast<const gchar *>("ct:split-id")) |
#define | PT_CHANGETRACKING_SPLIT_ID_REF (static_cast<const gchar *>("ct:split-id-ref")) |
#define | PT_CHANGETRACKING_SPLIT_IS_NEW (static_cast<const gchar *>("ct:split-is-new")) |
#define | ABIATTR_PARA_START_DELETED_REVISION (static_cast<const gchar *>("abi-para-start-deleted-revision")) |
#define | ABIATTR_PARA_END_DELETED_REVISION (static_cast<const gchar *>("abi-para-end-deleted-revision")) |
#define | ABIATTR_PARA_DELETED_REVISION (static_cast<const gchar *>("abi-para-deleted-revision")) |
Typedefs | |
typedef UT_uint32 | PT_BufIndex |
index to actual document data | |
typedef UT_uint32 | PT_AttrPropIndex |
index to Attribute/Property Tables | |
typedef UT_uint32 | PT_DocPosition |
absolute document position | |
typedef UT_uint32 | PT_BlockOffset |
block-relative document position | |
typedef UT_uint32 | PL_ListenerId |
ID of a listener - this is its location in m_vecListeners. | |
Enumerations | |
enum | PTStruxType { PTX_Section = 0, PTX_Block, PTX_SectionHdrFtr, PTX_SectionEndnote, PTX_SectionTable, PTX_SectionCell, PTX_SectionFootnote, PTX_SectionMarginnote, PTX_SectionAnnotation, PTX_SectionFrame, PTX_SectionTOC, PTX_EndCell, PTX_EndTable, PTX_EndFootnote, PTX_EndMarginnote, PTX_EndEndnote, PTX_EndAnnotation, PTX_EndFrame, PTX_EndTOC, PTX_StruxDummy } |
PTStruxType tells the sub-type of a FragStrux. More... | |
enum | PTObjectType { PTO_Image = 0, PTO_Field, PTO_Bookmark, PTO_Hyperlink, PTO_Math, PTO_Embed, PTO_Annotation, PTO_RDFAnchor } |
PTObjectType tells the sub-type of an FragObject. More... | |
enum | PTState { PTS_Create = 0, PTS_Loading = 1, PTS_Editing = 2 } |
PieceTable states. More... | |
enum | PTChangeFmt { PTC_AddFmt = 0, PTC_RemoveFmt = 1, PTC_AddStyle = 2, PTC_SetFmt = 3, PTC_SetExactly = 4 } |
ChangeFormat types. More... | |
enum | PLListenerType { PTL_UNKNOWN, PTL_DocLayout, PTL_CollabExport, PTL_CollabServiceExport } |
#define ABIATTR_PARA_DELETED_REVISION (static_cast<const gchar *>("abi-para-deleted-revision")) |
Referenced by pt_PieceTable::deleteSpan().
#define ABIATTR_PARA_END_DELETED_REVISION (static_cast<const gchar *>("abi-para-end-deleted-revision")) |
Referenced by pt_PieceTable::deleteSpan(), and APFilterDropParaDeleteMarkers::operator()().
#define ABIATTR_PARA_START_DELETED_REVISION (static_cast<const gchar *>("abi-para-start-deleted-revision")) |
Referenced by pt_PieceTable::deleteSpan(), and APFilterDropParaDeleteMarkers::operator()().
#define PT_ANNOTATION_NUMBER (static_cast<const gchar *>("annotation")) |
Referenced by PD_Document::isInsertHyperLinkValid(), and ODe_AbiDocListener::populateStrux().
#define PT_AUTHOR_NAME (static_cast<const gchar *>("author")) |
#define PT_BASEDON_ATTRIBUTE_NAME (static_cast<const gchar *>("basedon")) |
#define PT_CHANGETRACKING_SPLIT_ID (static_cast<const gchar *>("ct:split-id")) |
#define PT_CHANGETRACKING_SPLIT_ID_REF (static_cast<const gchar *>("ct:split-id-ref")) |
#define PT_CHANGETRACKING_SPLIT_IS_NEW (static_cast<const gchar *>("ct:split-is-new")) |
#define PT_DATA_PREVIEW (static_cast<const gchar *>("preview")) |
#define PT_DATAITEM_ATTRIBUTE_NAME (static_cast<const gchar *>("dataitem")) |
Referenced by ABI_Collab_Export::_buildPacket(), and ABI_Collab_Import::_import().
#define PT_DOCPROP_ATTRIBUTE_NAME (static_cast<const gchar *>("docprop")) |
Referenced by fl_DocListener::change(), and PD_Document::changeDocPropeties().
#define PT_FOLLOWEDBY_ATTRIBUTE_NAME (static_cast<const gchar *>("followedby")) |
#define PT_FOOTER_ATTRIBUTE_NAME (static_cast<const gchar *>("footer")) |
#define PT_FOOTEREVEN_ATTRIBUTE_NAME (static_cast<const gchar *>("footer-even")) |
#define PT_FOOTERFIRST_ATTRIBUTE_NAME (static_cast<const gchar *>("footer-first")) |
#define PT_FOOTERLAST_ATTRIBUTE_NAME (static_cast<const gchar *>("footer-last")) |
#define PT_HEADER_ATTRIBUTE_NAME (static_cast<const gchar *>("header")) |
#define PT_HEADEREVEN_ATTRIBUTE_NAME (static_cast<const gchar *>("header-even")) |
#define PT_HEADERFIRST_ATTRIBUTE_NAME (static_cast<const gchar *>("header-first")) |
#define PT_HEADERLAST_ATTRIBUTE_NAME (static_cast<const gchar *>("header-last")) |
#define PT_HYPERLINK_TARGET_NAME (static_cast<const gchar *>("xlink:href")) |
Referenced by PD_Document::isInsertHyperLinkValid().
#define PT_ID_ATTRIBUTE_NAME (static_cast<const gchar *>("id")) |
Referenced by PD_Document::findHdrFtrStrux(), and IE_Imp_AbiWord_1::startElement().
#define PT_IMAGE_DATAID (static_cast<const gchar *>("dataid")) |
#define PT_IMAGE_DESCRIPTION (static_cast<const gchar *>("alt")) |
Referenced by FV_VisualInlineImage::mouseRelease().
#define PT_IMAGE_TITLE (static_cast<const gchar *>("title")) |
Referenced by FV_VisualInlineImage::mouseRelease().
#define PT_LEVEL_ATTRIBUTE_NAME (static_cast<const gchar *>("level")) |
#define PT_LISTID_ATTRIBUTE_NAME (static_cast<const gchar *>("listid")) |
Referenced by fl_BlockLayout::_lookupProperties(), IE_Exp_HTML_Listener::_openList(), s_LaTeX_Listener::_openParagraph(), IE_Imp_RTF::ApplyParagraphAttributes(), fl_ContainerLayout::getLevelInList(), fl_BlockLayout::getListAttributesVector(), IE_Exp_HTML_Listener::populateStrux(), and fl_BlockLayout::StartList().
#define PT_NAME_ATTRIBUTE_NAME (static_cast<const gchar *>("name")) |
Referenced by ODe_Styles::_addStyle(), _getStyle(), IE_Exp_HTML_StyleTree::add(), pt_PieceTable::appendStyle(), ODe_Style_Style::fetchAttributesFromAbiStyle(), IE_Exp_HTML_StyleTree::find(), IE_Imp_RTF::HandleStyleDefinition(), FV_View::insertParagraphBreak(), AP_UnixDialog_Styles::new_styleName(), OXML_Style::OXML_Style(), PD_Document::removeStyle(), OXML_Style::setName(), ODi_TextContent_ListenerState::startElement(), and IE_Imp_AbiWord_1::startElement().
#define PT_PARENTID_ATTRIBUTE_NAME (static_cast<const gchar *>("parentid")) |
Referenced by fl_BlockLayout::_lookupProperties(), and IE_Imp_RTF::ApplyParagraphAttributes().
#define PT_PROPS_ATTRIBUTE_NAME (static_cast<const gchar *>("props")) |
Referenced by s_AbiWord_1_Listener::_handleAuthors(), s_AbiWord_1_Listener::_openTag(), IE_Imp_RTF::ApplyParagraphAttributes(), PP_AttrProp::cloneWithElimination(), PP_AttrProp::cloneWithEliminationIfEqual(), PP_AttrProp::cloneWithReplacements(), IE_Imp_XSL_FO::createImage(), IE_Imp_WML::createImage(), IE_Imp_DocBook::createImage(), IE_Imp_RTF::HandleStyleDefinition(), PP_AttrProp::isEquivalent(), FV_VisualInlineImage::mouseRelease(), IE_Imp_XHTML::newBlock(), PP_AttrProp::setAttribute(), and IE_Imp_AbiWord_1::startElement().
#define PT_RDF_END (static_cast<const gchar *>("rdf:end")) |
Referenced by FV_View::cmdInsertXMLID(), IE_Imp_RTF::HandleRDFAnchor(), and RDFAnchor::setup().
#define PT_RDF_XMLID (static_cast<const gchar *>("xml:id")) |
Referenced by PD_Document::isInsertHyperLinkValid().
#define PT_REVISION_ATTRIBUTE_NAME (static_cast<const gchar *>("revision")) |
#define PT_REVISION_DESC_ATTRIBUTE_NAME (static_cast<const gchar *>("revision-desc")) |
Referenced by PD_Document::changeDocPropeties().
#define PT_REVISION_TIME_ATTRIBUTE_NAME (static_cast<const gchar *>("revision-time")) |
Referenced by PD_Document::changeDocPropeties().
#define PT_REVISION_VERSION_ATTRIBUTE_NAME (static_cast<const gchar *>("revision-ver")) |
Referenced by PD_Document::changeDocPropeties().
#define PT_STRUX_IMAGE_DATAID (static_cast<const gchar *>("strux-image-dataid")) |
Referenced by fl_FrameLayout::_createFrameContainer(), IE_Exp_HTML_Listener::_insertPosImage(), fl_DocSectionLayout::_lookupProperties(), s_RTF_ListenerWriteDoc::_openFrame(), IE_Imp_RTF::addFrame(), FV_View::convertPositionedToInLine(), fl_CellLayout::createCellContainer(), FG_GraphicVector::createFromStrux(), FG_GraphicRaster::createFromStrux(), FV_FrameEdit::getPNGImage(), FV_View::isImageAtStrux(), ODe_Text_Listener::openFrame(), s_AbiWord_1_Listener::populateStrux(), and FV_View::saveSelectedImage().
#define PT_STYLE_ATTRIBUTE_NAME (static_cast<const gchar *>("style")) |
Referenced by IE_Imp_RTF::_appendSpan(), _getStyle(), IE_Exp_HTML_XHTMLWriter::_handleAwmlStyle(), IE_Imp_RTF::_insertSpan(), fp_TextRun::_lookupProperties(), fl_BlockLayout::_lookupProperties(), IE_Exp_HTML_Listener::_openBlock(), s_WML_Listener::_openParagraph(), s_LaTeX_Listener::_openParagraph(), s_DocBook_Listener::_openParagraph(), IE_Exp_HTML_Listener::_openSection(), s_RTF_ListenerWriteDoc::_openSpan(), IE_Exp_HTML_Listener::_openSpan(), s_HRText_Listener::_openTag(), pt_PieceTable::_realChangeSpanFmt(), pt_PieceTable::_realChangeStruxFmt(), IE_Imp_RTF::ApplyParagraphAttributes(), FV_View::cmdInsertEmbed(), FV_View::cmdInsertLatexMath(), FV_View::cmdInsertMathML(), FV_View::cmdUpdateEmbed(), PP_AttrProp::explodeStyle(), PD_Document::findForwardStyleStrux(), PD_Document::findPreviousStyleStrux(), fl_BlockLayout::fl_BlockLayout(), PD_Document::getAllUsedStyles(), fl_BlockLayout::getListAttributesVector(), PD_Document::getStyleFromSDH(), pt_PieceTable::insertSpan(), FV_View::isNumberedHeadingHere(), pt_VarSet::mergeAP(), TOC_Listener::populateStrux(), IE_Exp_HTML_Listener::populateStrux(), PD_Document::removeStyle(), OXML_Element_Paragraph::serializeProperties(), OXMLi_ListenerState_Common::startElement(), IE_Exp_HTML_StyleListener::styleCheck(), PD_Document::updateDocForStyleChange(), and x_getStyle().
#define PT_TYPE_ATTRIBUTE_NAME (static_cast<const gchar *>("type")) |
Referenced by ODe_Styles::_addStyle(), AP_Dialog_Styles::_populateAbiPreview(), AP_UnixDialog_Styles::_populateModify(), FV_View::_removeThisHdrFtr(), AP_Dialog_Styles::fillVecWithProps(), PD_Document::findHdrFtrStrux(), IE_Imp_RTF::HandleStyleDefinition(), PD_Style::isCharStyle(), IE_Imp_MSWrite::read_txt(), and OXMLi_ListenerState_Styles::startElement().
#define PT_XID_ATTRIBUTE_NAME (static_cast<const gchar *>("xid")) |
#define PT_XMLID (static_cast<const gchar *>("xml:id")) |
Referenced by pt_PieceTable::_deleteComplexSpan(), ODi_TextContent_ListenerState::_insertBookmark(), ODe_Text_Listener::_openParagraphDelayed(), ODi_Table_ListenerState::_parseCellStart(), ODi_TextContent_ListenerState::_startParagraphElement(), PD_DocumentRDF::addXMLIDsForObjects(), PD_DocumentRDF::dumpObjectMarkersFromDocument(), PD_DocumentRDF::getObjectsInScopeOfTypesForRange(), pf_Frag::getXMLID(), ODe_Table_Cell::loadAbiProps(), ODe_Text_Listener::openAnnotation(), ODe_Text_Listener::openBookmark(), PD_DocumentRDF::priv_addRelevantIDsForPosition(), PD_XMLIDCreator::rebuildCache(), RDFAnchor::setup(), and IE_Imp_AbiWord_1::startElement().
typedef UT_uint32 PL_ListenerId |
ID of a listener - this is its location in m_vecListeners.
typedef UT_uint32 PT_AttrPropIndex |
index to Attribute/Property Tables
typedef UT_uint32 PT_BlockOffset |
block-relative document position
typedef UT_uint32 PT_BufIndex |
index to actual document data
typedef UT_uint32 PT_DocPosition |
absolute document position
enum PLListenerType |
enum PTChangeFmt |
enum PTObjectType |
enum PTState |
enum PTStruxType |
PTStruxType tells the sub-type of a FragStrux.