Classes | Defines | Typedefs | Enumerations

pt_Types.h File Reference

#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 Documentation

#define ABIATTR_PARA_DELETED_REVISION   (static_cast<const gchar *>("abi-para-deleted-revision"))
#define ABIATTR_PARA_END_DELETED_REVISION   (static_cast<const gchar *>("abi-para-end-deleted-revision"))
#define ABIATTR_PARA_START_DELETED_REVISION   (static_cast<const gchar *>("abi-para-start-deleted-revision"))
#define PT_ANNOTATION_NUMBER   (static_cast<const gchar *>("annotation"))
#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"))
#define PT_DOCPROP_ATTRIBUTE_NAME   (static_cast<const gchar *>("docprop"))
#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"))
#define PT_ID_ATTRIBUTE_NAME   (static_cast<const gchar *>("id"))
#define PT_IMAGE_DATAID   (static_cast<const gchar *>("dataid"))
#define PT_IMAGE_DESCRIPTION   (static_cast<const gchar *>("alt"))
#define PT_IMAGE_TITLE   (static_cast<const gchar *>("title"))
#define PT_LEVEL_ATTRIBUTE_NAME   (static_cast<const gchar *>("level"))
#define PT_LISTID_ATTRIBUTE_NAME   (static_cast<const gchar *>("listid"))
#define PT_NAME_ATTRIBUTE_NAME   (static_cast<const gchar *>("name"))
#define PT_PARENTID_ATTRIBUTE_NAME   (static_cast<const gchar *>("parentid"))
#define PT_PROPS_ATTRIBUTE_NAME   (static_cast<const gchar *>("props"))
#define PT_RDF_END   (static_cast<const gchar *>("rdf:end"))
#define PT_RDF_XMLID   (static_cast<const gchar *>("xml:id"))
#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_STRUX_IMAGE_DATAID   (static_cast<const gchar *>("strux-image-dataid"))
#define PT_STYLE_ATTRIBUTE_NAME   (static_cast<const gchar *>("style"))
#define PT_TYPE_ATTRIBUTE_NAME   (static_cast<const gchar *>("type"))
#define PT_XID_ATTRIBUTE_NAME   (static_cast<const gchar *>("xid"))
#define PT_XMLID   (static_cast<const gchar *>("xml:id"))

Typedef Documentation

ID of a listener - this is its location in m_vecListeners.

index to Attribute/Property Tables

block-relative document position

index to actual document data

absolute document position


Enumeration Type Documentation

Enumerator:
PTL_UNKNOWN 
PTL_DocLayout 
PTL_CollabExport 
PTL_CollabServiceExport 

ChangeFormat types.

Enumerator:
PTC_AddFmt 
PTC_RemoveFmt 
PTC_AddStyle 
PTC_SetFmt 
PTC_SetExactly 

PTObjectType tells the sub-type of an FragObject.

Enumerator:
PTO_Image 
PTO_Field 
PTO_Bookmark 
PTO_Hyperlink 
PTO_Math 
PTO_Embed 
PTO_Annotation 
PTO_RDFAnchor 
enum PTState

PieceTable states.

Enumerator:
PTS_Create 
PTS_Loading 
PTS_Editing 

PTStruxType tells the sub-type of a FragStrux.

Enumerator:
PTX_Section 
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