#include <pf_Frag_Object.h>
Public Member Functions | |
pf_Frag_Object (pt_PieceTable *pPT, PTObjectType objectType, PT_AttrPropIndex indexAP) | |
virtual | ~pf_Frag_Object () |
PTObjectType | getObjectType (void) const |
virtual bool | createSpecialChangeRecord (PX_ChangeRecord **ppcr, PT_DocPosition dpos, PT_BlockOffset blockOffset) |
po_Bookmark * | getBookmark () const |
virtual bool | usesXID () const |
Protected Member Functions | |
virtual bool | _isContentEqual (const pf_Frag &f2) const |
Protected Attributes | |
PTObjectType | m_objectType |
void * | m_pObjectSubclass |
pf_Frag_Object represents an object (such as an image) in the document.
pf_Frag_Object::pf_Frag_Object | ( | pt_PieceTable * | pPT, | |
PTObjectType | objectType, | |||
PT_AttrPropIndex | indexAP | |||
) |
References gchar, PP_AttrProp::getAttribute(), pt_PieceTable::getAttrProp(), pf_Frag::m_indexAP, m_objectType, pf_Frag::m_pField, m_pObjectSubclass, pf_Frag::m_pPieceTable, PTO_Bookmark, PTO_Field, UT_ASSERT, UT_ASSERT_HARMLESS, UT_ASSERT_NOT_REACHED, UT_return_if_fail, UT_SHOULD_NOT_HAPPEN, and xxx_UT_DEBUGMSG.
pf_Frag_Object::~pf_Frag_Object | ( | ) | [virtual] |
References m_objectType, pf_Frag::m_pField, m_pObjectSubclass, PTO_Bookmark, PTO_Field, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
bool pf_Frag_Object::_isContentEqual | ( | const pf_Frag & | f2 | ) | const [protected, virtual] |
Reimplemented from pf_Frag.
References pf_Frag::_isContentEqual(), pf_Frag::getField(), fd_Field::getFieldType(), getObjectType(), and pf_Frag::m_pField.
bool pf_Frag_Object::createSpecialChangeRecord | ( | PX_ChangeRecord ** | ppcr, | |
PT_DocPosition | dpos, | |||
PT_BlockOffset | blockOffset | |||
) | [virtual] |
po_Bookmark * pf_Frag_Object::getBookmark | ( | ) | const |
References m_objectType, m_pObjectSubclass, and PTO_Bookmark.
Referenced by pt_PieceTable::_createObject(), pt_PieceTable::_deleteComplexSpan(), PD_Document::findBookmark(), and PD_Document::getBookmark().
PTObjectType pf_Frag_Object::getObjectType | ( | void | ) | const |
References m_objectType.
Referenced by pt_PieceTable::_chooseIndexAP(), pt_PieceTable::_computeFmtMarkForNewBlock(), pt_PieceTable::_deleteComplexSpan(), pt_PieceTable::_deleteComplexSpanHAR(), pt_PieceTable::_deleteObjectWithNotify(), pt_PieceTable::_doTheDo(), pt_PieceTable::_findNextHyperlink(), pt_PieceTable::_findPrevHyperlink(), pt_PieceTable::_fmtChangeObjectWithNotify(), _isContentEqual(), pt_PieceTable::_tweakDeleteSpan(), PD_DocumentRDF::addXMLIDsForObjects(), pt_PieceTable::dumpDoc(), PD_DocumentRDF::dumpObjectMarkersFromDocument(), PD_Document::findBookmark(), PD_Document::findFragOfType(), PD_DocumentRDF::getIDRange(), PD_DocumentRDF::getObjectsInScopeOfTypesForRange(), pf_Frag::getXMLID(), PD_Document::hasMath(), PD_Document::isInsertHyperLinkValid(), PD_DocumentRDF::priv_addRelevantIDsForPosition(), and PD_Document::updateFields().
virtual bool pf_Frag_Object::usesXID | ( | ) | const [inline, virtual] |
Reimplemented from pf_Frag.
PTObjectType pf_Frag_Object::m_objectType [protected] |
Referenced by createSpecialChangeRecord(), getBookmark(), getObjectType(), pf_Frag_Object(), and ~pf_Frag_Object().
void* pf_Frag_Object::m_pObjectSubclass [protected] |
Referenced by getBookmark(), pf_Frag_Object(), and ~pf_Frag_Object().