Public Member Functions | Protected Member Functions | Protected Attributes

pf_Frag_Strux Class Reference

#include <pf_Frag_Strux.h>

Inheritance diagram for pf_Frag_Strux:
pf_Frag pf_Frag_Strux_Block pf_Frag_Strux_Section pf_Frag_Strux_SectionAnnotation pf_Frag_Strux_SectionCell pf_Frag_Strux_SectionEndAnnotation pf_Frag_Strux_SectionEndCell pf_Frag_Strux_SectionEndEndnote pf_Frag_Strux_SectionEndFootnote pf_Frag_Strux_SectionEndFrame pf_Frag_Strux_SectionEndMarginnote pf_Frag_Strux_SectionEndnote pf_Frag_Strux_SectionEndTable pf_Frag_Strux_SectionEndTOC pf_Frag_Strux_SectionFootnote pf_Frag_Strux_SectionFrame pf_Frag_Strux_SectionHdrFtr pf_Frag_Strux_SectionMarginnote pf_Frag_Strux_SectionTable pf_Frag_Strux_SectionTOC

List of all members.

Public Member Functions

 pf_Frag_Strux (pt_PieceTable *pPT, PTStruxType struxType, UT_uint32 length, PT_AttrPropIndex indexAP)
virtual ~pf_Frag_Strux ()
PTStruxType getStruxType (void) const
fl_ContainerLayoutgetFmtHandle (PL_ListenerId lid) const
bool setFmtHandle (PL_ListenerId lid, fl_ContainerLayout *sfh)
void clearAllFmtHandles ()
virtual bool createSpecialChangeRecord (PX_ChangeRecord **ppcr, PT_DocPosition dpos) const
virtual bool usesXID () const
bool isMatchingType (PTStruxType e) const
bool isMatchingType (const pf_Frag *p) const

Protected Member Functions

virtual bool _isContentEqual (const pf_Frag &f2) const

Protected Attributes

PTStruxType m_struxType
UT_GenericVector
< fl_ContainerLayout * > 
m_vecFmtHandle

Detailed Description

pf_Frag_Strux represents structure information (such as a paragraph or section) in the document.

pf_Frag_Strux is descended from pf_Frag, but is a base class for pf_Frag_Strux_Block and pf_Frag_Strux_Section.

We use an enum to remember type, rather than use any of the run-time stuff.


Constructor & Destructor Documentation

pf_Frag_Strux::pf_Frag_Strux ( pt_PieceTable pPT,
PTStruxType  struxType,
UT_uint32  length,
PT_AttrPropIndex  indexAP 
)

References pf_Frag::m_indexAP, and m_struxType.

pf_Frag_Strux::~pf_Frag_Strux (  )  [virtual]

Member Function Documentation

bool pf_Frag_Strux::_isContentEqual ( const pf_Frag f2  )  const [protected, virtual]

Reimplemented from pf_Frag.

References pf_Frag::_isContentEqual(), getStruxType(), and m_struxType.

void pf_Frag_Strux::clearAllFmtHandles (  )  [inline]
PTStruxType pf_Frag_Strux::getStruxType ( void   )  const

References m_struxType.

Referenced by PD_Document::_acceptRejectRevision(), IE_Imp_MsWord_97::_appendStrux(), PD_Document::_checkAndFixTable(), pt_PieceTable::_deleteComplexSpan(), pt_PieceTable::_deleteFormatting(), pt_PieceTable::_deleteHdrFtrsFromSectionStruxIfPresent(), pt_PieceTable::_deleteHdrFtrStruxWithNotify(), pt_PieceTable::_deleteStruxWithNotify(), IE_Imp_MsWord_97::_ensureInBlock(), pt_PieceTable::_findLastStruxOfType(), IE_Imp_MsWord_97::_flush(), pt_PieceTable::_fmtChangeStruxWithNotify(), pt_PieceTable::_getStruxOfTypeFromPosition(), IE_Imp_MsWord_97::_insertBookmark(), pt_PieceTable::_insertFmtMarkFragWithNotify(), pt_PieceTable::_insertNoteInEmbeddedStruxList(), pt_PieceTable::_insertStrux(), _isContentEqual(), pt_PieceTable::_realChangeStruxFmt(), pt_PieceTable::_realChangeStruxForLists(), pt_PieceTable::_realDeleteSpan(), pt_PieceTable::_realInsertStrux(), PD_Document::_removeHdrFtr(), pt_PieceTable::_StruxIsNotTable(), pt_PieceTable::_tweakDeleteSpan(), pt_PieceTable::_tweakDeleteSpanOnce(), pt_PieceTable::_unlinkStrux(), pt_PieceTable::_unlinkStrux_Block(), pt_PieceTable::_unlinkStrux_Section(), pt_PieceTable::appendStrux(), pt_PieceTable::changeStruxFmt(), pt_PieceTable::changeStruxFmtNoUndo(), PD_Document::checkForSuspect(), pt_PieceTable::deleteHdrFtrStrux(), pt_PieceTable::deleteSpan(), PD_Document::findFragOfType(), PD_Document::findHdrFtrStrux(), pt_PieceTable::getBlockBuf(), PD_Document::getCellSDHFromRowCol(), PD_Document::getEmbeddedOffset(), PD_Document::getEndCellStruxFromCellSDH(), PD_Document::getEndTableStruxFromTableSDH(), PD_DocumentRDF::getIDRange(), PD_Document::getLastSectionMutableSDH(), PD_Document::getLastSectionSDH(), PD_Document::getLastStruxOfType(), fl_BlockLayout::getLength(), PD_Document::getNextStruxOfType(), PD_Document::getPrevStruxOfType(), PD_Document::getRowsColsFromTableSDH(), PD_Document::getStruxType(), pf_Frag::getXMLID(), IE_Imp_RTF::HandleShape(), PD_Document::insertFmtMarkBeforeFrag(), PD_Document::insertObjectBeforeFrag(), PD_Document::insertSpanBeforeFrag(), pt_PieceTable::insertStrux(), PD_Document::insertStruxBeforeFrag(), PD_Document::insertStruxNoUpdateBefore(), PD_Document::isBlockAtPos(), PD_Document::isCellAtPos(), pt_PieceTable::isEndFootnote(), PD_Document::isEndFootnoteAtPos(), PD_Document::isEndFrameAtPos(), PD_Document::isEndTableAtPos(), pt_PieceTable::isFootnote(), PD_Document::isFootnoteAtPos(), PD_Document::isFrameAtPos(), PD_Document::isHdrFtrAtPos(), PD_Document::isInsertHyperLinkValid(), isMatchingType(), FV_View::isParaBreakNeededAtPos(), PD_Document::isSectionAtPos(), PD_Document::isStruxBeforeThis(), isStuxType(), PD_Document::isTableAtPos(), PD_Document::isTOCAtPos(), PD_Document::miniDump(), IE_Imp_RTF::pasteFromBuffer(), PD_Document::repairDoc(), pf_Frag::tryDownCastStrux(), PD_Document::updateDocForStyleChange(), and PD_Document::verifySectionID().

bool pf_Frag_Strux::isMatchingType ( const pf_Frag p  )  const

Member Data Documentation


The documentation for this class was generated from the following files: