#include <pd_Document.h>

Public Member Functions | |
| PD_Document () | |
| 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 |
| void | removeCaret (const std::string &sCaretID) |
| void | addPageReferencedImage (UT_UTF8String &sImageId, UT_sint32 iPage, double xInch, double yInch, const char *pzProps) |
| void | addPageReferencedTextbox (UT_ByteBuf &sContent, UT_sint32 iPage, double xInch, double yInch, const char *pzProps) |
| ImagePage * | getNthImagePage (UT_sint32 iImagePage) |
| TextboxPage * | getNthTextboxPage (UT_sint32 iTextboxPage) |
| void | clearAllPendingObjects (void) |
| void | setShowAuthors (bool bAuthors) |
| bool | isShowAuthors (void) const |
| bool | isExportAuthorAtts (void) const |
| void | setExportAuthorAtts (bool bExport) |
| UT_GenericVector< pp_Author * > & | getAuthors () |
| UT_sint32 | getMyAuthorInt (void) const |
| void | setMyAuthorInt (UT_sint32 iAuthor) |
| UT_sint32 | getLastAuthorInt (void) const |
| UT_sint32 | getNumAuthors (void) const |
| pp_Author * | getNthAuthor (UT_sint32 i) const |
| pp_Author * | getAuthorByInt (UT_sint32 i) const |
| pp_Author * | addAuthor (UT_sint32 iAuthor) |
| bool | sendAddAuthorCR (pp_Author *pAuthor) |
| bool | sendChangeAuthorCR (pp_Author *pAuthor) |
| UT_sint32 | findFirstFreeAuthorInt (void) const |
| 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 std::string &mime_type, void **ppHandle) |
| virtual bool | replaceDataItem (const char *szName, const UT_ByteBuf *pByteBuf) |
| virtual bool | getDataItemDataByName (const char *szName, const UT_ByteBuf **ppByteBuf, std::string *pMimeType, 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 | getDataItemFileExtension (const char *szDataID, std::string &sExt, bool bDot=true) const |
| bool | enumDataItems (UT_uint32 k, void **ppHandle, const char **pszName, const UT_ByteBuf **ppByteBuf, std::string *pMimeType) 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 | deleteFragNoUpdate (pf_Frag *pf) |
| 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 () const |
| 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) |
| bool | hasMath (void) |
| 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) |
| bool | isInsertHyperLinkValid (PT_DocPosition pos) const |
| 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_sint32 | getBookmarkCount () const |
| const gchar * | getNthBookmark (UT_sint32 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) const |
| 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) const |
| 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) const |
| void | ignoreSignals (void) |
| void | dontIgnoreSignals (void) |
| void | setClean (void) |
| void | setCoalescingMask (bool mask) |
| bool | isCoalescingMasked () const |
| 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) |
| bool | _removeRepeatedHdrFtr (pf_Frag_Strux *pfs, UT_GenericVector< pf_Frag_Strux * > *vecHdrFtrs, UT_sint32 i) |
| bool | _pruneSectionAPI (pf_Frag_Strux *pfs, const char *szHType, UT_GenericVector< pf_Frag_Strux * > *vecHdrFtrs) |
| bool | _matchSection (pf_Frag_Strux *pfs, UT_GenericVector< pf_Frag_Strux * > *vecSections) |
| bool | _removeHdrFtr (pf_Frag_Strux *pfs) |
| bool | _checkAndFixTable (pf_Frag_Strux *pfs) |
Private Member Functions | |
| bool | addAuthorAttributeIfBlank (const gchar **szAttsIn, const gchar **&szAttsOut, UT_String &storage) |
| bool | addAuthorAttributeIfBlank (PP_AttrProp *&p_AttrProp) |
| 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 |
| 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 |
| UT_GenericVector< ImagePage * > | m_pPendingImagePage |
| UT_GenericVector< TextboxPage * > | m_pPendingTextboxPage |
| PD_Document::PD_Document | ( | ) |
| 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:, 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(), m_indexAP, m_pPieceTable, PTS_Editing, PTS_Loading, PTX_Block, PTX_Section, setAttrProp(), AD_Document::setDocVersion(), AD_Document::setEditTime(), AD_Document::setLastOpenedTime(), pt_PieceTable::setPieceTableState(), time, UT_ASSERT, UT_NOPIECETABLE, and UT_OK.
Referenced by AP_Preview_Abi::AP_Preview_Abi(), FV_View::copyTextToClipboard(), Defun1(), AbiCommand::newDocument(), and AbiCommand::parseTokens().
| UT_Error PD_Document::saveAs | ( | GsfOutput * | output, | |
| int | ieft, | |||
| bool | cpy = false, |
|||
| const char * | expProps = NULL | |||
| ) |
| UT_Error PD_Document::createRawDocument | ( | void | ) |
References buildTemplateList(), IEFT_Unknown, importStyles(), AD_Document::isOrigUUID(), m_indexAP, m_pPieceTable, PTS_Loading, setAttrProp(), pt_PieceTable::setPieceTableState(), UT_ASSERT, UT_DEBUGMSG, UT_NOPIECETABLE, and UT_OK.
Referenced by FV_UnixVisualDrag::mouseDrag(), and IE_Imp_XHTML::pasteFromBuffer().
| void PD_Document::finishRawCreation | ( | void | ) |
References _setClean(), m_pPieceTable, PTS_Editing, pt_PieceTable::setPieceTableState(), and updateFields().
Referenced by FV_UnixVisualDrag::mouseDrag(), and IE_Imp_XHTML::pasteFromBuffer().
| bool PD_Document::isDirty | ( | void | ) | const [virtual] |
Implements AD_Document.
References pt_PieceTable::isDirty(), AD_Document::isForcedDirty(), and m_pPieceTable.
Referenced by AbiCollabSessionManager::_setupFrame(), Defun(), forceDirty(), AbiCollabSaveInterceptor::intercept(), Stateful_ViewListener::notify(), FV_View::notifyListeners(), s_closeWindow(), and AbiCollabService_Export::signal().
| void PD_Document::forceDirty | ( | ) | [virtual] |
force the document into being dirty and signal this to our listeners
Reimplemented from AD_Document.
References AD_Document::_setForceDirty(), isDirty(), PD_SIGNAL_DOCDIRTY_CHANGED, and signalListeners().
Referenced by AccountHandler::_handlePacket(), AbiCollabSaveInterceptor::_saveFailed(), and Defun1().
| bool PD_Document::isConnected | ( | void | ) |
Return true if the document has an abicollab connection
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), PL_Listener::getType(), m_vecListeners, and PTL_CollabExport.
Referenced by Defun(), and s_closeWindow().
| bool PD_Document::canDo | ( | bool | bUndo | ) | const [virtual] |
Implements AD_Document.
References pt_PieceTable::canDo(), and m_pPieceTable.
Referenced by FV_View::canDo().
| UT_uint32 PD_Document::undoCount | ( | bool | bUndo | ) | const [virtual] |
References m_pPieceTable, and pt_PieceTable::undoCount().
Referenced by undoCmd(), and FV_View::undoCount().
| bool PD_Document::undoCmd | ( | UT_uint32 | repeatCount | ) | [virtual] |
Implements AD_Document.
References m_pPieceTable, pt_PieceTable::undoCmd(), and undoCount().
Referenced by ABI_Collab_Import::_handleCollision(), and FV_View::cmdUndo().
| bool PD_Document::redoCmd | ( | UT_uint32 | repeatCount | ) | [virtual] |
Implements AD_Document.
References m_pPieceTable, and pt_PieceTable::redoCmd().
Referenced by FV_View::cmdRedo().
| bool PD_Document::isDoingTheDo | ( | void | ) | const |
References pt_PieceTable::isDoingTheDo(), and m_pPieceTable.
Referenced by changeSpanFmt(), changeStruxFmt(), deleteSpan(), fl_BlockLayout::doclistener_insertSpan(), insertFmtMark(), insertObject(), insertSpan(), and insertStrux().
| void PD_Document::removeCaret | ( | const std::string & | sCaretID | ) |
References getAllViews(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), and FV_View::removeCaret().
Referenced by AbiCollab::_removeCollaborator().
| void PD_Document::addPageReferencedImage | ( | UT_UTF8String & | sImageId, | |
| UT_sint32 | iPage, | |||
| double | xInch, | |||
| double | yInch, | |||
| const char * | pzProps | |||
| ) |
References UT_GenericVector< T >::addItem(), and m_pPendingImagePage.
Referenced by ODi_TextContent_ListenerState::startElement().
| void PD_Document::addPageReferencedTextbox | ( | UT_ByteBuf & | sContent, | |
| UT_sint32 | iPage, | |||
| double | xInch, | |||
| double | yInch, | |||
| const char * | pzProps | |||
| ) |
References UT_GenericVector< T >::addItem(), and m_pPendingTextboxPage.
Referenced by ODi_TextContent_ListenerState::endElement().
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), and m_pPendingImagePage.
Referenced by FL_DocLayout::loadPendingObjects().
| TextboxPage * PD_Document::getNthTextboxPage | ( | UT_sint32 | iTextboxPage | ) |
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), and m_pPendingTextboxPage.
Referenced by FL_DocLayout::loadPendingObjects().
| void PD_Document::clearAllPendingObjects | ( | void | ) |
References UT_GenericVector< T >::clear(), m_pPendingImagePage, m_pPendingTextboxPage, and UT_VECTOR_PURGEALL.
Referenced by FL_DocLayout::loadPendingObjects().
| void PD_Document::setShowAuthors | ( | bool | bAuthors | ) |
| bool PD_Document::isShowAuthors | ( | void | ) | const [inline] |
| bool PD_Document::isExportAuthorAtts | ( | void | ) | const |
True if the Author attributes should be exported.
References m_bExportAuthorAtts.
Referenced by s_AbiWord_1_Listener::_openTag(), s_AbiWord_1_Listener::s_AbiWord_1_Listener(), and AbiCollabSessionManager::serializeDocument().
| void PD_Document::setExportAuthorAtts | ( | bool | bExport | ) |
References m_bExportAuthorAtts.
| UT_GenericVector<pp_Author*>& PD_Document::getAuthors | ( | ) | [inline] |
Referenced by AccountHandler::_handlePacket(), and AbiCollabSessionManager::startSession().
| UT_sint32 PD_Document::getMyAuthorInt | ( | void | ) | const |
Returns the integer mapping for this session
References m_iMyAuthorInt.
Referenced by addAuthorAttributeIfBlank(), and FV_View::addCaret().
| void PD_Document::setMyAuthorInt | ( | UT_sint32 | iAuthor | ) |
References m_iMyAuthorInt.
Referenced by addAuthorAttributeIfBlank(), AbiCollabSessionManager::joinSession(), and AbiCollabSessionManager::startSession().
| UT_sint32 PD_Document::getLastAuthorInt | ( | void | ) | const |
Returns the most recently received author int
References m_iLastAuthorInt.
Referenced by FV_View::updateCarets().
| UT_sint32 PD_Document::getNumAuthors | ( | void | ) | const |
References UT_GenericVector< T >::getItemCount(), and m_vecAuthors.
References UT_GenericVector< T >::getNthItem(), and m_vecAuthors.
Referenced by s_AbiWord_1_Listener::_handleAuthors().
References UT_GenericVector< T >::addItem(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), m_vecAuthors, and UT_DEBUGMSG.
Referenced by AccountHandler::_handlePacket(), addAuthorAttributeIfBlank(), changeDocPropeties(), IE_Imp_AbiWord_1::startElement(), and AbiCollabSessionManager::startSession().
| bool PD_Document::sendAddAuthorCR | ( | pp_Author * | pAuthor | ) |
| bool PD_Document::sendChangeAuthorCR | ( | pp_Author * | pAuthor | ) |
References _buildAuthorProps(), createAndSendDocPropCR(), DELETEPV, gchar, PT_DOCPROP_ATTRIBUTE_NAME, and UT_return_val_if_fail.
Referenced by changeDocPropeties(), and AbiCollabSessionManager::startSession().
| UT_sint32 PD_Document::findFirstFreeAuthorInt | ( | void | ) | const |
References getAuthorByInt().
Referenced by AccountHandler::_handlePacket(), addAuthorAttributeIfBlank(), and AbiCollabSessionManager::startSession().
| bool PD_Document::addAuthorAttributeIfBlank | ( | const gchar ** | szAttsIn, | |
| const gchar **& | szAttsOut, | |||
| UT_String & | storage | |||
| ) | [private] |
Add the current documents UUID as the author to the attribute list if the author attribute is not present. The caller must delete [] the szAttsOut after use.
| storage | an UT_String storage for until the properties are copied. Returns true if author attribute is present. |
References addAuthor(), UT_String::c_str(), findFirstFreeAuthorInt(), gchar, getMyAuthorInt(), m_iLastAuthorInt, PT_AUTHOR_NAME, sendAddAuthorCR(), setMyAuthorInt(), UT_String_sprintf(), and xxx_UT_DEBUGMSG.
Referenced by changeSpanFmt(), insertObject(), insertSpan(), and insertStrux().
| bool PD_Document::addAuthorAttributeIfBlank | ( | PP_AttrProp *& | p_AttrProp | ) | [private] |
Add the current documents UUID as the author to the ppAttrProps if the attribute is not set. returns true if author is set
References addAuthor(), UT_String::c_str(), findFirstFreeAuthorInt(), gchar, PP_AttrProp::getAttribute(), getMyAuthorInt(), m_iLastAuthorInt, PT_AUTHOR_NAME, sendAddAuthorCR(), PP_AttrProp::setAttribute(), setMyAuthorInt(), UT_String_sprintf(), and xxx_UT_DEBUGMSG.
| bool PD_Document::_buildAuthorProps | ( | pp_Author * | pAuthor, | |
| const gchar **& | szProps | |||
| ) | [private] |
References UT_String::c_str(), gchar, pp_Author::getAttrProp(), pp_Author::getAuthorInt(), PP_AttrProp::getNthProperty(), PP_AttrProp::getPropertyCount(), szName, UT_DEBUGMSG, and UT_String_sprintf().
Referenced by sendAddAuthorCR(), and sendChangeAuthorCR().
| void PD_Document::beginUserAtomicGlob | ( | void | ) |
References pt_PieceTable::beginUserAtomicGlob(), and m_pPieceTable.
Referenced by FV_Base::_beginGlob(), FV_View::_changeCellParams(), FV_View::_charInsert(), FV_View::_deleteHyperlink(), FV_View::_deleteSelection(), ABI_Collab_Import::_disableUpdates(), FV_View::_findReplace(), FV_View::_findReplaceReverse(), FV_View::_insertField(), FV_View::_MergeCells(), FV_VisualDragText::_mouseDrag(), acceptAllRevisions(), acceptRejectRevision(), AP_Dialog_Lists::Apply(), FV_View::changeListStyle(), FV_View::cmdAutoFitTable(), FV_View::cmdAutoSizeCols(), FV_View::cmdAutoSizeRows(), FV_View::cmdCharInsert(), FV_View::cmdDeleteCell(), FV_View::cmdDeleteCol(), FV_View::cmdDeleteEmbed(), FV_View::cmdDeleteRow(), FV_View::cmdDeleteTable(), FV_View::cmdInsertCol(), FV_View::cmdInsertEmbed(), FV_View::cmdInsertGraphic(), FV_View::cmdInsertLatexMath(), FV_View::cmdInsertMathML(), FV_View::cmdInsertPositionedGraphic(), FV_View::cmdInsertRow(), FV_View::cmdInsertTable(), FV_View::cmdInsertTOC(), FV_View::cmdPaste(), FV_View::cmdPasteSelectionAt(), FV_View::cmdRemoveHdrFtr(), FV_View::cmdSplitCells(), FV_View::cmdStartList(), FV_View::cmdStopList(), FV_View::cmdTableToText(), FV_View::cmdTextToTable(), FV_View::cmdUpdateEmbed(), FV_View::convertInLineToPositioned(), FV_View::convertPositionedToInLine(), FV_View::createThisHdrFtr(), fl_BlockLayout::doclistener_insertSpan(), FV_View::endDragSelection(), FV_View::findReplaceAll(), FV_View::insertAnnotation(), FV_View::insertFootnote(), FV_View::insertFootnoteSection(), FV_View::insertHeaderFooter(), FV_View::insertPageNum(), FV_View::insertParagraphBreak(), FV_View::insertParagraphBreaknoListUpdate(), FV_View::insertSectionBreak(), FV_View::insertSymbol(), FV_View::pasteFromLocalTo(), FV_Selection::pasteRowOrCol(), FV_View::populateThisHdrFtr(), FV_View::processPageNumber(), FV_View::processSelectedBlocks(), rejectAllHigherRevisions(), FV_View::removeThisHdrFtr(), FV_View::resetCharFormat(), FV_View::setAnnotationText(), FV_View::setBlockIndents(), FV_View::setCharFormat(), FV_View::setStyleAtPos(), FV_View::SetupSavePieceTableState(), and FV_View::toggleCase().
| void PD_Document::endUserAtomicGlob | ( | void | ) |
References pt_PieceTable::endUserAtomicGlob(), and m_pPieceTable.
Referenced by FV_View::_charInsert(), FV_View::_deleteHyperlink(), FV_View::_deleteSelection(), ABI_Collab_Import::_enableUpdates(), FV_Base::_endGlob(), FV_View::_findReplace(), FV_View::_findReplaceReverse(), FV_View::_insertField(), FV_View::_MergeCells(), FV_View::_restoreCellParams(), acceptAllRevisions(), acceptRejectRevision(), AP_Dialog_Lists::Apply(), FV_View::changeListStyle(), FV_View::cmdAutoFitTable(), FV_View::cmdAutoSizeCols(), FV_View::cmdAutoSizeRows(), FV_View::cmdCharInsert(), FV_View::cmdDeleteCell(), FV_View::cmdDeleteCol(), FV_View::cmdDeleteEmbed(), FV_View::cmdDeleteRow(), FV_View::cmdDeleteTable(), FV_View::cmdInsertCol(), FV_View::cmdInsertEmbed(), FV_View::cmdInsertGraphic(), FV_View::cmdInsertGraphicAtStrux(), FV_View::cmdInsertLatexMath(), FV_View::cmdInsertMathML(), FV_View::cmdInsertPositionedGraphic(), FV_View::cmdInsertRow(), FV_View::cmdInsertTable(), FV_View::cmdInsertTOC(), FV_View::cmdPaste(), FV_View::cmdPasteSelectionAt(), FV_View::cmdRemoveHdrFtr(), FV_View::cmdSplitCells(), FV_View::cmdStartList(), FV_View::cmdStopList(), FV_View::cmdTableToText(), FV_View::cmdTextToTable(), FV_View::cmdUpdateEmbed(), FV_View::convertInLineToPositioned(), FV_View::convertPositionedToInLine(), FV_View::createThisHdrFtr(), fl_BlockLayout::doclistener_insertSpan(), FV_View::endDragSelection(), FV_View::findReplaceAll(), FV_View::insertAnnotation(), FV_View::insertFootnote(), FV_View::insertFootnoteSection(), FV_View::insertHeaderFooter(), FV_View::insertPageNum(), FV_View::insertParagraphBreak(), FV_View::insertParagraphBreaknoListUpdate(), FV_View::insertSectionBreak(), FV_View::insertSymbol(), FV_VisualDragText::mouseRelease(), FV_View::pasteFromLocalTo(), FV_Selection::pasteRowOrCol(), FV_View::populateThisHdrFtr(), FV_View::processPageNumber(), FV_View::processSelectedBlocks(), rejectAllHigherRevisions(), FV_View::removeThisHdrFtr(), FV_View::resetCharFormat(), FV_View::RestoreSavedPieceTableState(), FV_View::setAnnotationText(), FV_View::setBlockIndents(), FV_View::setCharFormat(), FV_View::setStyleAtPos(), and FV_View::toggleCase().
| void PD_Document::setMarginChangeOnly | ( | bool | b | ) |
| bool PD_Document::isMarginChangeOnly | ( | void | ) | const |
References m_bMarginChangeOnly.
Referenced by FL_DocLayout::changeDocSections(), and FL_DocLayout::rebuildFromHere().
| bool PD_Document::changeObjectFormatNoUpdate | ( | PTChangeFmt | ptc, | |
| PL_ObjectHandle | odh, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties | |||
| ) |
Change the attributes of an object without generating a Change Record. Use with extreme care.
References pt_PieceTable::changeObjectFormatNoUpdate(), and m_pPieceTable.
Referenced by fp_ImageRun::_lookupProperties(), fp_MathRun::_updatePropValuesIfNeeded(), and fp_EmbedRun::_updatePropValuesIfNeeded().
| PT_AttrPropIndex PD_Document::getAPIFromSOH | ( | PL_ObjectHandle | odh | ) |
Return Attribute Property Index associated with the pf_Frag_Object pointed to by odh
References pf_Frag::getIndexAP().
Referenced by fp_MathRun::_getLayoutPropFromObject(), fp_EmbedRun::_getLayoutPropFromObject(), fp_ImageRun::_lookupProperties(), fp_MathRun::_updatePropValuesIfNeeded(), fp_EmbedRun::_updatePropValuesIfNeeded(), and fp_EmbedRun::update().
| bool PD_Document::insertObject | ( | PT_DocPosition | dpos, | |
| PTObjectType | pto, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties | |||
| ) |
References addAuthorAttributeIfBlank(), gchar, pt_PieceTable::insertObject(), isDoingTheDo(), and m_pPieceTable.
Referenced by IE_Imp_RTF::_appendField(), fl_BlockLayout::_createListLabel(), ABI_Collab_Import::_import(), FV_View::_insertField(), IE_Imp_RTF::_parseFldinstBlock(), IE_Imp::appendObject(), FV_View::cmdInsertBookmark(), FV_View::cmdInsertEmbed(), FV_View::cmdInsertHyperlink(), FV_View::cmdInsertLatexMath(), FV_View::cmdInsertMathML(), FV_View::cmdUpdateEmbed(), FV_View::convertPositionedToInLine(), IE_Imp_RTF::HandleAbiEmbed(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleBookmark(), IE_Imp_RTF::HandleField(), IE_Imp_RTF::HandleStarKeyword(), FV_View::insertAnnotation(), IE_Imp_RTF::InsertImage(), FG_GraphicVector::insertIntoDocument(), FG_GraphicRaster::insertIntoDocument(), FV_View::insertPageNum(), FV_VisualInlineImage::mouseRelease(), IE_Imp_PasteListener::populate(), and FV_View::processPageNumber().
| bool PD_Document::insertObject | ( | PT_DocPosition | dpos, | |
| PTObjectType | pto, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties, | |||
| fd_Field ** | pField | |||
| ) |
| bool PD_Document::insertSpan | ( | PT_DocPosition | dpos, | |
| const UT_UCSChar * | p, | |||
| UT_uint32 | length, | |||
| PP_AttrProp * | p_AttrProp = NULL | |||
| ) |
References addAuthorAttributeIfBlank(), UT_String::c_str(), pt_PieceTable::insertFmtMark(), pt_PieceTable::insertSpan(), isDoingTheDo(), m_iLastDirMarker, m_pPieceTable, PTC_AddFmt, PTC_RemoveFmt, PP_AttrProp::setProperty(), UCS_LRE, UCS_LRO, UCS_PDF, UCS_RLE, UCS_RLO, and UT_DEBUGMSG.
Referenced by FV_View::_charInsert(), fl_BlockLayout::_createListLabel(), FV_View::_findReplace(), FV_View::_findReplaceReverse(), ABI_Collab_Import::_import(), IE_Imp_RTF::_insertSpan(), IE_Imp::appendSpan(), IE_Imp_RTF::ApplyParagraphAttributes(), FV_View::insertAnnotation(), FV_View::insertFootnote(), IE_Imp_PasteListener::populate(), FV_View::setAnnotationText(), and FV_View::toggleCase().
| bool PD_Document::deleteSpan | ( | PT_DocPosition | dpos1, | |
| PT_DocPosition | dpos2, | |||
| PP_AttrProp * | p_AttrProp_Before, | |||
| UT_uint32 & | iRealDeleteCount, | |||
| bool | bDeleteTableStruxes = false | |||
| ) |
References pt_PieceTable::deleteSpanWithTable(), isDoingTheDo(), and m_pPieceTable.
Referenced by _acceptRejectRevision(), FV_View::_deleteBookmark(), FV_View::_deleteCellAt(), FV_View::_deleteHyperlink(), fl_BlockLayout::_deleteListLabel(), FV_View::_deleteSelection(), ABI_Collab_Import::_import(), FV_View::cmdCharDelete(), FV_View::cmdDeleteTable(), FV_View::cmdTextToTable(), FV_FrameEdit::deleteFrame(), FV_FrameEdit::mouseRelease(), FV_View::setAnnotationText(), and FV_View::toggleCase().
| bool PD_Document::deleteFmtMark | ( | PT_DocPosition | dpos | ) |
References pt_PieceTable::deleteFmtMark(), and m_pPieceTable.
Referenced by ABI_Collab_Import::_import().
| bool PD_Document::changeSpanFmt | ( | PTChangeFmt | ptc, | |
| PT_DocPosition | dpos1, | |||
| PT_DocPosition | dpos2, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties | |||
| ) |
References addAuthorAttributeIfBlank(), pt_PieceTable::changeSpanFmt(), deferNotifications(), gchar, isDoingTheDo(), m_pPieceTable, and processDeferredNotifications().
Referenced by _acceptRejectRevision(), fl_BlockLayout::_createListLabel(), FV_View::_deleteSelection(), FV_View::_fixInsertionPointAfterRevision(), ABI_Collab_Import::_import(), IE_Imp_RTF::_insertSpan(), AP_Dialog_Styles::_populateAbiPreview(), IE_Imp::appendFmt(), IE_Imp_RTF::ApplyCharacterAttributes(), FV_View::cmdUpdateEmbed(), FV_View::insertFootnote(), IE_Imp_PasteListener::populate(), FV_View::processSelectedBlocks(), FV_View::setCharFormat(), fp_TextRun::setDirOverride(), FV_View::setStyleAtPos(), fl_BlockLayout::StopListInBlock(), and FV_View::toggleCase().
| bool PD_Document::insertStrux | ( | PT_DocPosition | dpos, | |
| PTStruxType | pts, | |||
| pf_Frag_Strux ** | ppfs_ret = 0 | |||
| ) |
References pt_PieceTable::insertStrux(), isDoingTheDo(), and m_pPieceTable.
Referenced by FV_View::_deleteSelection(), ABI_Collab_Import::_import(), FV_View::_insertCellAfter(), FV_View::_insertCellBefore(), FV_View::_insertSectionBreak(), IE_Imp_RTF::_insertSpan(), IE_Imp::appendStrux(), FV_View::cmdCharInsert(), FV_View::cmdInsertCol(), FV_View::cmdInsertPositionedGraphic(), FV_View::cmdInsertRow(), FV_View::cmdInsertTable(), FV_View::cmdInsertTOC(), FV_View::cmdSplitCells(), FV_View::cmdTextToTable(), FV_View::convertInLineToPositioned(), IE_Imp_RTF::FlushStoredChars(), IE_Imp_RTF::HandleAbiEmbed(), FV_View::insertAnnotation(), FV_View::insertFootnoteSection(), FV_View::insertHeaderFooter(), FV_View::insertParaBreakIfNeededAtPos(), FV_View::insertParagraphBreak(), FV_View::insertParagraphBreaknoListUpdate(), IE_Imp_RTF::insertStrux(), FL_DocLayout::loadPendingObjects(), FV_FrameEdit::mouseRelease(), IE_Imp_RTF::pasteFromBuffer(), IE_Imp_PasteListener::populateStrux(), FV_View::processPageNumber(), and FV_View::setCharFormat().
| bool PD_Document::deleteStrux | ( | PT_DocPosition | dpos, | |
| PTStruxType | pts, | |||
| bool | bRecordChange | |||
| ) |
This method deletes a strux of the type specified at the position requested. if bRecordChange is fale no change record is recorded. This method was created soled for the use of AbiCollab. Use with extreme care. Should only be needed by AbiCollab
References pt_PieceTable::deleteStruxNoUpdate(), pt_PieceTable::deleteStruxWithNotify(), pt_PieceTable::getFragFromPosition(), pf_Frag::getLength(), pf_Frag::getPrev(), getStruxPosition(), pf_Frag::getType(), m_pPieceTable, and pf_Frag::PFT_Strux.
Referenced by ABI_Collab_Import::_import().
| bool PD_Document::createAndSendCR | ( | PT_DocPosition | dpos, | |
| UT_sint32 | iType, | |||
| bool | bSave, | |||
| UT_Byte | iGlob | |||
| ) |
Create a changerecord object and broadcast it to all the listeners. If bsave is true save the CR in th eunod stack.
References pt_PieceTable::createAndSendCR(), and m_pPieceTable.
Referenced by ABI_Collab_Import::_import().
| bool PD_Document::createAndSendDocPropCR | ( | const gchar ** | pAtts, | |
| const gchar ** | pProps | |||
| ) | [virtual] |
This method creates DocProp Change Record and broadcasts it to the listeners
Implements AD_Document.
References pt_PieceTable::createAndSendDocPropCR(), and m_pPieceTable.
Referenced by sendAddAuthorCR(), sendChangeAuthorCR(), setMetaDataProp(), and setPageSizeFromFile().
| bool PD_Document::changeDocPropeties | ( | const gchar ** | pAtts, | |
| const gchar ** | pProps | |||
| ) |
method used to import document property changes
References addAuthor(), AD_Document::addRevision(), gchar, PP_AttrProp::getAttribute(), pp_Author::getAttrProp(), getAuthorByInt(), PP_AttrProp::getNthProperty(), PP_AttrProp::getProperty(), PT_DOCPROP_ATTRIBUTE_NAME, PT_REVISION_ATTRIBUTE_NAME, PT_REVISION_DESC_ATTRIBUTE_NAME, PT_REVISION_TIME_ATTRIBUTE_NAME, PT_REVISION_VERSION_ATTRIBUTE_NAME, sendAddAuthorCR(), sendChangeAuthorCR(), PP_AttrProp::setAttributes(), setMetaDataProp(), setPageSizeFromFile(), PP_AttrProp::setProperties(), PP_AttrProp::setProperty(), UT_UCS4String::size(), szName, UT_UCS4String::ucs4_str(), UT_UTF8String::ucs4_str(), UT_DEBUGMSG, and UT_UCS4_strncpy().
Referenced by ABI_Collab_Import::_import().
| bool PD_Document::insertStrux | ( | PT_DocPosition | dpos, | |
| PTStruxType | pts, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties, | |||
| pf_Frag_Strux ** | ppfs_ret = 0 | |||
| ) |
References addAuthorAttributeIfBlank(), gchar, pt_PieceTable::insertStrux(), isDoingTheDo(), and m_pPieceTable.
| void PD_Document::deleteHdrFtrStrux | ( | PL_StruxDocHandle | sdh | ) |
This method deletes the HdrFtr strux pointed to by sdh
References pt_PieceTable::deleteHdrFtrStrux(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, and UT_return_if_fail.
Referenced by FV_View::_removeThisHdrFtr().
| bool PD_Document::changeStruxFmt | ( | PTChangeFmt | ptc, | |
| PT_DocPosition | dpos1, | |||
| PT_DocPosition | dpos2, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties, | |||
| PTStruxType | pts | |||
| ) |
References pt_PieceTable::changeStruxFmt(), isDoingTheDo(), and m_pPieceTable.
Referenced by _acceptRejectRevision(), FV_View::_changeCellParams(), FV_View::_changeCellTo(), FV_View::_deleteSelection(), ABI_Collab_Import::_import(), FV_View::_restoreCellParams(), IE_Imp::appendStruxFmt(), IE_Imp_RTF::ApplyParagraphAttributes(), IE_Imp_RTF::ApplySectionAttributes(), FV_View::changeListStyle(), IE_Imp_RTF::closePastedTableIfNeeded(), FV_View::cmdAutoFitTable(), FV_View::cmdAutoSizeCols(), FV_View::cmdAutoSizeRows(), FV_View::cmdDeleteCol(), FV_View::cmdDeleteRow(), FV_View::cmdInsertCol(), FV_View::cmdInsertRow(), FV_View::cmdSplitCells(), IE_Imp_RTF::HandleAbiEndTable(), IE_Imp_RTF::HandleAbiTable(), FG_GraphicVector::insertAtStrux(), FG_GraphicRaster::insertAtStrux(), FV_View::insertFootnote(), FV_View::insertHeaderFooter(), fl_BlockLayout::prependList(), FV_View::processPageNumber(), FV_View::processSelectedBlocks(), fl_BlockLayout::remItemFromList(), FV_View::removeStruxAttrProps(), fl_BlockLayout::resumeList(), FV_View::setAnnotationAuthor(), FV_View::setAnnotationText(), FV_View::setAnnotationTitle(), FV_View::setBlockFormat(), FV_View::setBlockIndents(), FV_View::setCellFormat(), FV_View::setCharFormat(), FV_View::setCollapsedRange(), fl_BlockLayout::setDominantDirection(), FV_View::setSectionFormat(), FV_View::setStyleAtPos(), FV_View::setTableFormat(), FV_View::setTOCProps(), fl_BlockLayout::StartList(), and fl_BlockLayout::StopListInBlock().
| bool PD_Document::changeStruxFmt | ( | PTChangeFmt | ptc, | |
| PT_DocPosition | dpos1, | |||
| PT_DocPosition | dpos2, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties | |||
| ) |
This method changes *all* the strux fragments in the specified region.
References pt_PieceTable::changeStruxFmt(), isDoingTheDo(), and m_pPieceTable.
| bool PD_Document::changeStruxFmtNoUndo | ( | PTChangeFmt | ptc, | |
| PL_StruxDocHandle | sdh, | |||
| const gchar ** | attributes, | |||
| const gchar ** | properties | |||
| ) |
References pt_PieceTable::changeStruxFmtNoUndo(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, and UT_return_val_if_fail.
Referenced by fl_DocSectionLayout::_HdrFtrChangeCallback().
| bool PD_Document::changeStruxForLists | ( | PL_StruxDocHandle | sdh, | |
| const char * | pszParentID | |||
| ) |
This Method is used to change just the parentID of each strux in a list without updating the fl_Layouts.
References pt_PieceTable::changeStruxForLists(), and m_pPieceTable.
Referenced by fl_AutoNum::_setParent().
| bool PD_Document::insertFmtMark | ( | PTChangeFmt | ptc, | |
| PT_DocPosition | dpos, | |||
| PP_AttrProp * | p_AttrProp | |||
| ) |
References pt_PieceTable::insertFmtMark(), isDoingTheDo(), and m_pPieceTable.
Referenced by FV_View::_charInsert().
| bool PD_Document::changeLastStruxFmtNoUndo | ( | PT_DocPosition | dpos, | |
| PTStruxType | pts, | |||
| const gchar ** | attrs, | |||
| const gchar ** | props, | |||
| bool | bSkipEmbededSections | |||
| ) |
References pt_PieceTable::changeLastStruxFmtNoUndo(), m_pPieceTable, and UT_return_val_if_fail.
| bool PD_Document::changeLastStruxFmtNoUndo | ( | PT_DocPosition | dpos, | |
| PTStruxType | pts, | |||
| const gchar ** | attrs, | |||
| const gchar * | props, | |||
| bool | bSkipEmbededSections | |||
| ) |
References pt_PieceTable::changeLastStruxFmtNoUndo(), m_pPieceTable, and UT_return_val_if_fail.
| bool PD_Document::appendStrux | ( | PTStruxType | pts, | |
| const gchar ** | attributes, | |||
| pf_Frag_Strux ** | ppfs_ret = 0 | |||
| ) |
References pt_PieceTable::appendStrux(), checkForSuspect(), XAP_App::getApp(), XAP_App::getLastFocussedFrame(), m_pPieceTable, XAP_Frame::nullUpdate(), PTX_EndCell, PTX_Section, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendField(), IE_Imp_RTF::_appendHdrFtr(), IE_Imp_MsWord_97::_appendObjectHdrFtr(), IE_Imp_MsWord_97::_appendSpanHdrFtr(), IE_Imp_MsWord_97::_appendStrux(), IE_Imp_MsWord_97::_appendStruxHdrFtr(), OpenWriter_ContentStream_Listener::_closeCell(), OpenWriter_ContentStream_Listener::_closeTable(), ODi_Frame_ListenerState::_drawTextBox(), ODi_TextContent_ListenerState::_flushPendingParagraphBreak(), ODi_TextContent_ListenerState::_insertAnnotation(), IE_Imp_MsWord_97::_insertBookmark(), IE_Imp_MsWord_97::_insertHeaderSection(), ODi_TextContent_ListenerState::_insureInBlock(), OpenWriter_ContentStream_Listener::_insureInBlock(), OpenWriter_ContentStream_Listener::_insureInSection(), ODi_TextContent_ListenerState::_openAbiSection(), OpenWriter_ContentStream_Listener::_openCell(), OpenWriter_ContentStream_Listener::_openTable(), ODi_Table_ListenerState::_parseCellStart(), IE_Imp_RTF::_parseFldinstBlock(), ODi_Table_ListenerState::_parseTableStart(), ODi_TextContent_ListenerState::_startParagraphElement(), IE_Imp_RTF::addFrame(), OXML_Section::addToPT(), OXML_Element_TextBox::addToPT(), OXML_Element_Table::addToPT(), OXML_Element_Paragraph::addToPT(), OXML_Element_Cell::addToPT(), OXML_Section::addToPTAsEndnote(), OXML_Section::addToPTAsFootnote(), OXML_Section::addToPTAsHdrFtr(), IE_Imp_XHTML::appendStrux(), IE_Imp::appendStrux(), IE_Imp_RTF::ApplyParagraphAttributes(), IE_Imp_RTF::ApplySectionAttributes(), IE_Imp_RTF::CloseTable(), ie_imp_table::deleteRow(), ODi_TextContent_ListenerState::endElement(), ODi_TableOfContent_ListenerState::endElement(), ODi_Table_ListenerState::endElement(), ODi_Frame_ListenerState::endElement(), IE_Imp_RTF::FlushStoredChars(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleBookmark(), IE_Imp_RTF::HandleCell(), IE_Imp_RTF::HandleField(), IE_Imp_RTF::HandleNote(), IE_Imp_RTF::HandleShape(), IE_Imp_RTF::InsertImage(), newDocument(), IE_Imp_RTF::OpenTable(), repairDoc(), ODi_TextContent_ListenerState::startElement(), ODi_Style_MasterPage::startElement(), OpenWriter_ContentStream_Listener::startElement(), IE_Imp_TableHelper::tableStart(), and IE_Imp_ShpGroupParser::~IE_Imp_ShpGroupParser().
| bool PD_Document::appendStruxFmt | ( | pf_Frag_Strux * | pfs, | |
| const gchar ** | attributes | |||
| ) |
References pt_PieceTable::appendStruxFmt(), m_pPieceTable, and UT_return_val_if_fail.
Referenced by IE_Imp::appendStruxFmt().
| bool PD_Document::appendLastStruxFmt | ( | PTStruxType | pts, | |
| const gchar ** | attributes, | |||
| const gchar ** | props, | |||
| bool | bSkipEmbededSections | |||
| ) |
appends given fmt to the last strux in document
References pt_PieceTable::appendLastStruxFmt(), m_pPieceTable, and UT_return_val_if_fail.
| bool PD_Document::appendLastStruxFmt | ( | PTStruxType | pts, | |
| const gchar ** | attrs, | |||
| const gchar * | props, | |||
| bool | bSkipEmbededSections | |||
| ) |
References pt_PieceTable::appendLastStruxFmt(), m_pPieceTable, and UT_return_val_if_fail.
| bool PD_Document::appendFmt | ( | const gchar ** | attributes | ) |
References pt_PieceTable::appendFmt(), checkForSuspect(), m_pPieceTable, and UT_return_val_if_fail.
Referenced by IE_Imp_MsWord_97::_appendFmt(), IE_Imp_RTF::_appendSpan(), IE_Imp_MsWord_97::_beginPara(), IE_Imp_MsWord_97::_insertHeaderSection(), ODi_TextContent_ListenerState::_startParagraphElement(), OXML_Element_Run::addToPT(), OXML_Element_Paragraph::addToPT(), IE_Imp_XHTML::appendFmt(), IE_Imp::appendFmt(), IE_Imp_RTF::ApplyCharacterAttributes(), IE_Imp_RTF::ApplyParagraphAttributes(), ODi_TextContent_ListenerState::endElement(), OpenWriter_ContentStream_Listener::endElement(), ODi_TextContent_ListenerState::startElement(), and OpenWriter_ContentStream_Listener::startElement().
| bool PD_Document::appendFmt | ( | const UT_GenericVector< const gchar * > * | pVecAttributes | ) |
References pt_PieceTable::appendFmt(), checkForSuspect(), m_pPieceTable, and UT_return_val_if_fail.
| bool PD_Document::appendSpan | ( | const UT_UCSChar * | p, | |
| UT_uint32 | length | |||
| ) |
References pt_PieceTable::appendFmt(), pt_PieceTable::appendSpan(), UT_String::c_str(), checkForSuspect(), gchar, m_iLastDirMarker, m_pPieceTable, s, UCS_LRE, UCS_LRO, UCS_PDF, UCS_RLE, UCS_RLO, UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendSpan(), IE_Imp_MsWord_97::_appendSpan(), IE_Imp_MsWord_97::_appendSpanHdrFtr(), ODi_TextContent_ListenerState::_flush(), OpenWriter_ContentStream_Listener::_flush(), ODi_TextContent_ListenerState::_flushPendingParagraphBreak(), ODi_TextContent_ListenerState::_startParagraphElement(), OXML_Section::addToPT(), OXML_Element_Text::addToPT(), OXML_Element_Paragraph::addToPT(), OXML_Element::addToPT(), IE_Imp_XHTML::appendSpan(), IE_Imp::appendSpan(), IE_Imp_RTF::ApplyParagraphAttributes(), ODi_TextContent_ListenerState::startElement(), and OpenWriter_ContentStream_Listener::startElement().
| bool PD_Document::appendObject | ( | PTObjectType | pto, | |
| const gchar ** | attributes | |||
| ) |
References pt_PieceTable::appendObject(), checkForSuspect(), m_pPieceTable, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendField(), IE_Imp_MsWord_97::_appendObject(), IE_Imp_MsWord_97::_appendObjectHdrFtr(), ODi_Frame_ListenerState::_drawObject(), ODi_TextContent_ListenerState::_insertBookmark(), OpenWriter_ContentStream_Listener::_insertBookmark(), IE_Imp_RTF::_parseFldinstBlock(), ODi_TextContent_ListenerState::_startParagraphElement(), OXML_Element_Paragraph::addToPT(), OXML_Element_Image::addToPT(), OXML_Element_Hyperlink::addToPT(), OXML_Element_Field::addToPT(), OXML_Element_Bookmark::addToPT(), OXML_Section::addToPTAsEndnote(), OXML_Section::addToPTAsFootnote(), IE_Imp_XHTML::appendObject(), IE_Imp::appendObject(), IE_Imp_RTF::ApplyParagraphAttributes(), ODi_TextContent_ListenerState::endElement(), ODi_Frame_ListenerState::endElement(), OpenWriter_ContentStream_Listener::endElement(), IE_Imp_RTF::HandleAbiEmbed(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleBookmark(), IE_Imp_RTF::HandleField(), IE_Imp_RTF::HandleStarKeyword(), ODi_TextContent_ListenerState::startElement(), and OpenWriter_ContentStream_Listener::startElement().
| bool PD_Document::appendFmtMark | ( | void | ) |
| bool PD_Document::appendStyle | ( | const gchar ** | attributes | ) |
References pt_PieceTable::appendStyle(), m_pPieceTable, and UT_return_val_if_fail.
Referenced by IE_Imp_MsWord_97::_handleStyleSheet(), AP_Dialog_Styles::_populateAbiPreview(), OXML_Style::addToPT(), FV_View::appendStyle(), IE_Imp_Psion::applyStyles(), AP_Dialog_Styles::createNewStyle(), ODi_Style_Style::defineAbiStyle(), OpenWriter_StylesStream_Listener::endElement(), IE_Imp_RTF::HandleStyleDefinition(), and AP_Dialog_Styles::updateCurrentStyle().
| bool PD_Document::changeStruxFormatNoUpdate | ( | PTChangeFmt | ptc, | |
| PL_StruxDocHandle | sdh, | |||
| const gchar ** | attributes | |||
| ) |
References pt_PieceTable::changeStruxFormatNoUpdate(), and m_pPieceTable.
Referenced by IE_Imp_TableHelper::BlockFormat().
| bool PD_Document::insertStruxBeforeFrag | ( | pf_Frag * | pF, | |
| PTStruxType | pts, | |||
| const gchar ** | attributes, | |||
| pf_Frag_Strux ** | ppfs_ret = 0 | |||
| ) |
References UT_GenericVector< T >::addItem(), XAP_App::getApp(), XAP_App::getLastFocussedFrame(), pf_Frag::getPrev(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), pt_PieceTable::insertStruxBeforeFrag(), m_pPieceTable, m_vecSuspectFrags, XAP_Frame::nullUpdate(), pf_Frag::PFT_Strux, PTX_EndCell, PTX_SectionCell, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendField(), IE_Imp_MsWord_97::_appendObjectHdrFtr(), IE_Imp_MsWord_97::_appendSpanHdrFtr(), IE_Imp_MsWord_97::_appendStrux(), IE_Imp_MsWord_97::_appendStruxHdrFtr(), IE_Imp_RTF::_parseFldinstBlock(), IE_Imp_RTF::ApplyParagraphAttributes(), IE_Imp_TableHelper::Block(), IE_Imp_RTF::FlushStoredChars(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleAnnotation(), IE_Imp_RTF::HandleBookmark(), IE_Imp_RTF::HandleField(), repairDoc(), IE_Imp_TableHelper::tableStart(), IE_Imp_TableHelper::tdEnd(), and IE_Imp_TableHelper::tdStart().
| bool PD_Document::insertSpanBeforeFrag | ( | pf_Frag * | pF, | |
| const UT_UCSChar * | p, | |||
| UT_uint32 | length | |||
| ) |
References UT_GenericVector< T >::addItem(), pt_PieceTable::appendFmt(), UT_String::c_str(), gchar, pf_Frag_Strux::getStruxType(), pf_Frag::getType(), pt_PieceTable::insertSpanBeforeFrag(), m_iLastDirMarker, m_pPieceTable, m_vecSuspectFrags, pf_Frag::PFT_Strux, PTX_Block, PTX_EndAnnotation, PTX_EndCell, PTX_EndEndnote, PTX_EndFootnote, s, UCS_LRE, UCS_LRO, UCS_PDF, UCS_RLE, UCS_RLO, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendSpan(), IE_Imp_MsWord_97::_appendSpan(), IE_Imp_MsWord_97::_appendSpanHdrFtr(), and IE_Imp_TableHelper::Inline().
| bool PD_Document::insertObjectBeforeFrag | ( | pf_Frag * | pF, | |
| PTObjectType | pto, | |||
| const gchar ** | attributes | |||
| ) |
References UT_GenericVector< T >::addItem(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), pt_PieceTable::insertObjectBeforeFrag(), m_pPieceTable, m_vecSuspectFrags, pf_Frag::PFT_Strux, PTX_Block, PTX_EndAnnotation, PTX_EndEndnote, PTX_EndFootnote, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendField(), IE_Imp_MsWord_97::_appendObject(), IE_Imp_MsWord_97::_appendObjectHdrFtr(), IE_Imp_RTF::HandleAbiEmbed(), IE_Imp_RTF::HandleAbiMathml(), IE_Imp_RTF::HandleBookmark(), and IE_Imp_TableHelper::Object().
| bool PD_Document::insertFmtMarkBeforeFrag | ( | pf_Frag * | pF | ) |
References UT_GenericVector< T >::addItem(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), pt_PieceTable::insertFmtMarkBeforeFrag(), m_pPieceTable, m_vecSuspectFrags, pf_Frag::PFT_Strux, PTX_Block, PTX_EndAnnotation, PTX_EndEndnote, PTX_EndFootnote, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendSpan(), IE_Imp_RTF::ApplyCharacterAttributes(), IE_Imp_RTF::HandleCell(), and IE_Imp_TableHelper::InlineFormat().
| bool PD_Document::insertFmtMarkBeforeFrag | ( | pf_Frag * | pF, | |
| const gchar ** | attributes | |||
| ) |
References pt_PieceTable::insertFmtMarkBeforeFrag(), m_pPieceTable, and UT_return_val_if_fail.
| pf_Frag * PD_Document::findFragOfType | ( | pf_Frag::PFType | iType, | |
| UT_sint32 | iSubtype = -1, |
|||
| const pf_Frag * | pfStart = NULL | |||
| ) |
References pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Frag::getNext(), pf_Frag_Object::getObjectType(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_EndOfDoc, pf_Frag::PFT_FmtMark, pf_Frag::PFT_Object, pf_Frag::PFT_Strux, pf_Frag::PFT_Text, UT_ASSERT_HARMLESS, UT_NOT_REACHED, and UT_return_val_if_fail.
Referenced by IE_Imp_MsWord_97::_findNextENoteSection(), IE_Imp_MsWord_97::_findNextFNoteSection(), and s_updateMailMergeFields().
| pf_Frag * PD_Document::getLastFrag | ( | ) | const |
References pt_PieceTable::getFragments(), pf_Fragments::getLast(), m_pPieceTable, and UT_return_val_if_fail.
Referenced by IE_Imp_MsWord_97::_appendStrux(), IE_Imp_MsWord_97::_ensureInBlock(), IE_Imp_MsWord_97::_flush(), IE_Imp_MsWord_97::_insertBookmark(), IE_Imp_MsWord_97::_insertHeaderSection(), checkForSuspect(), ODi_TextContent_ListenerState::endElement(), IE_Imp_RTF::HandleShape(), IE_Imp_RTF::HandleStarKeyword(), s_updateMailMergeFields(), and IE_Imp_TableHelper::tableStart().
| bool PD_Document::checkForSuspect | ( | void | ) |
This method is called after appendspan, appendObject, appendfmtMark and checks to see if there is an invalid strux just before. If it see one, it marks the strux as suspect for verification after the load is over. Really useful for importers.
References UT_GenericVector< T >::addItem(), getLastFrag(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), m_vecSuspectFrags, pf_Frag::PFT_Strux, PTX_Block, PTX_EndAnnotation, PTX_EndEndnote, and PTX_EndFootnote.
Referenced by appendFmt(), appendFmtMark(), appendObject(), appendSpan(), appendStrux(), and repairDoc().
| bool PD_Document::repairDoc | ( | void | ) |
Scan the vector of suspect frags and add blocks if they're needed. Returns true if there are changes to the document.
References _checkAndFixTable(), _matchSection(), _pruneSectionAPI(), _removeHdrFtr(), _removeRepeatedHdrFtr(), UT_GenericVector< T >::addItem(), appendStrux(), checkForSuspect(), UT_GenericVector< T >::deleteNthItem(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), UT_GenericVector< T >::getItemCount(), pf_Fragments::getLast(), pf_Frag::getNext(), UT_GenericVector< T >::getNthItem(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), insertStruxBeforeFrag(), pt_PieceTable::isEndFootnote(), m_pPieceTable, m_vecSuspectFrags, pf_Frag::PFT_EndOfDoc, pf_Frag::PFT_FmtMark, pf_Frag::PFT_Object, pf_Frag::PFT_Strux, pf_Frag::PFT_Text, PTX_Block, PTX_EndAnnotation, PTX_EndCell, PTX_EndEndnote, PTX_EndFootnote, PTX_EndTable, PTX_Section, PTX_SectionCell, PTX_SectionHdrFtr, and PTX_SectionTable.
Referenced by _importFile().
| bool PD_Document::removeStyle | ( | const gchar * | pszName | ) |
This method removes the style of name pszName from the styles definition and removes all instances of it from the document including the basedon heiracy and the followed-by sequences.
References UT_GenericVector< T >::addItem(), prevStuff::bChangeIndexAP, enumStyles(), prevStuff::fragLength, prevStuff::fragType, gchar, PD_Style::getAttribute(), pt_PieceTable::getAttrProp(), PD_Style::getBasedOn(), pf_Fragments::getFirst(), PD_Style::getFollowedBy(), pt_PieceTable::getFragments(), PD_Style::getIndexAP(), UT_GenericVector< T >::getItemCount(), pf_Fragments::getLast(), pf_Frag::getLength(), pf_Frag::getNext(), UT_GenericVector< T >::getNthItem(), pt_PieceTable::getStyle(), getStyleCount(), pf_Frag::getType(), pf_Frag::getXID(), prevStuff::indexAPFrag, prevStuff::lastFragStrux, m_pPieceTable, notifyListeners(), pf_Frag::PFT_FmtMark, pf_Frag::PFT_Object, pf_Frag::PFT_Strux, pf_Frag::PFT_Text, pp_BASEDON_DEPTH_LIMIT, PT_NAME_ATTRIBUTE_NAME, PT_STYLE_ATTRIBUTE_NAME, PX_ChangeRecord::PXT_ChangeStrux, pt_PieceTable::removeStyle(), prevStuff::thisFrag, prevStuff::thisPos, prevStuff::thisStruxPos, UT_ASSERT_HARMLESS, UT_return_val_if_fail, UT_VECTOR_PURGEALL, and xxx_UT_DEBUGMSG.
| bool PD_Document::tellListener | ( | PL_Listener * | pListener | ) |
References m_pPieceTable, pt_PieceTable::tellListener(), and UT_return_val_if_fail.
Referenced by IE_Exp_HTML::_buildStyleTree(), IE_Exp_WordPerfect::_writeDocument(), IE_Exp_Text::_writeDocument(), IE_Exp_Psion::_writeDocument(), IE_Exp_Passepartout::_writeDocument(), IE_Exp_MsWord_97::_writeDocument(), IE_Exp_MIF::_writeDocument(), IE_Exp_HTML::_writeDocument(), IE_Exp_Applix::_writeDocument(), IE_Exp_RTF::_writeDocumentLocal(), IE_Exp_OpenXML_Listener::IE_Exp_OpenXML_Listener(), IE_TOCHelper::IE_TOCHelper(), and IE_Imp_XHTML::pasteFromBuffer().
| bool PD_Document::tellListenerSubset | ( | PL_Listener * | pListener, | |
| PD_DocumentRange * | pDocRange | |||
| ) |
References PD_DocumentRange::m_pDoc, m_pPieceTable, pt_PieceTable::tellListenerSubset(), and UT_return_val_if_fail.
Referenced by IE_Exp_HTML::_buildStyleTree(), fl_TOCLayout::_createAndFillTOCEntry(), s_HTML_Listener::_doAnnotations(), s_HTML_Listener::_doEndnotes(), s_HTML_Listener::_doFootnotes(), IE_Exp_WordPerfect::_writeDocument(), IE_Exp_Text::_writeDocument(), IE_Exp_Passepartout::_writeDocument(), IE_Exp_MsWord_97::_writeDocument(), IE_Exp_MIF::_writeDocument(), IE_Exp_HTML::_writeDocument(), IE_Exp_Applix::_writeDocument(), IE_Exp_RTF::_writeDocumentLocal(), fl_HdrFtrSectionLayout::addPage(), s_HTML_HdrFtr_Listener::doHdrFtr(), and IE_Exp_RTF::exportHdrFtr().
| bool PD_Document::addListener | ( | PL_Listener * | pListener, | |
| PL_ListenerId * | pListenerId | |||
| ) |
References UT_GenericVector< T >::addItem(), pt_PieceTable::addListener(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), m_pPieceTable, m_vecListeners, UT_GenericVector< T >::setNthItem(), UT_ASSERT_HARMLESS, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by AbiCollab::_setDocument(), FL_DocLayout::fillLayouts(), and ServiceAccountHandler::startSession().
| bool PD_Document::removeListener | ( | PL_ListenerId | listenerId | ) |
References pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Frag::getNext(), pf_Frag::getType(), m_pPieceTable, m_vecListeners, pf_Frag::PFT_Strux, pf_Frag_Strux::setFmtHandle(), UT_GenericVector< T >::setNthItem(), and xxx_UT_DEBUGMSG.
Referenced by changeConnectedDocument(), removeConnections(), ServiceAccountHandler::removeExporter(), AbiCollab::~AbiCollab(), and FL_DocLayout::~FL_DocLayout().
| bool PD_Document::signalListeners | ( | UT_uint32 | iSignal | ) | const |
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), m_bIgnoreSignals, m_iUpdateCount, m_vecListeners, PD_SIGNAL_UPDATE_LAYOUT, and PL_Listener::signal().
Referenced by ABI_Collab_Import::_enableUpdates(), FV_View::_generalUpdate(), fl_DocSectionLayout::_HdrFtrChangeCallback(), ABI_Collab_Import::_import(), AP_Win32Dialog_Styles::_onCommand(), _saveAs(), AbiCollabSaveInterceptor::_saveFailed(), acceptAllRevisions(), acceptRejectRevision(), Defun(), AP_UnixDialog_Styles::event_DeleteClicked(), AP_CocoaDialog_Styles::event_DeleteClicked(), AP_UnixDialog_Styles::event_ModifyClicked(), AP_CocoaDialog_Styles::event_modifySheetDidEnd(), forceDirty(), FV_View::insertHeaderFooter(), rejectAllHigherRevisions(), AP_Win32Dialog_Styles::runModal(), s_closeWindow(), s_doStylesDlg(), AbiCollabSaveInterceptor::save(), setAutoRevisioning(), setMarkRevisions(), ServiceAccountHandler::startSession(), and AP_Dialog_FormatFootnotes::updateDocWithValues().
| bool PD_Document::notifyListeners | ( | const pf_Frag_Strux * | pfs, | |
| const PX_ChangeRecord * | pcr | |||
| ) | const |
References PL_Listener::change(), PX_ChangeRecord::getCRNumber(), PX_ChangeRecord::getDocument(), pf_Frag_Strux::getFmtHandle(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), PL_Listener::getType(), m_iUpdateCount, m_vecListeners, PTL_CollabExport, PX_ChangeRecord::setCRNumber(), and PX_ChangeRecord::setDocument().
Referenced by pt_PieceTable::_changePointWithNotify(), pt_PieceTable::_deleteFmtMarkWithNotify(), pt_PieceTable::_deleteObjectWithNotify(), pt_PieceTable::_deleteSpanWithNotify(), pt_PieceTable::_deleteStruxWithNotify(), pt_PieceTable::_doTheDo(), pt_PieceTable::_fmtChangeFmtMarkWithNotify(), pt_PieceTable::_fmtChangeObjectWithNotify(), pt_PieceTable::_fmtChangeSpanWithNotify(), pt_PieceTable::_fmtChangeStruxWithNotify(), pt_PieceTable::_insertFmtMarkAfterBlockWithNotify(), pt_PieceTable::_insertFmtMarkFragWithNotify(), pt_PieceTable::_realInsertObject(), pt_PieceTable::_realInsertSpan(), pt_PieceTable::_realInsertStrux(), fd_Field::_throwChangeRec(), pt_PieceTable::beginMultiStepGlob(), pt_PieceTable::beginUserAtomicGlob(), pt_PieceTable::changeStruxFmtNoUndo(), pt_PieceTable::createAndSendCR(), pt_PieceTable::createAndSendDocPropCR(), createDataItem(), pt_PieceTable::endMultiStepGlob(), pt_PieceTable::endUserAtomicGlob(), listUpdate(), removeList(), removeStyle(), StopList(), updateAllLayoutsInDoc(), and updateDocForStyleChange().
| bool PD_Document::notifyListeners | ( | const pf_Frag_Strux * | pfs, | |
| pf_Frag_Strux * | pfsNew, | |||
| const PX_ChangeRecord * | pcr | |||
| ) | const |
References PX_ChangeRecord::getCRNumber(), PX_ChangeRecord::getDocument(), pf_Frag_Strux::getFmtHandle(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), PL_Listener::getType(), PL_Listener::insertStrux(), m_iUpdateCount, m_vecListeners, PTL_CollabExport, s_BindHandles(), PX_ChangeRecord::setCRNumber(), PX_ChangeRecord::setDocument(), and UT_ASSERT_HARMLESS.
| void PD_Document::deferNotifications | ( | void | ) |
References PL_Listener::deferNotifications(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), and m_vecListeners.
Referenced by changeSpanFmt().
| void PD_Document::processDeferredNotifications | ( | void | ) |
References UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), m_vecListeners, and PL_Listener::processDeferredNotifications().
Referenced by changeSpanFmt().
| UT_sint32 PD_Document::getAdjustmentForCR | ( | const PX_ChangeRecord * | pcr | ) | const |
References PX_ChangeRecord_SpanChange::getLength(), PX_ChangeRecord::getType(), PX_ChangeRecord::PXT_AddStyle, PX_ChangeRecord::PXT_ChangeDocProp, PX_ChangeRecord::PXT_ChangeFmtMark, PX_ChangeRecord::PXT_ChangeObject, PX_ChangeRecord::PXT_ChangePoint, PX_ChangeRecord::PXT_ChangeSpan, PX_ChangeRecord::PXT_ChangeStrux, PX_ChangeRecord::PXT_CreateDataItem, PX_ChangeRecord::PXT_DeleteFmtMark, PX_ChangeRecord::PXT_DeleteObject, PX_ChangeRecord::PXT_DeleteSpan, PX_ChangeRecord::PXT_DeleteStrux, PX_ChangeRecord::PXT_GlobMarker, PX_ChangeRecord::PXT_InsertFmtMark, PX_ChangeRecord::PXT_InsertObject, PX_ChangeRecord::PXT_InsertSpan, PX_ChangeRecord::PXT_InsertStrux, PX_ChangeRecord::PXT_ListUpdate, PX_ChangeRecord::PXT_RemoveList, PX_ChangeRecord::PXT_RemoveStyle, PX_ChangeRecord::PXT_StopList, PX_ChangeRecord::PXT_UpdateField, and PX_ChangeRecord::PXT_UpdateLayout.
Referenced by px_ChangeHistory::getRedo(), and px_ChangeHistory::getUndo().
| bool PD_Document::getAttrProp | ( | PT_AttrPropIndex | indexAP, | |
| const PP_AttrProp ** | ppAP | |||
| ) | const |
References pt_PieceTable::getAttrProp(), and m_pPieceTable.
Referenced by PL_Psion_Listener::_addInLine(), ABI_Collab_Export::_buildPacket(), IE_Exp_HTML::_buildStyleTree(), ODe_AbiDocListener::_closeBookmark(), fl_BlockLayout::_doInsertFieldRun(), s_WML_Listener::_emitTOC(), s_HTML_Listener::_emitTOC(), s_RTF_ListenerWriteDoc::_fillCellProps(), s_RTF_ListenerWriteDoc::_fillTableProps(), s_RTF_ListenerWriteDoc::_getColumnWidthInches(), fp_MathRun::_getLayoutPropFromObject(), fp_EmbedRun::_getLayoutPropFromObject(), ODe_AbiDocListener::_getObjectKey(), s_HTML_Listener::_handleAnnotationMark(), s_XSL_FO_Listener::_handleBookmark(), s_WML_Listener::_handleBookmark(), s_HTML_Listener::_handleBookmark(), s_DocBook_Listener::_handleBookmark(), Text_Listener::_handleDirMarker(), s_DocBook_Listener::_handleDocument(), s_XSL_FO_Listener::_handleEmbedded(), s_WML_Listener::_handleEmbedded(), s_HTML_Listener::_handleEmbedded(), s_DocBook_Listener::_handleEmbedded(), s_XSL_FO_Listener::_handleField(), s_WML_Listener::_handleField(), s_HTML_Listener::_handleField(), s_DocBook_Listener::_handleField(), s_DocBook_Listener::_handleFootnote(), s_XSL_FO_Listener::_handleFrame(), s_DocBook_Listener::_handleHdrFtr(), s_XSL_FO_Listener::_handleHyperlink(), s_WML_Listener::_handleHyperlink(), s_HTML_Listener::_handleHyperlink(), s_DocBook_Listener::_handleHyperlink(), s_XSL_FO_Listener::_handleImage(), s_WML_Listener::_handleImage(), s_HTML_Listener::_handleImage(), s_DocBook_Listener::_handleImage(), s_XSL_FO_Listener::_handleMath(), s_WML_Listener::_handleMath(), s_HTML_Listener::_handleMath(), s_DocBook_Listener::_handleMath(), s_XSL_FO_Listener::_handlePageSize(), s_XSL_FO_Listener::_handlePositionedImage(), s_DocBook_Listener::_handlePositionedImage(), s_DocBook_Listener::_handleTOC(), ODe_AbiDocListener::_insertEmbeddedImage(), PL_Psion_Listener::_insertImage(), ODe_AbiDocListener::_insertInlinedImage(), ODe_AbiDocListener::_insertMath(), fp_ImageRun::_lookupProperties(), FL_DocLayout::_lookupProperties(), ABI_Collab_Export::_mapPropsAtts(), ODe_AbiDocListener::_openAnnotation(), ODe_AbiDocListener::_openBlock(), s_XSL_FO_Listener::_openBlock(), WordPerfect_Listener::_openBlock(), Passepartout_Listener::_openBlock(), OO_Listener::_openBlock(), s_KWord_1_Listener::_openBlock(), ODe_AbiDocListener::_openBookmark(), ODe_AbiDocListener::_openCell(), s_HTML_Listener::_openCell(), ODe_AbiDocListener::_openEndnote(), ODe_AbiDocListener::_openField(), Passepartout_Listener::_openFont(), ODe_AbiDocListener::_openFootnote(), ODe_AbiDocListener::_openFrame(), s_RTF_ListenerWriteDoc::_openFrame(), ODe_AbiDocListener::_openHyperlink(), s_WML_Listener::_openParagraph(), PL_Psion_Listener::_openParagraph(), s_LaTeX_Listener::_openParagraph(), s_DocBook_Listener::_openParagraph(), s_HTML_Listener::_openPosImage(), s_HTML_Listener::_openRow(), ODe_AbiDocListener::_openSection(), s_WML_Listener::_openSection(), s_LaTeX_Listener::_openSection(), s_HTML_Listener::_openSection(), s_DocBook_Listener::_openSection(), ODe_AbiDocListener::_openSpan(), s_XSL_FO_Listener::_openSpan(), WordPerfect_Listener::_openSpan(), s_WML_Listener::_openSpan(), s_RTF_ListenerWriteDoc::_openSpan(), s_RTF_ListenerGetProps::_openSpan(), OO_Listener::_openSpan(), s_LaTeX_Listener::_openSpan(), s_KWord_1_Listener::_openSpan(), s_HTML_Listener::_openSpan(), s_HRText_Listener::_openSpan(), s_DocBook_Listener::_openSpan(), ODe_AbiDocListener::_openTable(), s_HTML_Listener::_openTable(), s_RTF_ListenerWriteDoc::_openTag(), s_HTML_Listener::_openTag(), s_HRText_Listener::_openTag(), s_AbiWord_1_Listener::_openTag(), s_HTML_Listener::_openTextBox(), ODe_AbiDocListener::_openTOC(), s_LaTeX_Listener::_outputBabelPackage(), s_HTML_Listener::_outputBegin(), s_RTF_ListenerWriteDoc::_rtf_open_block(), s_RTF_ListenerWriteDoc::_rtf_open_section(), s_RTF_ListenerGetProps::_searchCellAPI(), s_RTF_ListenerGetProps::_searchTableAPI(), PL_Psion_Listener::_setStyleLayout(), fp_MathRun::_updatePropValuesIfNeeded(), fp_EmbedRun::_updatePropValuesIfNeeded(), IE_Exp_RTF::_write_parafmt(), IE_Exp_RTF::_write_rtf_header(), s_RTF_ListenerWriteDoc::_writeAnnotation(), s_RTF_ListenerWriteDoc::_writeBookmark(), s_RTF_ListenerWriteDoc::_writeFieldPreamble(), s_RTF_ListenerWriteDoc::_writeHyperlink(), s_RTF_ListenerWriteDoc::_writeImageInRTF(), s_KWord_1_Listener::_writeMarginSize(), s_RTF_ListenerWriteDoc::_writeTOC(), IE_Exp_OpenXML_Listener::addDocumentStyles(), IE_Exp_OpenXML_Listener::addLists(), fl_SectionLayout::bl_doclistener_insertSection(), fl_DocListener::change(), Defun1(), Defun_EV_GetMenuItemState_Fn(), fl_DocSectionLayout::doclistener_changeStrux(), fl_BlockLayout::doclistener_insertSection(), ODe_Styles::fetchRegularStyleStyles(), AP_Dialog_FormatTOC::fillTOCPropsFromDoc(), FV_View::FV_View(), FV_View::getAllAttrProp(), fl_Layout::getAttrProp(), s_AbiWord_1_Listener::getObjectKey(), GR_MathManager::loadEmbedData(), GR_GOChartManager::loadEmbedData(), GR_MathManager::makeSnapShot(), PP_AttrProp::miniDump(), Passepartout_Listener::Passepartout_Listener(), ODe_AbiDocListener::populate(), IE_Imp_PasteListener::populate(), s_RTF_ListenerWriteDoc::populate(), IE_Exp_OpenXML_Listener::populate(), OO_Listener::populate(), s_LaTeX_Listener::populate(), s_AbiWord_1_Listener::populate(), TOC_Listener::populateStrux(), IE_Imp_PasteListener::populateStrux(), s_XSL_FO_Listener::populateStrux(), Text_Listener::populateStrux(), s_RTF_ListenerWriteDoc::populateStrux(), PL_Psion_Listener::populateStrux(), Passepartout_Listener::populateStrux(), IE_Exp_OpenXML_Listener::populateStrux(), s_LaTeX_Listener::populateStrux(), s_KWord_1_Listener::populateStrux(), s_HTML_HdrFtr_Listener::populateStrux(), s_HTML_Listener::populateStrux(), s_HRText_Listener::populateStrux(), fl_ShadowListener::populateStrux(), fl_DocListener::populateStrux(), PP_evalProperty(), s_doLangDlg(), ie_PartTable::setCellApi(), AP_Dialog_FormatFrame::setCurFrameProps(), ie_PartTable::setTableApi(), s_StyleTree::styleCheck(), Text_Listener::Text_Listener(), and OO_StylesWriter::writeStyles().
| bool PD_Document::getSpanAttrProp | ( | PL_StruxDocHandle | sdh, | |
| UT_uint32 | offset, | |||
| bool | bLeftSide, | |||
| const PP_AttrProp ** | ppAP | |||
| ) | const |
References pt_PieceTable::getSpanAttrProp(), and m_pPieceTable.
Referenced by s_RTF_ListenerWriteDoc::_closeBlock(), FV_View::getAttrPropForPoint(), getSpanAttrProp(), and fl_Layout::getSpanAttrProp().
| bool PD_Document::getAttrProp | ( | PT_AttrPropIndex | apIndx, | |
| const PP_AttrProp ** | ppAP, | |||
| PP_RevisionAttr ** | pRevisions, | |||
| bool | bShowRevisions, | |||
| UT_uint32 | iRevisionId, | |||
| bool & | bHiddenRevision | |||
| ) | const |
| bool PD_Document::getSpanAttrProp | ( | PL_StruxDocHandle | sdh, | |
| UT_uint32 | offset, | |||
| bool | bLeftSide, | |||
| const PP_AttrProp ** | ppAP, | |||
| PP_RevisionAttr ** | pRevisions, | |||
| bool | bShowRevisions, | |||
| UT_uint32 | iRevisionId, | |||
| bool & | bHiddenRevision | |||
| ) | const |
retrieves span AP corresponding to revision settings
pRevisions : [out] the representation of the rev. attribute associated with the AP; if the caller does not need this, the pointer can be set to null
References explodeRevisions(), gchar, PP_AttrProp::getAttribute(), getAttrProp(), PP_AttrProp::getRevisedIndex(), PP_AttrProp::getRevisionHidden(), PP_AttrProp::getRevisionState(), getSpanAttrProp(), PP_RevisionState::isEqual(), AD_Document::isMarkRevisions(), and UT_return_val_if_fail.
| const UT_UCSChar * PD_Document::getPointer | ( | PT_BufIndex | bi | ) | const |
References pt_PieceTable::getPointer(), and m_pPieceTable.
Referenced by ABI_Collab_Export::_buildPacket(), fl_BlockLayout::doclistener_insertSpan(), fl_BlockLayout::doclistener_populateSpan(), ODe_AbiDocListener::populate(), TOC_Listener::populate(), IE_Imp_PasteListener::populate(), s_XSL_FO_Listener::populate(), WordPerfect_Listener::populate(), s_WML_Listener::populate(), Text_Listener::populate(), s_RTF_ListenerWriteDoc::populate(), s_RTF_ListenerGetProps::populate(), PL_Psion_Listener::populate(), Passepartout_Listener::populate(), IE_Exp_OpenXML_Listener::populate(), OO_Listener::populate(), s_MsWord_97_Listener::populate(), s_MIF_Listener::populate(), s_LaTeX_Listener::populate(), s_KWord_1_Listener::populate(), s_HTML_Listener::populate(), s_HRText_Listener::populate(), s_DocBook_Listener::populate(), s_Applix_Listener::populate(), and s_AbiWord_1_Listener::populate().
| bool PD_Document::getBlockBuf | ( | PL_StruxDocHandle | sdh, | |
| UT_GrowBuf * | pgb | |||
| ) | const |
References pt_PieceTable::getBlockBuf(), and m_pPieceTable.
Referenced by fl_BlockLayout::getBlockBuf().
| bool PD_Document::getBounds | ( | bool | bEnd, | |
| PT_DocPosition & | docPos | |||
| ) | const |
References pt_PieceTable::getBounds(), and m_pPieceTable.
Referenced by IE_Imp_MsWord_97::_table_close(), fl_HdrFtrSectionLayout::addPage(), fl_TableLayout::bl_doclistener_insertTable(), fl_SectionLayout::bl_doclistener_insertTable(), fl_Squiggles::clear(), FV_View::countWords(), fl_BlockLayout::doclistener_deleteFmtMark(), fl_BlockLayout::doclistener_insertFrame(), fl_BlockLayout::doclistener_insertSection(), fl_BlockLayout::doclistener_insertTable(), ODi_TextContent_ListenerState::endElement(), IE_Exp_RTF::exportHdrFtr(), FL_DocLayout::fillLayouts(), fl_HdrFtrShadow::findBlockAtPosition(), FL_DocLayout::findBlockAtPosition(), FL_DocLayout::findBlockAtPositionReverse(), FV_View::findSetStartAt(), FV_View::getEditableBounds(), ABI_Collab_Import::getEndOfDoc(), fl_CellLayout::getLength(), fl_TableLayout::getLength(), fl_BlockLayout::getLength(), fl_HdrFtrSectionLayout::isPointInHere(), IE_Imp_RTF::OpenTable(), IE_Imp_XHTML::pasteFromBuffer(), IE_Imp_RTF::pasteFromBuffer(), and s_HTML_HdrFtr_Listener::populateStrux().
| PTStruxType PD_Document::getStruxType | ( | PL_StruxDocHandle | sdh | ) | const |
Return strux type of the StruxDocHandle
References pf_Frag_Strux::getStruxType(), pf_Frag::getType(), pf_Frag::PFT_Strux, and UT_return_val_if_fail.
Referenced by s_RTF_ListenerWriteDoc::_closeBlock(), FV_View::isPointLegal(), and ie_imp_table::writeAllCellPropsInDoc().
| PT_DocPosition PD_Document::getStruxPosition | ( | PL_StruxDocHandle | sdh | ) | const |
References pt_PieceTable::getStruxPosition(), and m_pPieceTable.
Referenced by FV_View::_deleteCellAt(), FV_View::_findGetNextBlockBuffer(), FV_View::_insertCellAfter(), FV_View::_MergeCells(), s_RTF_ListenerWriteDoc::_open_table(), FV_View::_populateThisHdrFtr(), FV_Selection::addCellToSelection(), fl_HdrFtrSectionLayout::addPage(), AP_Dialog_Lists::Apply(), fp_FieldTOCNumRun::calculateValue(), fp_FieldTableSumCols::calculateValue(), fp_FieldTableSumRows::calculateValue(), fp_FieldListLabelRun::calculateValue(), FV_View::changeListStyle(), IE_Imp_RTF::closePastedTableIfNeeded(), FV_View::cmdAdvanceNextPrevCell(), FV_View::cmdDeleteCol(), FV_View::cmdDeleteRow(), FV_View::cmdDeleteTable(), FV_View::cmdEditAnnotationWithDialog(), FV_View::cmdInsertCol(), FV_View::cmdInsertRow(), FV_View::cmdInsertTable(), FV_View::cmdMergeCells(), FV_View::cmdSelectColumn(), FV_View::cmdSplitCells(), FV_View::cmdTableToText(), FV_View::cmdTextToTable(), compareListItems(), Defun1(), FV_FrameEdit::deleteFrame(), deleteStrux(), fl_BlockLayout::doclistener_insertSection(), IE_Exp_RTF::exportHdrFtr(), fl_AutoNum::findAndSetParentItem(), FV_View::findCellPosAt(), FV_View::getAnnotationText(), fl_TOCLayout::getDocPosition(), fl_FrameLayout::getDocPosition(), fl_EmbedLayout::getDocPosition(), fl_BlockLayout::getEnclosingBlock(), fl_TOCLayout::getLength(), fl_CellLayout::getLength(), fl_TableLayout::getLength(), fl_FrameLayout::getLength(), fl_EmbedLayout::getLength(), fl_BlockLayout::getLength(), fl_ContainerLayout::getPosition(), fl_BlockLayout::getPosition(), IE_Imp_RTF::HandleAbiEndTable(), IE_Imp_RTF::HandleAbiTable(), fl_CellLayout::isCellSelected(), fl_AutoNum::isContainedByList(), FV_View::isInTable(), FV_View::isPointLegal(), listUpdate(), FV_FrameEdit::mouseRelease(), FV_Selection::pasteRowOrCol(), s_HTML_HdrFtr_Listener::populateStrux(), s_DocBook_Listener::populateStrux(), removeList(), FV_View::selectAnnotation(), FV_View::setAnnotationAuthor(), FV_View::setAnnotationText(), FV_View::setAnnotationTitle(), FV_View::setBlockIndents(), FV_View::setCellFormat(), FV_View::setTableFormat(), fl_BlockLayout::shuffleEmbeddedIfNeeded(), StopList(), updateAllLayoutsInDoc(), and fl_BlockLayout::updateEnclosingBlockIfNeeded().
| bool PD_Document::getStruxFromPosition | ( | PL_ListenerId | listenerId, | |
| PT_DocPosition | docPos, | |||
| PL_StruxFmtHandle * | psfh | |||
| ) | const |
References pt_PieceTable::getStruxFromPosition(), and m_pPieceTable.
| bool PD_Document::getStruxOfTypeFromPosition | ( | PL_ListenerId | listenerId, | |
| PT_DocPosition | docPos, | |||
| PTStruxType | pts, | |||
| PL_StruxFmtHandle * | psfh | |||
| ) | const |
References pt_PieceTable::getStruxOfTypeFromPosition(), and m_pPieceTable.
Referenced by FV_View::_deleteCellAt(), FV_View::_findGetNextBlockBuffer(), s_RTF_ListenerWriteDoc::_getFieldValue(), FV_View::_getMouseContext(), ABI_Collab_Import::_import(), IE_Imp_Text::_insertBlock(), FV_View::_insertCellAfter(), FV_View::_MergeCells(), s_RTF_ListenerWriteDoc::_open_table(), IE_Exp_RTF::_write_rtf_header(), IE_Imp_RTF::ApplyParagraphAttributes(), fp_FieldTableSumCols::calculateValue(), fp_FieldTableSumRows::calculateValue(), IE_Imp_RTF::closePastedTableIfNeeded(), FV_View::cmdAdvanceNextPrevCell(), FV_View::cmdDeleteCell(), FV_View::cmdDeleteCol(), FV_View::cmdDeleteRow(), FV_View::cmdDeleteTable(), FV_View::cmdInsertCol(), FV_View::cmdInsertRow(), FV_View::cmdInsertTable(), FV_View::cmdMergeCells(), FV_View::cmdSelectColumn(), FV_View::cmdSplitCells(), FV_View::cmdTableToText(), FV_View::cmdTextToTable(), Defun1(), AP_Dialog_FormatTOC::fillTOCPropsFromDoc(), fl_HdrFtrShadow::findBlockAtPosition(), FL_DocLayout::findBlockAtPosition(), FL_DocLayout::findBlockAtPositionReverse(), FV_View::findCellPosAt(), findForwardStyleStrux(), findPreviousStyleStrux(), FV_View::getCellLineStyle(), FV_View::getCellParams(), FV_View::getCellProperty(), fl_BlockLayout::getEnclosingBlock(), getEndTableStruxFromTablePos(), FV_View::getFrameLayout(), IE_Imp_RTF::HandleAbiEndTable(), IE_Imp_RTF::HandleAbiTable(), FV_View::isImageAtStrux(), fl_HdrFtrSectionLayout::isPointInHere(), FV_View::isPointLegal(), IE_Imp_RTF::mapID(), FV_Selection::pasteRowOrCol(), FV_View::setCellFormat(), AP_Dialog_FormatFrame::setCurFrameProps(), FV_FrameEdit::setDragType(), FV_View::setTableFormat(), and fl_BlockLayout::updateEnclosingBlockIfNeeded().
| bool PD_Document::getStruxOfTypeFromPosition | ( | PT_DocPosition | docPos, | |
| 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.
This sdh is actually a (void *) pointer to a pf_Frag_Strux
References pt_PieceTable::getStruxOfTypeFromPosition(), and m_pPieceTable.
| pf_Frag * PD_Document::getFragFromPosition | ( | PT_DocPosition | docPos | ) | const |
References pt_PieceTable::getFragFromPosition(), and m_pPieceTable.
Referenced by fl_BlockLayout::getLength(), FV_View::isParaBreakNeededAtPos(), IE_Imp_RTF::pasteFromBuffer(), and s_RTF_ListenerWriteDoc::populate().
| bool PD_Document::getNextStruxOfType | ( | PL_StruxDocHandle | sdh, | |
| PTStruxType | pts, | |||
| PL_StruxDocHandle * | nextsdh | |||
| ) |
Return the sdh of type pts immediately after sdh.
References pf_Frag::getNext(), pf_Frag_Strux::getStruxType(), pf_Frag::PFT_Strux, PTX_EndTable, PTX_SectionTable, and UT_return_val_if_fail.
Referenced by FV_View::_findGetNextBlockBuffer(), FV_Selection::addCellToSelection(), fl_HdrFtrSectionLayout::addPage(), IE_Imp_RTF::closePastedTableIfNeeded(), FV_View::cmdAdvanceNextPrevCell(), FV_View::cmdDeleteCol(), FV_View::cmdDeleteRow(), FV_View::cmdEditAnnotationWithDialog(), FV_View::cmdInsertCol(), FV_View::cmdInsertRow(), FV_View::cmdMergeCells(), FV_View::cmdSplitCells(), Defun1(), FV_FrameEdit::deleteFrame(), IE_Exp_RTF::exportHdrFtr(), fl_BlockLayout::getEnclosingBlock(), fl_TOCLayout::getLength(), fl_FrameLayout::getLength(), fl_EmbedLayout::getLength(), IE_Imp_RTF::HandleAbiEndTable(), IE_Imp_RTF::HandleAbiTable(), fl_CellLayout::isCellSelected(), fl_AutoNum::isContainedByList(), FV_FrameEdit::mouseRelease(), s_HTML_HdrFtr_Listener::populateStrux(), s_DocBook_Listener::populateStrux(), FV_View::selectAnnotation(), FV_View::setAnnotationText(), fl_BlockLayout::shuffleEmbeddedIfNeeded(), and fl_BlockLayout::updateEnclosingBlockIfNeeded().
| bool PD_Document::getPrevStruxOfType | ( | PL_StruxDocHandle | sdh, | |
| PTStruxType | pts, | |||
| PL_StruxDocHandle * | prevsdh | |||
| ) |
Return the sdh of type pts immediately prior to sdh.
References pf_Frag::getPrev(), pf_Frag_Strux::getStruxType(), pf_Frag::PFT_Strux, and UT_return_val_if_fail.
Referenced by IE_Imp_TableHelper::BlockFormat(), FV_View::cmdAdvanceNextPrevCell(), FV_View::cmdInsertCol(), fl_AutoNum::isContainedByList(), IE_Imp_TableHelper::tableStart(), and IE_Imp_TableHelper::tdStart().
| bool PD_Document::getNextStrux | ( | PL_StruxDocHandle | sdh, | |
| PL_StruxDocHandle * | nextsdh | |||
| ) |
get the next strux after the strux given.
Skip embedded strux's
References pf_Frag::getNext(), pt_PieceTable::isEndFootnote(), pt_PieceTable::isFootnote(), m_pPieceTable, pf_Frag::PFT_Strux, and UT_return_val_if_fail.
Referenced by ie_imp_table::deleteRow(), fl_BlockLayout::getLength(), FV_View::isPointLegal(), and ie_imp_table::writeAllCellPropsInDoc().
| bool PD_Document::createDataItem | ( | const char * | szName, | |
| bool | bBase64, | |||
| const UT_ByteBuf * | pByteBuf, | |||
| const std::string & | mime_type, | |||
| void ** | ppHandle | |||
| ) | [virtual] |
Implements AD_Document.
References gchar, getDataItemDataByName(), UT_ByteBuf::getLength(), UT_ByteBuf::getPointer(), pt_PieceTable::getVarSet(), getXID(), UT_ByteBuf::ins(), m_hashDataItems, m_pPieceTable, notifyListeners(), _dataItemPair::pBuf, PT_DATAITEM_ATTRIBUTE_NAME, _dataItemPair::pToken, PX_ChangeRecord::PXT_CreateDataItem, pt_VarSet::storeAP(), UT_Base64Decode(), UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by ABI_Collab_Import::_import(), AbiMathView_FileInsert(), ODi_Abi_Data::addImageDataItem(), ODi_Abi_Data::addObjectDataItem(), OXML_Image::addToPT(), FV_View::cmdInsertEmbed(), FV_View::cmdInsertLatexMath(), FV_View::cmdUpdateEmbed(), FG_GraphicVector::createDataItem(), FG_GraphicRaster::createDataItem(), IE_Imp_RTF::CreateDataItemfromSteam(), ODi_Frame_ListenerState::endElement(), FG_GraphicVector::insertAtStrux(), FG_GraphicRaster::insertAtStrux(), IE_Imp_RTF::InsertImage(), FG_GraphicVector::insertIntoDocument(), FG_GraphicRaster::insertIntoDocument(), FV_VisualInlineImage::mouseCopy(), and IE_Imp_PasteListener::populateStrux().
| bool PD_Document::replaceDataItem | ( | const char * | szName, | |
| const UT_ByteBuf * | pByteBuf | |||
| ) | [virtual] |
Replace the contents of the pre-existing data item with this new data item (pByteBuf). Used when updating a preview of an embedded object.
Implements AD_Document.
References UT_ByteBuf::getLength(), UT_ByteBuf::getPointer(), UT_ByteBuf::ins(), m_hashDataItems, _dataItemPair::pBuf, UT_ByteBuf::truncate(), and UT_return_val_if_fail.
| bool PD_Document::getDataItemDataByName | ( | const char * | szName, | |
| const UT_ByteBuf ** | ppByteBuf, | |||
| std::string * | pMimeType, | |||
| void ** | ppHandle | |||
| ) | const [virtual] |
Implements AD_Document.
References m_hashDataItems, _dataItemPair::pBuf, _dataItemPair::pToken, UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by ABI_Collab_Export::_buildPacket(), s_HTML_Listener::_handleEmbedded(), s_LaTeX_Listener::_handleImage(), s_HTML_Listener::_handleImage(), s_DocBook_Listener::_handleImage(), s_HTML_Listener::_handleMath(), s_HTML_Listener::_handlePendingImages(), s_DocBook_Listener::_handlePositionedImage(), PL_Psion_Listener::_insertImage(), ODe_AbiDocListener::_insertMath(), s_RTF_ListenerWriteDoc::_openFrame(), s_RTF_ListenerWriteDoc::_openTag(), s_RTF_ListenerWriteDoc::_writeImageInRTF(), FV_View::cmdInsertEmbed(), FV_View::cmdUpdateEmbed(), createDataItem(), IE_Imp_RTF::CreateDataItemfromSteam(), FG_GraphicVector::createFromChangeRecord(), FG_GraphicRaster::createFromChangeRecord(), FG_Graphic::createFromChangeRecord(), FG_GraphicVector::createFromStrux(), FG_GraphicRaster::createFromStrux(), FG_Graphic::createFromStrux(), Defun1(), dlgEditLatexEquation(), getDataItemFileExtension(), FV_VisualInlineImage::getPNGImage(), FV_FrameEdit::getPNGImage(), GR_MathManager::loadEmbedData(), GR_GOChartManager::loadEmbedData(), FV_VisualInlineImage::mouseCopy(), s_LaTeX_Listener::populate(), and FV_View::saveSelectedImage().
| bool PD_Document::setDataItemToken | ( | void * | pHandle, | |
| void * | pToken | |||
| ) |
References _dataItemPair::pToken, and UT_return_val_if_fail.
| bool PD_Document::getDataItemData | ( | void * | pHandle, | |
| const char ** | pszName, | |||
| const UT_ByteBuf ** | ppByteBuf, | |||
| const void ** | ppToken | |||
| ) | const |
References _dataItemPair::pBuf, _dataItemPair::pToken, UT_ASSERT_HARMLESS, UT_return_val_if_fail, and UT_TODO.
| bool PD_Document::getDataItemFileExtension | ( | const char * | szDataID, | |
| std::string & | sExt, | |||
| bool | bDot = true | |||
| ) | const |
This function accepts a data ID and assigns the file extension of the corresponding data item.
| szDataID | The incoming data ID to look up | |
| sExt | The extension string that is populated on success | |
| bDot | A boolean to determine whether the extension string will be prefixed with a dot ('.'). Defaults to true. |
References getDataItemDataByName(), UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by s_XSL_FO_Listener::_handleImage(), s_WML_Listener::_handleImage(), s_HTML_Listener::_handleImage(), s_XSL_FO_Listener::_handlePositionedImage(), and OXML_Element_Image::serialize().
| bool PD_Document::enumDataItems | ( | UT_uint32 | k, | |
| void ** | ppHandle, | |||
| const char ** | pszName, | |||
| const UT_ByteBuf ** | ppByteBuf, | |||
| std::string * | pMimeType | |||
| ) | const |
References m_hashDataItems, _dataItemPair::pBuf, _dataItemPair::pToken, and UT_return_val_if_fail.
Referenced by s_XSL_FO_Listener::_handleDataItems(), s_WML_Listener::_handleDataItems(), s_KWord_1_Listener::_handleDataItems(), s_DocBook_Listener::_handleDataItems(), s_AbiWord_1_Listener::_handleDataItems(), IE_Exp_OpenXML_Listener::addImages(), IE_Imp_PasteListener::populateStrux(), ODe_ManifestWriter::writeManifest(), OO_ManifestWriter::writeManifest(), ODe_PicturesWriter::writePictures(), and OO_PicturesWriter::writePictures().
| PL_StruxDocHandle PD_Document::findHdrFtrStrux | ( | const gchar * | pszHdrFtr, | |
| const gchar * | pszHdrFtrID | |||
| ) |
This method scans the document to look for a HdrFtr strux.
| const | char * pszHdrFtr The particular attribute that identifies the strux as "header" "footer" "header-even" etc. | |
| const | char * pszHdrFtrID the unique string to match with Docsection. |
References gchar, pt_PieceTable::getAttrProp(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Frag::getIndexAP(), pf_Fragments::getLast(), pf_Frag::getNext(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, PT_ID_ATTRIBUTE_NAME, PT_TYPE_ATTRIBUTE_NAME, PTX_SectionHdrFtr, and UT_return_val_if_fail.
Referenced by IE_Exp_RTF::exportHdrFtr().
| bool PD_Document::verifySectionID | ( | const gchar * | pszId | ) |
This method scans the document to check that the id of a header/footer section actually exists in a section somewhere in the document.
References gchar, pt_PieceTable::getAttrProp(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Fragments::getLast(), pf_Frag::getNext(), PP_RevisionAttr::getNthRevision(), PP_RevisionAttr::getRevisionsCount(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, PTX_Section, UT_ASSERT_HARMLESS, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by IE_Imp_AbiWord_1::startElement().
| PL_StruxDocHandle PD_Document::getLastSectionSDH | ( | void | ) |
This method returns the last pf_Frag_Strux as a PL_StruxDocHandle before the end of the piecetable.
References pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Fragments::getLast(), pf_Frag::getNext(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, PTX_Section, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendHdrFtr(), convertPercentToInches(), and IE_Imp_AbiWord_1::startElement().
| PL_StruxDocHandle PD_Document::getLastStruxOfType | ( | PTStruxType | pts | ) |
This method returns the last pf_Frag_Strux as a PL_StruxDocHandle before the end of the piecetable.
References pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Fragments::getLast(), pf_Frag::getPrev(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, PTX_EndTable, PTX_SectionTable, and UT_return_val_if_fail.
Referenced by IE_Imp_MsWord_97::_table_close(), ie_imp_table::deleteRow(), IE_Imp_RTF::HandleCell(), ie_imp_table_control::NewRow(), and IE_Imp_RTF::OpenTable().
| bool PD_Document::changeStruxAttsNoUpdate | ( | PL_StruxDocHandle | sdh, | |
| const char * | attr, | |||
| const char * | attvalue | |||
| ) |
This medthod modifies the attributes of a section strux without generating a change record. Use with extreme care!!
References pt_PieceTable::changeSectionAttsNoUpdate(), m_pPieceTable, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::_appendHdrFtr(), ODi_TextContent_ListenerState::_defineAbiTOCHeadingStyles(), IE_Imp_MsWord_97::_table_close(), fp_FrameContainer::setPreferedPageNo(), IE_Imp_AbiWord_1::startElement(), ie_imp_cell::writeCellPropsInDoc(), and ie_imp_table::writeTablePropsInDoc().
| bool PD_Document::deleteStruxNoUpdate | ( | PL_StruxDocHandle | sdh | ) |
This method deletes a strux without throwing a change record. sdh is the StruxDocHandle that gets deleted.. Use with extreme care. Should only be used for document import.
References pt_PieceTable::deleteStruxNoUpdate(), and m_pPieceTable.
Referenced by ie_imp_table::_removeAllStruxes(), IE_Imp_RTF::CloseTable(), ie_imp_table::deleteRow(), ie_imp_table::removeExtraneousCells(), and ie_imp_table::writeAllCellPropsInDoc().
| bool PD_Document::deleteFragNoUpdate | ( | pf_Frag * | pf | ) |
This method deletes a frag without throwing a change record. pf is the frag that gets deleted.. Use with extreme care. Should only be used for document import.
References pt_PieceTable::deleteFragNoUpdate(), and m_pPieceTable.
Referenced by ODi_TextContent_ListenerState::endElement(), and IE_Imp_RTF::HandleShape().
| bool PD_Document::insertStruxNoUpdateBefore | ( | PL_StruxDocHandle | sdh, | |
| PTStruxType | pts, | |||
| const gchar ** | attributes | |||
| ) |
This method inserts a strux of type pts immediately before the sdh given. Attributes of the strux can be optionally passed. This method does not throw a change record and should only be used under exceptional circumstances to repair the piecetable during loading. It was necessary to import RTF tables.
References pf_Frag_Strux::getStruxType(), pt_PieceTable::insertStruxNoUpdateBefore(), m_pPieceTable, and PTX_Section.
Referenced by IE_Imp_RTF::CloseTable(), IE_Imp_RTF::HandleCell(), and ie_imp_table_control::NewRow().
| bool PD_Document::isStruxBeforeThis | ( | PL_StruxDocHandle | sdh, | |
| PTStruxType | pts | |||
| ) |
This method examines the frag immediately before the given sdh and decides if it matches the strux type given.
References pf_Frag::getPrev(), pf_Frag_Strux::getStruxType(), pf_Frag::getType(), and pf_Frag::PFT_Strux.
Referenced by IE_Imp_RTF::HandleCell().
| PT_AttrPropIndex PD_Document::getAPIFromSDH | ( | PL_StruxDocHandle | sdh | ) |
Get API fromthe supplied StruxDocHandle
NB: this method does not take into account revisions settings; you either have to further process the AP at the index using the explodeRevisions() methods or you can retrieve specific props and attrs using getPropertyFromSDH() and getAttributeFromSDH().
References pf_Frag::getIndexAP().
Referenced by s_RTF_ListenerWriteDoc::_open_table(), IE_Exp_RTF::_write_rtf_header(), AP_Dialog_FormatTOC::fillTOCPropsFromDoc(), ie_Table::setCellRowCol(), and AP_Dialog_FormatFrame::setCurFrameProps().
| bool PD_Document::getAttributeFromSDH | ( | PL_StruxDocHandle | sdh, | |
| bool | bShowRevisions, | |||
| UT_uint32 | iRevisionLevel, | |||
| const char * | szAttribute, | |||
| const char ** | pszRetValue | |||
| ) |
This method returns the value associated with attribute szAttribute at picetable strux given by sdh. NB: attributes and props are view-specific because of revision attributes
| PL_StruxDocHandle | sdh (pf_Frag_Strux) where we want to find the value | |
| bool | bShowRevisions -- revisions setting for the view (FV_View::isShowRevisions()) | |
| UT_uint32 | iRevisionLevel -- the revision level of the view (FV_View::getRevisionLevel()) | |
| const | char * szAttribute the attribute we're looking for. | |
| const | char ** pszValue the value of the attribute. |
References gchar, getAttrProp(), pf_Frag::getIndexAP(), and UT_return_val_if_fail.
Referenced by _matchSection(), _pruneSectionAPI(), _removeRepeatedHdrFtr(), FV_View::_removeThisHdrFtr(), fl_AutoNum::fixHierarchy(), and FV_View::isImageAtStrux().
| bool PD_Document::getPropertyFromSDH | ( | PL_StruxDocHandle | sdh, | |
| bool | bShowRevisions, | |||
| UT_uint32 | iRevisionLevel, | |||
| const char * | szProperty, | |||
| const char ** | pszRetValue | |||
| ) |
This method returns the value associated with attribute szProperty at picetable strux given by sdh. NB: attributes and props are view-specific because of revision attributes
| PL_StruxDocHandle | sdh (pf_Frag_Strux) where we want to find the value | |
| bool | bShowRevisions -- revisions setting for the view (FV_View::isShowRevisions()) | |
| UT_uint32 | iRevisionLevel -- the revision level of the view (FV_View::getRevisionLevel()) | |
| const | char * szProperty the Property we're looking for. | |
| const | char ** pszValue the value of the property. |
References gchar, getAttrProp(), pf_Frag::getIndexAP(), and UT_return_val_if_fail.
Referenced by FV_View::_changeCellParams(), IE_Exp_RTF::_output_ListRTF(), IE_Imp_RTF::closePastedTableIfNeeded(), FV_View::cmdDeleteCell(), FV_View::cmdDeleteCol(), FV_View::cmdDeleteRow(), FV_View::cmdInsertCol(), FV_View::cmdInsertRow(), FV_View::cmdSplitCells(), convertPercentToInches(), FV_View::getCellLineStyle(), FV_View::getCellParams(), FV_View::getCellProperty(), getCellSDHFromRowCol(), s_RTF_ListenerWriteDoc::getRightOfCell(), getRowsColsFromTableSDH(), IE_Imp_RTF::HandleAbiEndTable(), IE_Imp_RTF::HandleAbiTable(), and miniDump().
| void PD_Document::getAllUsedStyles | ( | UT_GenericVector< PD_Style * > * | pVecStyles | ) |
This method scans the document for all styles used in the document, including styles in the basedon heiracy and the followedby list
References UT_GenericVector< T >::addItem(), UT_GenericVector< T >::findItem(), gchar, pt_PieceTable::getAttrProp(), PD_Style::getBasedOn(), pf_Fragments::getFirst(), PD_Style::getFollowedBy(), pt_PieceTable::getFragments(), pf_Fragments::getLast(), pf_Frag::getNext(), pt_PieceTable::getStyle(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_FmtMark, pf_Frag::PFT_Object, pf_Frag::PFT_Strux, pf_Frag::PFT_Text, pp_BASEDON_DEPTH_LIMIT, PT_STYLE_ATTRIBUTE_NAME, and UT_return_if_fail.
Referenced by s_AbiWord_1_Listener::_handleStyles(), PL_Psion_Listener::_processStyles(), IE_Exp_RTF::_selectStyles(), ODe_Styles::fetchRegularStyleStyles(), importStyles(), and OO_StylesWriter::writeStyles().
| PL_StruxFmtHandle PD_Document::getNthFmtHandle | ( | PL_StruxDocHandle | sdh, | |
| UT_uint32 | n | |||
| ) |
References pf_Frag_Strux::getFmtHandle(), UT_GenericVector< T >::getItemCount(), and m_vecListeners.
Referenced by s_RTF_ListenerWriteDoc::_getFieldValue(), fp_FieldTableSumCols::calculateValue(), fp_FieldTableSumRows::calculateValue(), FV_View::findCellPosAt(), FV_View::getBlockFromSDH(), and fl_BlockLayout::getEmbeddedOffset().
| bool PD_Document::getStyle | ( | const char * | szName, | |
| PD_Style ** | ppStyle | |||
| ) | const |
References pt_PieceTable::getStyle(), and m_pPieceTable.
Referenced by fl_TOCLayout::_createAndFillTOCEntry(), fl_TOCLayout::_createTOCContainer(), _getStyle(), s_HTML_Listener::_inherits(), fl_TOCLayout::_isStyleInTOC(), fp_TextRun::_lookupProperties(), AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), s_RTF_ListenerWriteDoc::_openSpan(), s_HTML_Listener::_outputStyles(), AP_Dialog_Styles::_populateAbiPreview(), AP_UnixDialog_Styles::_populateModify(), AP_CocoaDialog_Styles::_populateModify(), pt_PieceTable::_realChangeSpanFmt(), pt_PieceTable::_realChangeStruxFmt(), s_WML_Listener::_styleDescendsFrom(), IE_TOCHelper::_tocNameLevelHelper(), IE_Exp_RTF::_write_charfmt(), s_StyleTree::add(), fl_TOCLayout::bl_doclistener_insertEndTOC(), AP_Dialog_Styles::createNewStyle(), AP_UnixDialog_Styles::event_ModifyClicked(), AP_CocoaDialog_Styles::event_ModifyClicked(), PP_AttrProp::explodeStyle(), fl_BlockLayout::fl_BlockLayout(), FV_View::insertParagraphBreak(), FV_View::isNumberedHeadingHere(), pt_VarSet::mergeAP(), PP_evalProperty(), PP_evalPropertyType(), s_LaTeX_Listener::s_LaTeX_Listener(), FV_View::setStyleAtPos(), OpenWriter_StylesStream_Listener::startElement(), fl_BlockLayout::StartList(), fl_BlockLayout::StopListInBlock(), AP_Dialog_Styles::updateCurrentStyle(), and fl_TOCLayout::verifyBookmarkAssumptions().
| PD_Style * PD_Document::getStyleFromSDH | ( | PL_StruxDocHandle | sdh | ) |
The method returns the style defined in a sdh. If there is no style it returns NULL
References gchar, pt_PieceTable::getAttrProp(), pf_Frag::getIndexAP(), pt_PieceTable::getStyle(), m_pPieceTable, PT_STYLE_ATTRIBUTE_NAME, and UT_return_val_if_fail.
Referenced by ABI_Collab_Import::_import(), getPrevNumberedHeadingStyle(), and FV_View::setStyleAtPos().
| PL_StruxDocHandle PD_Document::getPrevNumberedHeadingStyle | ( | PL_StruxDocHandle | sdh | ) |
Find previous style of type numbered heading or basedon numbered heading
| sdh | The StruxDocHandle of the fragment where we start to look from. |
References PD_Style::getBasedOn(), PD_Style::getName(), pf_Frag::getPrev(), getStyleFromSDH(), pf_Frag::getType(), and pf_Frag::PFT_Strux.
Referenced by FV_View::setStyleAtPos().
| size_t PD_Document::getStyleCount | ( | void | ) |
References pt_PieceTable::getStyleCount(), m_pPieceTable, and UT_return_val_if_fail.
Referenced by IE_Exp_HTML::_buildStyleTree(), s_AbiWord_1_Listener::_handleStyles(), AP_Win32Dialog_Styles::_onInitDialog(), AP_Win32Dialog_Styles::_populateCList(), AP_UnixDialog_Styles::_populateCList(), AP_CocoaDialog_Styles::_populateCList(), AP_UnixDialog_Styles::_populateModify(), AP_CocoaDialog_Styles::_populateModify(), IE_Exp_RTF::_selectStyles(), IE_Exp_OpenXML_Listener::addDocumentStyles(), Stylist_tree::buildStyles(), ODe_Styles::fetchRegularStyleStyles(), removeStyle(), AP_Win32Toolbar_StyleCombo::repopulate(), and AP_Dialog_Stylist::updateDialog().
| bool PD_Document::enumStyles | ( | UT_uint32 | k, | |
| const char ** | pszName, | |||
| const PD_Style ** | ppStyle | |||
| ) | const |
References pt_PieceTable::enumStyles(), and m_pPieceTable.
Referenced by IE_Exp_HTML::_buildStyleTree(), s_AbiWord_1_Listener::_handleStyles(), AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), AP_Win32Dialog_Styles::_populateCList(), AP_UnixDialog_Styles::_populateCList(), AP_CocoaDialog_Styles::_populateCList(), AP_UnixDialog_Styles::_populateModify(), AP_CocoaDialog_Styles::_populateModify(), IE_Exp_RTF::_selectStyles(), IE_Exp_OpenXML_Listener::addDocumentStyles(), Stylist_tree::buildStyles(), AP_Win32Dialog_Styles::eventBasedOn(), AP_Win32Dialog_Styles::eventFollowedBy(), ODe_Styles::fetchRegularStyleStyles(), AP_UnixToolbar_StyleCombo::populate(), AP_CocoaToolbar_StyleCombo::populate(), removeStyle(), AP_Win32Toolbar_StyleCombo::repopulate(), AP_UnixToolbar_StyleCombo::repopulate(), and AP_CocoaToolbar_StyleCombo::repopulate().
| bool PD_Document::enumStyles | ( | UT_GenericVector< PD_Style * > *& | pStyles | ) | const |
References pt_PieceTable::enumStyles(), and m_pPieceTable.
| bool PD_Document::addStyleProperty | ( | const gchar * | szStyleName, | |
| const gchar * | szPropertyName, | |||
| const gchar * | szPropertyValue | |||
| ) |
| bool PD_Document::addStyleProperties | ( | const gchar * | szStyleName, | |
| const gchar ** | pProperties | |||
| ) |
References pt_PieceTable::getStyle(), m_pPieceTable, and updateDocForStyleChange().
Referenced by AP_Dialog_Styles::_populateAbiPreview(), and FV_View::FV_View().
| bool PD_Document::setAllStyleAttributes | ( | const gchar * | szStyleName, | |
| const gchar ** | pAttribs | |||
| ) |
This methods changes the attributes /properties of a style (basedon,followedby) plus the properties. We have to save the indexAP of the pre-existing style and broadcast it out witht e change records.
| szStyleName | the const gchar * name of the style | |
| pAttribs | The list of attributes/properties of the updated style. |
References PD_Style::getBasedOn(), PD_Style::getFollowedBy(), pt_PieceTable::getStyle(), m_pPieceTable, and updateDocForStyleChange().
Referenced by AP_Dialog_Styles::applyModifiedStyleToDoc().
| bool PD_Document::addStyleAttributes | ( | const gchar * | szStyleName, | |
| const gchar ** | pAttribs | |||
| ) |
This methods changes the attributes of a style (basedon,followedby)
| szStyleName | the const gchar * name of the style | |
| pAttribs | The list of attributes of the updated style. |
References PD_Style::getBasedOn(), PD_Style::getFollowedBy(), pt_PieceTable::getStyle(), m_pPieceTable, and updateDocForStyleChange().
Referenced by AP_Dialog_Styles::_populateAbiPreview(), and AP_Dialog_Styles::updateCurrentStyle().
| PL_StruxDocHandle PD_Document::findPreviousStyleStrux | ( | const gchar * | szStyle, | |
| PT_DocPosition | pos | |||
| ) |
This method scans the document backwards for a struc with the style name szStyle in it.
| pStyle | a pointer to style to be scanned for. | |
| pos | the document position to start from. |
References gchar, pt_PieceTable::getAttrProp(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Frag::getIndexAP(), pf_Frag::getPrev(), getStruxOfTypeFromPosition(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, PT_STYLE_ATTRIBUTE_NAME, PTX_Block, and UT_return_val_if_fail.
Referenced by FV_View::setStyleAtPos().
| PL_StruxDocHandle PD_Document::findForwardStyleStrux | ( | const gchar * | szStyle, | |
| PT_DocPosition | pos | |||
| ) |
This method scans the document forwards for a strux with the style name szStyle in it.
| pStyle | a pointer to style to be scanned for. | |
| pos | the document position to start from. |
References gchar, pt_PieceTable::getAttrProp(), pt_PieceTable::getFragments(), pf_Frag::getIndexAP(), pf_Fragments::getLast(), pf_Frag::getNext(), getStruxOfTypeFromPosition(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Strux, PT_STYLE_ATTRIBUTE_NAME, PTX_Block, and UT_return_val_if_fail.
Referenced by FV_View::setStyleAtPos().
| bool PD_Document::updateDocForStyleChange | ( | const gchar * | szStyle, | |
| bool | isParaStyle | |||
| ) |
This method loops through the entire document updating each location where the style exists.
| szStyle | the name of style that has changed. | |
| isParaStyle | true if the style is a paragraph type. |
References gchar, pt_PieceTable::getAttrProp(), PD_Style::getBasedOn(), pf_Frag_Text::getBufIndex(), pt_VarSet::getBufIndex(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Frag::getIndexAP(), pf_Fragments::getLast(), pf_Frag::getLength(), pf_Frag::getNext(), pf_Frag_Strux::getStruxType(), pt_PieceTable::getStyle(), pf_Frag::getType(), pt_PieceTable::getVarSet(), pf_Frag::getXID(), m_pPieceTable, notifyListeners(), pf_Frag::PFT_Strux, pf_Frag::PFT_Text, pp_BASEDON_DEPTH_LIMIT, PT_STYLE_ATTRIBUTE_NAME, PTX_SectionTOC, PX_ChangeRecord::PXT_ChangeSpan, PX_ChangeRecord::PXT_ChangeStrux, UT_ASSERT_HARMLESS, and UT_return_val_if_fail.
Referenced by AP_Win32Dialog_Styles::_onCommand(), addStyleAttributes(), addStyleProperties(), AP_UnixDialog_Styles::event_ModifyClicked(), AP_CocoaDialog_Styles::event_modifySheetDidEnd(), importStyles(), AP_Win32Dialog_Styles::runModal(), setAllStyleAttributes(), and AP_Dialog_Styles::updateCurrentStyle().
| void PD_Document::updateAllLayoutsInDoc | ( | PL_StruxDocHandle | sdh | ) |
This method updates all the layouts associated with the document.
References pf_Frag::getIndexAP(), getStruxPosition(), pf_Frag::getXID(), notifyListeners(), and PX_ChangeRecord::PXT_ChangeStrux.
| void PD_Document::clearIfAtFmtMark | ( | PT_DocPosition | dpos | ) |
References pt_PieceTable::clearIfAtFmtMark(), and m_pPieceTable.
Referenced by FV_View::_clearIfAtFmtMark().
| virtual UT_uint32 PD_Document::getLastSavedAsType | ( | ) | const [inline, virtual] |
Implements AD_Document.
| UT_uint32 PD_Document::getLastOpenedType | ( | ) | const [inline] |
Referenced by AbiCommand::parseTokens().
| bool PD_Document::updateFields | ( | void | ) |
References allowChangeInsPoint(), pf_Frag::getField(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Fragments::getLast(), pf_Frag::getNext(), pf_Frag_Object::getObjectType(), pf_Frag::getType(), m_pPieceTable, pf_Frag::PFT_Object, PTO_Field, setDontChangeInsPoint(), fd_Field::update(), and UT_return_val_if_fail.
Referenced by _importFile(), finishRawCreation(), and pt_PieceTable::undoCmd().
| bool PD_Document::getField | ( | PL_StruxDocHandle | sdh, | |
| UT_uint32 | offset, | |||
| fd_Field *& | pField | |||
| ) |
References pf_Frag::getField(), pf_Frag::getType(), pf_Frag::PFT_Object, pf_Frag::PFT_Strux, pf_Frag::PFT_Text, PTX_Block, and UT_return_val_if_fail.
Referenced by fl_Layout::getField().
| po_Bookmark * PD_Document::getBookmark | ( | PL_StruxDocHandle | sdh, | |
| UT_uint32 | offset | |||
| ) |
References pf_Frag_Object::getBookmark(), pf_Frag::getType(), pf_Frag::PFT_Object, pf_Frag::PFT_Strux, PTX_Block, and UT_return_val_if_fail.
Referenced by fl_Layout::getBookmark().
| pf_Frag * PD_Document::findBookmark | ( | const char * | pName, | |
| bool | bEnd = false, |
|||
| pf_Frag * | pfStart = NULL | |||
| ) |
References pf_Frag_Object::getBookmark(), po_Bookmark::getBookmarkType(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), po_Bookmark::getName(), pf_Frag::getNext(), pf_Frag_Object::getObjectType(), getPieceTable(), pf_Frag::getType(), pf_Frag::PFT_Object, po_Bookmark::POBOOKMARK_END, po_Bookmark::POBOOKMARK_START, PTO_Bookmark, UT_ASSERT_HARMLESS, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
| bool PD_Document::hasMath | ( | void | ) |
Returns true if the document as any math or SVG runs within it.
References pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Frag::getNext(), pf_Frag_Object::getObjectType(), getPieceTable(), pf_Frag::getType(), pf_Frag::PFT_Object, and PTO_Math.
Referenced by s_HTML_Listener::_outputBegin().
| void PD_Document::setDontChangeInsPoint | ( | void | ) |
References m_bAllowInsertPointChange, m_bLoading, and UT_DEBUGMSG.
Referenced by FV_View::_changeCellParams(), fl_HdrFtrSectionLayout::bl_doclistener_changeFmtMark(), fl_HdrFtrSectionLayout::bl_doclistener_changeObject(), fl_HdrFtrSectionLayout::bl_doclistener_changeSpan(), fl_HdrFtrSectionLayout::bl_doclistener_changeStrux(), fl_HdrFtrSectionLayout::bl_doclistener_deleteFmtMark(), fl_HdrFtrSectionLayout::bl_doclistener_deleteObject(), fl_HdrFtrSectionLayout::bl_doclistener_deleteSpan(), fl_HdrFtrSectionLayout::bl_doclistener_deleteStrux(), fl_HdrFtrSectionLayout::bl_doclistener_insertCell(), fl_HdrFtrSectionLayout::bl_doclistener_insertEndTable(), fl_HdrFtrSectionLayout::bl_doclistener_insertFirstBlock(), fl_HdrFtrSectionLayout::bl_doclistener_insertFmtMark(), fl_HdrFtrSectionLayout::bl_doclistener_insertObject(), fl_HdrFtrSectionLayout::bl_doclistener_insertSpan(), fl_HdrFtrSectionLayout::bl_doclistener_insertTable(), fl_HdrFtrSectionLayout::bl_doclistener_populateObject(), fl_HdrFtrSectionLayout::bl_doclistener_populateSpan(), FV_View::setDontChangeInsPoint(), FV_View::setShowPara(), and updateFields().
| void PD_Document::allowChangeInsPoint | ( | void | ) |
References m_bAllowInsertPointChange.
Referenced by FV_View::_restoreCellParams(), FV_View::allowChangeInsPoint(), fl_HdrFtrSectionLayout::bl_doclistener_changeFmtMark(), fl_HdrFtrSectionLayout::bl_doclistener_changeObject(), fl_HdrFtrSectionLayout::bl_doclistener_changeSpan(), fl_HdrFtrSectionLayout::bl_doclistener_changeStrux(), fl_HdrFtrSectionLayout::bl_doclistener_deleteFmtMark(), fl_HdrFtrSectionLayout::bl_doclistener_deleteObject(), fl_HdrFtrSectionLayout::bl_doclistener_deleteSpan(), fl_HdrFtrSectionLayout::bl_doclistener_deleteStrux(), fl_HdrFtrSectionLayout::bl_doclistener_insertCell(), fl_HdrFtrSectionLayout::bl_doclistener_insertEndTable(), fl_HdrFtrSectionLayou