Public Member Functions | Protected Member Functions | Protected Attributes

pf_Frag_Text Class Reference

#include <pf_Frag_Text.h>

Inheritance diagram for pf_Frag_Text:
pf_Frag

List of all members.

Public Member Functions

 pf_Frag_Text (pt_PieceTable *pPT, PT_BufIndex bufIndex, UT_uint32 length, PT_AttrPropIndex indexAP, fd_Field *m_pField)
virtual ~pf_Frag_Text ()
virtual bool createSpecialChangeRecord (PX_ChangeRecord **ppcr, PT_DocPosition dpos, PT_BlockOffset blockOffset) const
virtual bool createSpecialChangeRecord (PX_ChangeRecord **ppcr, PT_DocPosition dpos, PT_BlockOffset blockOffset, PT_BlockOffset startFragOffset, PT_BlockOffset endFragOffset) const
PT_BufIndex getBufIndex (void) const
void changeLength (UT_uint32 newLength)
void adjustOffsetLength (PT_BufIndex bi, UT_uint32 newLength)
void setField (fd_Field *pField)
virtual bool usesXID () const
std::string toString () const

Protected Member Functions

virtual bool _isContentEqual (const pf_Frag &f2) const

Protected Attributes

PT_BufIndex m_bufIndex

Detailed Description

pf_Frag_Text represents a fragment of text in the document. Note that it does not contain a PT_DocPosition -- the fragment does not know where it is in the document; it only knows its buffer position.


Constructor & Destructor Documentation

pf_Frag_Text::pf_Frag_Text ( pt_PieceTable pPT,
PT_BufIndex  bufIndex,
UT_uint32  length,
PT_AttrPropIndex  indexAP,
fd_Field m_pField 
)
pf_Frag_Text::~pf_Frag_Text (  )  [virtual]

Member Function Documentation

bool pf_Frag_Text::_isContentEqual ( const pf_Frag f2  )  const [protected, virtual]
void pf_Frag_Text::adjustOffsetLength ( PT_BufIndex  bi,
UT_uint32  newLength 
)
bool pf_Frag_Text::createSpecialChangeRecord ( PX_ChangeRecord **  ppcr,
PT_DocPosition  dpos,
PT_BlockOffset  blockOffset,
PT_BlockOffset  startFragOffset,
PT_BlockOffset  endFragOffset 
) const [virtual]
void pf_Frag_Text::setField ( fd_Field pField  ) 

References pf_Frag::m_pField.

Referenced by pt_PieceTable::_doTheDo().

std::string pf_Frag_Text::toString (  )  const
virtual bool pf_Frag_Text::usesXID (  )  const [inline, virtual]

Reimplemented from pf_Frag.


Member Data Documentation


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