#include <fl_SectionLayout.h>
Public Member Functions | |
fl_ShadowListener (fl_HdrFtrSectionLayout *pHFSL, fl_HdrFtrShadow *pShadow) | |
virtual | ~fl_ShadowListener () |
virtual bool | populate (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr) |
virtual bool | populateStrux (pf_Frag_Strux *sdh, const PX_ChangeRecord *pcr, fl_ContainerLayout **psfh) |
virtual bool | change (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr) |
virtual bool | insertStrux (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr, pf_Frag_Strux *sdh, PL_ListenerId lid, void(*pfnBindHandles)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew)) |
virtual bool | signal (UT_uint32 iSignal) |
Private Attributes | |
PD_Document * | m_pDoc |
fl_HdrFtrShadow * | m_pShadow |
bool | m_bListening |
fl_ContainerLayout * | m_pCurrentBL |
fl_HdrFtrSectionLayout * | m_pHFSL |
fl_TableLayout * | m_pCurrentTL |
fl_CellLayout * | m_pCurrentCell |
fl_ShadowListener::fl_ShadowListener | ( | fl_HdrFtrSectionLayout * | pHFSL, | |
fl_HdrFtrShadow * | pShadow | |||
) |
fl_ShadowListener::~fl_ShadowListener | ( | ) | [virtual] |
bool fl_ShadowListener::change | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
bool fl_ShadowListener::insertStrux | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr, | |||
pf_Frag_Strux * | sdh, | |||
PL_ListenerId | lid, | |||
void(*)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew) | pfnBindHandles | |||
) | [virtual] |
Implements PL_Listener.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
bool fl_ShadowListener::populate | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References PD_Document::getAllowChangeInsPoint(), PX_ChangeRecord_Object::getBlockOffset(), PX_ChangeRecord_Span::getBlockOffset(), fl_SectionLayout::getDocLayout(), PX_ChangeRecord_Span::getLength(), FV_View::getPoint(), fl_Layout::getType(), PX_ChangeRecord::getType(), FL_DocLayout::getView(), m_bListening, m_pCurrentBL, m_pDoc, m_pHFSL, m_pShadow, PX_ChangeRecord::PXT_InsertFmtMark, PX_ChangeRecord::PXT_InsertObject, PX_ChangeRecord::PXT_InsertSpan, FV_View::setPoint(), UT_ASSERT, UT_DEBUGMSG, and UT_UNUSED.
bool fl_ShadowListener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
const PX_ChangeRecord * | pcr, | |||
fl_ContainerLayout ** | psfh | |||
) | [virtual] |
Implements PL_Listener.
References fl_ContainerLayout::append(), PD_Document::explodeRevisions(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), fl_ContainerLayout::getContainerType(), fl_SectionLayout::getDocLayout(), PX_ChangeRecord::getIndexAP(), PP_AttrProp::getRevisedIndex(), PP_AttrProp::getRevisionState(), PX_ChangeRecord::getType(), FL_DocLayout::getView(), PP_RevisionState::isEqual(), AD_Document::isMarkRevisions(), m_bListening, m_pCurrentBL, m_pCurrentCell, m_pCurrentTL, m_pDoc, m_pHFSL, m_pShadow, PD_Document::miniDump(), PTX_Block, PTX_EndCell, PTX_EndTable, PTX_Section, PTX_SectionCell, PTX_SectionHdrFtr, PTX_SectionTable, fl_TableLayout::setDirty(), fl_TableLayout::setEndTableIn(), UT_ASSERT, UT_DEBUGMSG, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, and xxx_UT_DEBUGMSG.
bool fl_ShadowListener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
bool fl_ShadowListener::m_bListening [private] |
Referenced by populate(), and populateStrux().
Referenced by populate(), and populateStrux().
fl_CellLayout* fl_ShadowListener::m_pCurrentCell [private] |
Referenced by populateStrux().
fl_TableLayout* fl_ShadowListener::m_pCurrentTL [private] |
Referenced by populateStrux().
PD_Document* fl_ShadowListener::m_pDoc [private] |
Referenced by populate(), and populateStrux().
fl_HdrFtrSectionLayout* fl_ShadowListener::m_pHFSL [private] |
Referenced by populate(), and populateStrux().
fl_HdrFtrShadow* fl_ShadowListener::m_pShadow [private] |
Referenced by populate(), and populateStrux().