#include <pd_Document.h>

Public Member Functions | |
| PD_Document (XAP_App *pApp) | |
| virtual AD_DOCUMENT_TYPE | getType () const |
| virtual UT_Error | readFromFile (const char *szFilename, int ieft, const char *impProps=NULL) |
| virtual UT_Error | importFile (const char *szFilename, int ieft, bool markClean=false, bool bImportStylesFirst=true, const char *impProps=NULL) |
| UT_Error | readFromFile (GsfInput *input, int ieft, const char *impProps=NULL) |
| UT_Error | importFile (GsfInput *input, int ieft, bool markClean=false, bool bImportStylesFirst=true, const char *impProps=NULL) |
| virtual UT_Error | importStyles (const char *szFilename, int ieft, bool bDocProps=false) |
| virtual UT_Error | newDocument (void) |
| UT_Error | saveAs (GsfOutput *output, int ieft, bool cpy=false, const char *expProps=NULL) |
| UT_Error | createRawDocument (void) |
| void | finishRawCreation (void) |
| virtual bool | isDirty (void) const |
| virtual void | forceDirty () |
| bool | isConnected (void) |
| virtual bool | canDo (bool bUndo) const |
| virtual UT_uint32 | undoCount (bool bUndo) const |
| virtual bool | undoCmd (UT_uint32 repeatCount) |
| virtual bool | redoCmd (UT_uint32 repeatCount) |
| bool | isDoingTheDo (void) const |
| const char * | getAuthorUUIDFromNum (UT_sint32 id) |
| UT_sint32 | getNumFromAuthorUUID (const char *szUUID) |
| void | setShowAuthors (bool bAuthors) |
| bool | isShowAuthors (void) const |
| bool | addAuthorAttributeIfBlank (const gchar **szAttsIn, const gchar **&szAttsOut) |
| bool | addAuthorAttributeIfBlank (PP_AttrProp *&p_AttrProp) |
| bool | isExportAuthorAtts (void) const |
| void | setExportAuthorAtts (bool bExport) |
| UT_sint32 | getMyAuthorInt (void) const |
| void | setMyAuthorInt (UT_sint32 iAuthor) |
| UT_sint32 | getLastAuthorInt (void) const |
| UT_sint32 | getNumAuthors (void) |
| pp_Author * | getNthAuthor (UT_sint32 i) |
| pp_Author * | getAuthorByInt (UT_sint32 i) |
| pp_Author * | getAuthorByUUID (const gchar *szUUID) |
| pp_Author * | addAuthor (const gchar *szUUID, UT_sint32 iAuthor) |
| bool | sendAddAuthorCR (pp_Author *pAuthor) |
| bool | sendChangeAuthorCR (pp_Author *pAuthor) |
| UT_sint32 | findFirstFreeAuthorInt (void) |
| void | beginUserAtomicGlob (void) |
| void | endUserAtomicGlob (void) |
| void | setMarginChangeOnly (bool b) |
| bool | isMarginChangeOnly (void) const |
| bool | changeObjectFormatNoUpdate (PTChangeFmt ptc, PL_ObjectHandle odh, const gchar **attributes, const gchar **properties) |
| PT_AttrPropIndex | getAPIFromSOH (PL_ObjectHandle odh) |
| bool | insertObject (PT_DocPosition dpos, PTObjectType pto, const gchar **attributes, const gchar **properties) |
| bool | insertObject (PT_DocPosition dpos, PTObjectType pto, const gchar **attributes, const gchar **properties, fd_Field **pField) |
| bool | insertSpan (PT_DocPosition dpos, const UT_UCSChar *p, UT_uint32 length, PP_AttrProp *p_AttrProp=NULL) |
| bool | deleteSpan (PT_DocPosition dpos1, PT_DocPosition dpos2, PP_AttrProp *p_AttrProp_Before, UT_uint32 &iRealDeleteCount, bool bDeleteTableStruxes=false) |
| bool | deleteFmtMark (PT_DocPosition dpos) |
| bool | changeSpanFmt (PTChangeFmt ptc, PT_DocPosition dpos1, PT_DocPosition dpos2, const gchar **attributes, const gchar **properties) |
| bool | insertStrux (PT_DocPosition dpos, PTStruxType pts, pf_Frag_Strux **ppfs_ret=0) |
| bool | deleteStrux (PT_DocPosition dpos, PTStruxType pts, bool bRecordChange) |
| bool | createAndSendCR (PT_DocPosition dpos, UT_sint32 iType, bool bsave, UT_Byte iGlob) |
| virtual bool | createAndSendDocPropCR (const gchar **pAtts, const gchar **pProps) |
| bool | changeDocPropeties (const gchar **szAtts, const gchar **pProps) |
| bool | insertStrux (PT_DocPosition dpos, PTStruxType pts, const gchar **attributes, const gchar **properties, pf_Frag_Strux **ppfs_ret=0) |
| void | deleteHdrFtrStrux (PL_StruxDocHandle sdh) |
| bool | changeStruxFmt (PTChangeFmt ptc, PT_DocPosition dpos1, PT_DocPosition dpos2, const gchar **attributes, const gchar **properties, PTStruxType pts) |
| bool | changeStruxFmt (PTChangeFmt ptc, PT_DocPosition dpos1, PT_DocPosition dpos2, const gchar **attributes, const gchar **properties) |
| bool | changeStruxFmtNoUndo (PTChangeFmt ptc, PL_StruxDocHandle sdh, const gchar **attributes, const gchar **properties) |
| bool | changeStruxForLists (PL_StruxDocHandle sdh, const char *pszParentID) |
| bool | insertFmtMark (PTChangeFmt ptc, PT_DocPosition dpos, PP_AttrProp *p_AttrProp) |
| bool | changeLastStruxFmtNoUndo (PT_DocPosition dpos, PTStruxType pts, const gchar **attrs, const gchar **props, bool bSkipEmbededSections) |
| bool | changeLastStruxFmtNoUndo (PT_DocPosition dpos, PTStruxType pts, const gchar **attrs, const gchar *props, bool bSkipEmbededSections) |
| bool | appendStrux (PTStruxType pts, const gchar **attributes, pf_Frag_Strux **ppfs_ret=0) |
| bool | appendStruxFmt (pf_Frag_Strux *pfs, const gchar **attributes) |
| bool | appendLastStruxFmt (PTStruxType pts, const gchar **attrs, const gchar **props, bool bSkipEmbededSections) |
| bool | appendLastStruxFmt (PTStruxType pts, const gchar **attrs, const gchar *props, bool bSkipEmbededSections) |
| bool | appendFmt (const gchar **attributes) |
| bool | appendFmt (const UT_GenericVector< const gchar * > *pVecAttributes) |
| bool | appendSpan (const UT_UCSChar *p, UT_uint32 length) |
| bool | appendObject (PTObjectType pto, const gchar **attributes) |
| bool | appendFmtMark (void) |
| bool | appendStyle (const gchar **attributes) |
| bool | changeStruxFormatNoUpdate (PTChangeFmt ptc, PL_StruxDocHandle sdh, const gchar **attributes) |
| bool | insertStruxBeforeFrag (pf_Frag *pF, PTStruxType pts, const gchar **attributes, pf_Frag_Strux **ppfs_ret=0) |
| bool | insertSpanBeforeFrag (pf_Frag *pF, const UT_UCSChar *p, UT_uint32 length) |
| bool | insertObjectBeforeFrag (pf_Frag *pF, PTObjectType pto, const gchar **attributes) |
| bool | insertFmtMarkBeforeFrag (pf_Frag *pF) |
| bool | insertFmtMarkBeforeFrag (pf_Frag *pF, const gchar **attributes) |
| pf_Frag * | findFragOfType (pf_Frag::PFType iType, UT_sint32 iSubtype=-1, const pf_Frag *pfStart=NULL) |
| pf_Frag * | getLastFrag () const |
| bool | checkForSuspect (void) |
| bool | repairDoc (void) |
| bool | removeStyle (const gchar *name) |
| bool | tellListener (PL_Listener *pListener) |
| bool | tellListenerSubset (PL_Listener *pListener, PD_DocumentRange *pDocRange) |
| bool | addListener (PL_Listener *pListener, PL_ListenerId *pListenerId) |
| bool | removeListener (PL_ListenerId listenerId) |
| bool | signalListeners (UT_uint32 iSignal) const |
| bool | notifyListeners (const pf_Frag_Strux *pfs, const PX_ChangeRecord *pcr) const |
| bool | notifyListeners (const pf_Frag_Strux *pfs, pf_Frag_Strux *pfsNew, const PX_ChangeRecord *pcr) const |
| void | deferNotifications (void) |
| void | processDeferredNotifications (void) |
| UT_sint32 | getAdjustmentForCR (const PX_ChangeRecord *pcr) const |
| bool | getAttrProp (PT_AttrPropIndex indexAP, const PP_AttrProp **ppAP) const |
| bool | getSpanAttrProp (PL_StruxDocHandle sdh, UT_uint32 offset, bool bLeftSide, const PP_AttrProp **ppAP) const |
| bool | getAttrProp (PT_AttrPropIndex apIndx, const PP_AttrProp **ppAP, PP_RevisionAttr **pRevisions, bool bShowRevisions, UT_uint32 iRevisionId, bool &bHiddenRevision) const |
| bool | getSpanAttrProp (PL_StruxDocHandle sdh, UT_uint32 offset, bool bLeftSide, const PP_AttrProp **ppAP, PP_RevisionAttr **pRevisions, bool bShowRevisions, UT_uint32 iRevisionId, bool &bHiddenRevision) const |
| const UT_UCSChar * | getPointer (PT_BufIndex bi) const |
| bool | getBlockBuf (PL_StruxDocHandle sdh, UT_GrowBuf *pgb) const |
| bool | getBounds (bool bEnd, PT_DocPosition &docPos) const |
| PTStruxType | getStruxType (PL_StruxDocHandle sdh) const |
| PT_DocPosition | getStruxPosition (PL_StruxDocHandle sdh) const |
| bool | getStruxFromPosition (PL_ListenerId listenerId, PT_DocPosition docPos, PL_StruxFmtHandle *psfh) const |
| bool | getStruxOfTypeFromPosition (PL_ListenerId listenerId, PT_DocPosition docPos, PTStruxType pts, PL_StruxFmtHandle *psfh) const |
| bool | getStruxOfTypeFromPosition (PT_DocPosition, PTStruxType pts, PL_StruxDocHandle *sdh) const |
| return the SDH of the last strux of the given type immediately prior to the given absolute document position. | |
| pf_Frag * | getFragFromPosition (PT_DocPosition docPos) const |
| bool | getNextStruxOfType (PL_StruxDocHandle sdh, PTStruxType pts, PL_StruxDocHandle *nextsdh) |
| Return the sdh of type pts immediately after sdh. | |
| bool | getPrevStruxOfType (PL_StruxDocHandle sdh, PTStruxType pts, PL_StruxDocHandle *prevsdh) |
| Return the sdh of type pts immediately prior to sdh. | |
| bool | getNextStrux (PL_StruxDocHandle sdh, PL_StruxDocHandle *nextSDH) |
| get the next strux after the strux given. | |
| virtual bool | createDataItem (const char *szName, bool bBase64, const UT_ByteBuf *pByteBuf, const void *pToken, void **ppHandle) |
| virtual bool | replaceDataItem (const char *szName, const UT_ByteBuf *pByteBuf) |
| virtual bool | getDataItemDataByName (const char *szName, const UT_ByteBuf **ppByteBuf, const void **ppToken, void **ppHandle) const |
| bool | setDataItemToken (void *pHandle, void *pToken) |
| bool | getDataItemData (void *pHandle, const char **pszName, const UT_ByteBuf **ppByteBuf, const void **ppToken) const |
| bool | enumDataItems (UT_uint32 k, void **ppHandle, const char **pszName, const UT_ByteBuf **ppByteBuf, const void **ppToken) const |
| PL_StruxDocHandle | findHdrFtrStrux (const gchar *pszHdtFtr, const gchar *pszHdrFtrID) |
| bool | verifySectionID (const gchar *pszId) |
| PL_StruxDocHandle | getLastSectionSDH (void) |
| PL_StruxDocHandle | getLastStruxOfType (PTStruxType pts) |
| bool | changeStruxAttsNoUpdate (PL_StruxDocHandle sdh, const char *attr, const char *attvalue) |
| bool | deleteStruxNoUpdate (PL_StruxDocHandle sdh) |
| bool | insertStruxNoUpdateBefore (PL_StruxDocHandle sdh, PTStruxType pts, const gchar **attributes) |
| bool | isStruxBeforeThis (PL_StruxDocHandle sdh, PTStruxType pts) |
| PT_AttrPropIndex | getAPIFromSDH (PL_StruxDocHandle sdh) |
| bool | getAttributeFromSDH (PL_StruxDocHandle sdh, bool bShowRevisions, UT_uint32 iRevisionLevel, const char *szAttribute, const char **pszValue) |
| bool | getPropertyFromSDH (PL_StruxDocHandle sdh, bool bShowRevisions, UT_uint32 iRevisionLevel, const char *szProperty, const char **pszValue) |
| void | getAllUsedStyles (UT_GenericVector< PD_Style * > *pVecStyles) |
| PL_StruxFmtHandle | getNthFmtHandle (PL_StruxDocHandle sdh, UT_uint32 n) |
| bool | getStyle (const char *szName, PD_Style **ppStyle) const |
| PD_Style * | getStyleFromSDH (PL_StruxDocHandle sdh) |
| PL_StruxDocHandle | getPrevNumberedHeadingStyle (PL_StruxDocHandle sdh) |
| size_t | getStyleCount (void) |
| bool | enumStyles (UT_uint32 k, const char **pszName, const PD_Style **ppStyle) const |
| bool | enumStyles (UT_GenericVector< PD_Style * > *&pStyles) const |
| bool | addStyleProperty (const gchar *szStyleName, const gchar *szPropertyName, const gchar *szPropertyValue) |
| bool | addStyleProperties (const gchar *szStyleName, const gchar **pProperties) |
| bool | setAllStyleAttributes (const gchar *szStyleName, const gchar **pAttribs) |
| bool | addStyleAttributes (const gchar *szStyleName, const gchar **pAttribs) |
| PL_StruxDocHandle | findPreviousStyleStrux (const gchar *szStyle, PT_DocPosition pos) |
| PL_StruxDocHandle | findForwardStyleStrux (const gchar *szStyle, PT_DocPosition pos) |
| bool | updateDocForStyleChange (const gchar *szStyleName, bool isParaStyle) |
| void | updateAllLayoutsInDoc (PL_StruxDocHandle sdh) |
| void | clearIfAtFmtMark (PT_DocPosition dpos) |
| virtual UT_uint32 | getLastSavedAsType () const |
| UT_uint32 | getLastOpenedType () |
| XAP_App * | getApp () |
| bool | updateFields (void) |
| bool | getField (PL_StruxDocHandle sdh, UT_uint32 offset, fd_Field *&pField) |
| po_Bookmark * | getBookmark (PL_StruxDocHandle sdh, UT_uint32 offset) |
| pf_Frag * | findBookmark (const char *pName, bool bEnd=false, pf_Frag *pfStart=NULL) |
| void | setDontChangeInsPoint (void) |
| void | allowChangeInsPoint (void) |
| bool | getAllowChangeInsPoint (void) const |
| bool | isFootnoteAtPos (PT_DocPosition pos) |
| bool | isEndFootnoteAtPos (PT_DocPosition pos) |
| UT_sint32 | getEmbeddedOffset (PL_StruxDocHandle sdh, PT_DocPosition posOff, PL_StruxDocHandle &sdhEmbedded) |
| bool | isTOCAtPos (PT_DocPosition pos) |
| bool | isFrameAtPos (PT_DocPosition pos) |
| bool | isEndFrameAtPos (PT_DocPosition pos) |
| bool | isHdrFtrAtPos (PT_DocPosition pos) |
| bool | isSectionAtPos (PT_DocPosition pos) |
| bool | isBlockAtPos (PT_DocPosition pos) |
| bool | isTableAtPos (PT_DocPosition pos) |
| bool | isEndTableAtPos (PT_DocPosition pos) |
| bool | isCellAtPos (PT_DocPosition pos) |
| PL_StruxDocHandle | getEndTableStruxFromTableSDH (PL_StruxDocHandle tableSDH) |
| PL_StruxDocHandle | getEndCellStruxFromCellSDH (PL_StruxDocHandle cellSDH) |
| PL_StruxDocHandle | getEndTableStruxFromTablePos (PT_DocPosition posTable) |
| bool | getRowsColsFromTableSDH (PL_StruxDocHandle tableSDH, bool bShowRevisions, UT_uint32 iRevisionLevel, UT_sint32 *numRows, UT_sint32 *numCols) |
| PL_StruxDocHandle | getCellSDHFromRowCol (PL_StruxDocHandle tableSDH, bool bShowRevisions, UT_uint32 iRevisionLevel, UT_sint32 row, UT_sint32 col) |
| void | miniDump (PL_StruxDocHandle sdh, UT_sint32 nstruxes) |
| fl_AutoNum * | getListByID (UT_uint32 id) const |
| fl_AutoNum * | getNthList (UT_uint32 i) const |
| bool | enumLists (UT_uint32 k, fl_AutoNum **pAutoNum) |
| UT_uint32 | getListsCount (void) const |
| void | addList (fl_AutoNum *pAutoNum) |
| bool | appendList (const gchar **attributes) |
| bool | fixListHierarchy (void) |
| void | removeList (fl_AutoNum *pAutoNum, PL_StruxDocHandle sdh) |
| void | listUpdate (PL_StruxDocHandle sdh) |
| void | StopList (PL_StruxDocHandle sdh) |
| void | disableListUpdates (void) |
| void | enableListUpdates (void) |
| void | updateDirtyLists (void) |
| bool | areListUpdatesAllowed (void) |
| void | setHasListStopped (bool bStop) |
| bool | hasListStopped (void) const |
| void | setDoingPaste (void) |
| void | clearDoingPaste (void) |
| bool | isDoingPaste (void) |
| void | setRedrawHappenning (bool bIsHappening) |
| bool | isRedrawHappenning (void) const |
| bool | convertPercentToInches (const char *szPercent, UT_UTF8String &sInches) |
| bool | setPageSizeFromFile (const gchar **attributes) |
| const fp_PageSize * | getPageSize (void) const |
| bool | isBookmarkUnique (const gchar *pName) const |
| bool | isBookmarkRelativeLink (const gchar *pName) const |
| UT_uint32 | getBookmarkCount () const |
| const gchar * | getNthBookmark (UT_uint32 n) const |
| void | addBookmark (const gchar *pName) |
| void | removeBookmark (const gchar *pName) |
| virtual void | setMarkRevisions (bool bMark) |
| void | setMarkRevisionsNoNotify (bool bMark) |
| virtual bool | acceptRejectRevision (bool bReject, UT_uint32 iStart, UT_uint32 iEnd, UT_uint32 iLevel) |
| virtual bool | rejectAllHigherRevisions (UT_uint32 iLevel) |
| virtual bool | acceptAllRevisions () |
| const PP_AttrProp * | explodeRevisions (PP_RevisionAttr *&pRevisions, const PP_AttrProp *pAP, bool bShow, UT_uint32 iId, bool &bHiddenRevision) const |
| virtual void | purgeRevisionTable (bool bUnconditional=false) |
| void | notifyPieceTableChangeStart (void) |
| void | notifyPieceTableChangeEnd (void) |
| pt_PieceTable * | getPieceTable (void) const |
| bool | areStylesLocked () const |
| void | lockStyles (bool b) |
| virtual void | setMetaDataProp (const UT_String &key, const UT_UTF8String &value) |
| virtual bool | getMetaDataProp (const UT_String &key, UT_UTF8String &outProp) const |
| virtual void | setAnnotationProp (const UT_String &key, const UT_UTF8String &value) |
| virtual bool | getAnnotationProp (const UT_String &key, UT_UTF8String &outProp) const |
| UT_GenericStringMap < UT_UTF8String * > & | getMetaData () |
| const PP_AttrProp * | getAttrProp () const |
| PT_AttrPropIndex | getAttrPropIndex () const |
| bool | setAttrProp (const gchar **ppAttr) |
| bool | setAttributes (const gchar **ppAttr) |
| bool | setProperties (const gchar **ppProps) |
| void | setDontImmediatelyLayout (bool b) |
| bool | isDontImmediateLayout (void) |
| UT_UTF8String | getMailMergeField (const UT_String &key) const |
| bool | mailMergeFieldExists (const UT_String &key) const |
| void | setMailMergeField (const UT_String &key, const UT_UTF8String &value) |
| void | clearMailMergeMap () |
| void | setMailMergeLink (const char *file) |
| const UT_UTF8String & | getMailMergeLink () const |
| const UT_GenericStringMap < UT_UTF8String * > & | getMailMergeMap () const |
| void | invalidateCache (void) |
| UT_uint32 | getUID (UT_UniqueId::idType t) |
| bool | setMinUID (UT_UniqueId::idType t, UT_uint32 i) |
| bool | isIdUnique (UT_UniqueId::idType t, UT_uint32 i) |
| virtual bool | areDocumentContentsEqual (const AD_Document &d, UT_uint32 &pos) const |
| virtual bool | areDocumentFormatsEqual (const AD_Document &d, UT_uint32 &pos) const |
| virtual bool | areDocumentStylesheetsEqual (const AD_Document &d) const |
| bool | findFirstDifferenceInContent (PT_DocPosition &pos, UT_sint32 &iOffset2, const PD_Document &d) const |
| bool | findWhereSimilarityResumes (PT_DocPosition &pos, UT_sint32 &iOffset2, UT_uint32 &iKnownLength, const PD_Document &d) const |
| virtual void | setAutoRevisioning (bool autorev) |
| virtual UT_uint32 | getXID () |
| virtual UT_uint32 | getTopXID () const |
| void | fixMissingXIDs () |
| UT_uint32 | getFragXIDforVersion (const pf_Frag *pf, UT_uint32 iVersion) const |
| void | removeConnections (void) |
| void | changeConnectedDocument (PD_Document *pDoc) |
| UT_sint32 | getNewHdrHeight (void) const |
| UT_sint32 | getNewFtrHeight (void) const |
| void | setNewHdrHeight (UT_sint32 newHeight) |
| void | setNewFtrHeight (UT_sint32 newHeight) |
| bool | purgeFmtMarks () |
| void | tellPTDoNotTweakPosition (bool b) |
| void | setVDNDinProgress (bool b) |
| bool | isVDNDinProgress () const |
| UT_sint32 | getCRNumber () const |
| void | setCRNumber (UT_sint32 iCRCounter) |
| UT_sint32 | getNextCRNumber (void) |
| void | getAllViews (UT_GenericVector< AV_View * > *vecViews) |
| void | ignoreSignals (void) |
| void | dontIgnoreSignals (void) |
| void | setClean (void) |
| void | setCoalescingMask (bool mask) |
| bool | isCoalescingMasked () |
| bool | exportGetVisDirectionAtPos (PT_DocPosition pos, UT_BidiCharType &type) |
Public Attributes | |
| fp_PageSize | m_docPageSize |
| IE_FileInfo | m_fileImpExpInfo |
Protected Member Functions | |
| virtual | ~PD_Document () |
| virtual UT_Error | _saveAs (const char *szFilename, int ieft, const char *expProps=NULL) |
| virtual UT_Error | _saveAs (const char *szFilename, int ieft, bool cpy, const char *expProps=NULL) |
| virtual UT_Error | _saveAs (GsfOutput *output, int ieft, bool cpy, const char *expProps) |
| virtual UT_Error | _save (void) |
| void | _setClean (void) |
| void | _destroyDataItemData (void) |
| bool | _syncFileTypes (bool bReadSaveWriteOpen) |
| bool | _acceptRejectRevision (bool bReject, UT_uint32 iStart, UT_uint32 iEnd, const PP_Revision *pRev, PP_RevisionAttr &RevAttr, pf_Frag *pf, bool &bDeleted) |
| virtual void | _clearUndo () |
| UT_Error | _importFile (const char *szFilename, int ieft, bool markClean, bool bImportStylesFirst, bool isImportFile, const char *impProps) |
| UT_Error | _importFile (GsfInput *input, int ieft, bool markClean, bool bImportStylesFirst, bool bIsImportFile, const char *impProps) |
Private Member Functions | |
| bool | _buildAuthorProps (pp_Author *pAuthor, const gchar **&szProps) |
| bool | _exportInitVisDirection (PT_DocPosition pos) |
| bool | _exportFindVisDirectionRunAtPos (PT_DocPosition pos) |
Private Attributes | |
| bool | m_ballowListUpdates |
| pt_PieceTable * | m_pPieceTable |
| UT_GenericVector< PL_Listener * > | m_vecListeners |
| UT_GenericVector< fl_AutoNum * > | m_vecLists |
| bool | m_bHasListStopped |
| UT_GenericStringMap< struct _dataItemPair * > | m_hashDataItems |
| IEFileType | m_lastOpenedType |
| IEFileType | m_lastSavedAsType |
| XAP_App * | m_pApp |
| bool | m_bDoingPaste |
| bool | m_bAllowInsertPointChange |
| bool | m_bRedrawHappenning |
| bool | m_bLoading |
| UT_Vector | m_vBookmarkNames |
| bool | m_bLockedStyles |
| UT_GenericStringMap < UT_UTF8String * > | m_metaDataMap |
| PT_AttrPropIndex | m_indexAP |
| bool | m_bDontImmediatelyLayout |
| UT_GenericStringMap < UT_UTF8String * > | m_mailMergeMap |
| UT_UCS4Char | m_iLastDirMarker |
| UT_UTF8String | m_mailMergeLink |
| const fl_BlockLayout * | m_pVDBl |
| fp_Run * | m_pVDRun |
| PT_DocPosition | m_iVDLastPos |
| UT_UniqueId | m_UID |
| UT_sint32 | m_iNewHdrHeight |
| UT_sint32 | m_iNewFtrHeight |
| bool | m_bMarginChangeOnly |
| UT_GenericVector< pf_Frag * > | m_vecSuspectFrags |
| bool | m_bVDND |
| UT_sint32 | m_iCRCounter |
| UT_sint32 | m_iUpdateCount |
| bool | m_bIgnoreSignals |
| bool | m_bCoalescingMask |
| bool | m_bShowAuthors |
| UT_GenericVector< pp_Author * > | m_vecAuthors |
| bool | m_bExportAuthorAtts |
| UT_sint32 | m_iMyAuthorInt |
| UT_sint32 | m_iLastAuthorInt |
| PD_Document::PD_Document | ( | XAP_App * | pApp | ) |
| PD_Document::~PD_Document | ( | ) | [protected, virtual] |
| virtual AD_DOCUMENT_TYPE PD_Document::getType | ( | void | ) | const [inline, virtual] |
| UT_Error PD_Document::readFromFile | ( | const char * | szFilename, | |
| int | ieft, | |||
| const char * | impProps = NULL | |||
| ) | [virtual] |
Implements AD_Document.
References _importFile().
Referenced by abi_widget_load_file(), abi_widget_load_file_from_memory(), AP_Convert::convertTo(), Defun1(), AP_CocoaPlugin_FramelessDocument::documentFromFile:importOptions:, AP_UnixApp::doWindowlessArgs(), AbiCommand::loadDocument(), AP_UnixApp::makePngPreview(), AbiCommand::parseTokens(), AP_Convert::print(), and s_pasteFile().
| UT_Error PD_Document::importFile | ( | const char * | szFilename, | |
| int | ieft, | |||
| bool | markClean = false, |
|||
| bool | bImportStylesFirst = true, |
|||
| const char * | impProps = NULL | |||
| ) | [virtual] |
| UT_Error PD_Document::readFromFile | ( | GsfInput * | input, | |
| int | ieft, | |||
| const char * | impProps = NULL | |||
| ) |
References _importFile().
| UT_Error PD_Document::importFile | ( | GsfInput * | input, | |
| int | ieft, | |||
| bool | markClean = false, |
|||
| bool | bImportStylesFirst = true, |
|||
| const char * | impProps = NULL | |||
| ) |
References _importFile().
| UT_Error PD_Document::importStyles | ( | const char * | szFilename, | |
| int | ieft, | |||
| bool | bDocProps = false | |||
| ) | [virtual] |
References IE_Imp::constructImporter(), getAllUsedStyles(), UT_GenericVector< T >::getItemCount(), PD_Style::getName(), UT_GenericVector< T >::getNthItem(), IE_Imp::importFile(), PD_Style::isCharStyle(), m_pPieceTable, IE_Imp::setLoadDocProps(), IE_Imp::setLoadStylesOnly(), IE_Imp::supportsLoadStylesOnly(), updateDocForStyleChange(), UT_DEBUGMSG, UT_IE_IMPSTYLEUNSUPPORTED, UT_INVALIDFILENAME, UT_isRegularFile(), UT_NOPIECETABLE, and UT_OK.
Referenced by _importFile(), createRawDocument(), and Defun1().
| UT_Error PD_Document::newDocument | ( | void | ) | [virtual] |
Implements AD_Document.
References _setClean(), appendStrux(), buildTemplateList(), IEFT_Unknown, importFile(), AD_Document::isOrigUUID(),