#include <fl_SectionLayout.h>
fl_HdrFtrShadow::fl_HdrFtrShadow | ( | FL_DocLayout * | pLayout, | |
fp_Page * | pPage, | |||
fl_HdrFtrSectionLayout * | pDocSL, | |||
pf_Frag_Strux * | sdh, | |||
PT_AttrPropIndex | ap | |||
) |
fl_HdrFtrShadow::~fl_HdrFtrShadow | ( | ) | [virtual] |
References fl_SectionLayout::_purgeLayout().
void fl_HdrFtrShadow::_createContainer | ( | void | ) | [private] |
void fl_HdrFtrShadow::_lookupMarginProperties | ( | const PP_AttrProp * | pAP | ) | [private, virtual] |
Reimplemented from fl_ContainerLayout.
References fl_ContainerLayout::getFirstLayout(), fl_ContainerLayout::getNext(), and fl_ContainerLayout::lookupMarginProperties().
void fl_HdrFtrShadow::_lookupProperties | ( | const PP_AttrProp * | pAP | ) | [private, virtual] |
this function is only to be called by fl_ContainerLayout::lookupProperties() all other code must call lookupProperties() instead
Implements fl_ContainerLayout.
void fl_HdrFtrShadow::clearScreen | ( | void | ) |
References getFirstContainer(), and UT_ASSERT.
Referenced by fl_HdrFtrSectionLayout::clearScreen().
virtual void fl_HdrFtrShadow::collapse | ( | void | ) | [inline, virtual] |
Implements fl_ContainerLayout.
bool fl_HdrFtrShadow::doclistener_changeStrux | ( | const PX_ChangeRecord_StruxChange * | pcrxc | ) | [virtual] |
Implements fl_SectionLayout.
References PX_ChangeRecord::getIndexAP(), PX_ChangeRecord::getType(), fl_Layout::setAttrPropIndex(), UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
fl_ContainerLayout * fl_HdrFtrShadow::findBlockAtPosition | ( | PT_DocPosition | pos | ) |
Scans through the shadow looking for the block at the specified Document Position.
pos | the Document position |
References PD_Document::getBounds(), fl_ContainerLayout::getContainerType(), FV_View::getEditableBounds(), fl_SectionLayout::getFirstBlock(), fl_ContainerLayout::getNext(), fl_ContainerLayout::getNextBlockInDocument(), fl_ContainerLayout::getPosition(), fl_Layout::getStruxDocHandle(), PD_Document::getStruxOfTypeFromPosition(), FL_DocLayout::getView(), fl_Layout::m_pDoc, fl_SectionLayout::m_pLayout, PTX_Block, and UT_ASSERT.
Referenced by FV_View::_findBlockAtPosition(), FL_DocLayout::findBlockAtPosition(), and FL_DocLayout::findBlockAtPositionReverse().
fl_ContainerLayout * fl_HdrFtrShadow::findMatchingContainer | ( | fl_ContainerLayout * | pBL | ) |
References fl_ContainerLayout::getContainerType(), fl_ContainerLayout::getFirstLayout(), fl_ContainerLayout::getNext(), fl_ContainerLayout::getNextBlockInDocument(), fl_Layout::getStruxDocHandle(), fl_Layout::m_pDoc, PD_Document::miniDump(), fl_ContainerLayout::myContainingLayout(), and xxx_UT_DEBUGMSG.
Referenced by fl_HdrFtrSectionLayout::bl_doclistener_changeFmtMark(), fl_HdrFtrSectionLayout::bl_doclistener_changeObject(), fl_HdrFtrSectionLayout::bl_doclistener_changeSpan(), fl_HdrFtrSectionLayout::bl_doclistener_changeStrux(), fl_HdrFtrSectionLayout::bl_doclistener_deleteCellStrux(), fl_HdrFtrSectionLayout::bl_doclistener_deleteFmtMark(), fl_HdrFtrSectionLayout::bl_doclistener_deleteObject(), fl_HdrFtrSectionLayout::bl_doclistener_deleteSpan(), fl_HdrFtrSectionLayout::bl_doclistener_deleteStrux(), fl_HdrFtrSectionLayout::bl_doclistener_deleteTableStrux(), 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(), fp_FieldTableSumCols::calculateValue(), fp_FieldTableSumRows::calculateValue(), fl_HdrFtrSectionLayout::checkAndAdjustCellSize(), fl_HdrFtrSectionLayout::collapseBlock(), FL_DocLayout::findBlockAtPosition(), and FL_DocLayout::findBlockAtPositionReverse().
void fl_HdrFtrShadow::format | ( | void | ) | [virtual] |
Implements fl_ContainerLayout.
References fl_ContainerLayout::format(), fl_ContainerLayout::getContainerType(), fl_ContainerLayout::getFirstLayout(), fl_ContainerLayout::getNext(), and UT_DEBUGMSG.
Referenced by fl_HdrFtrSectionLayout::collapseBlock(), fl_HdrFtrSectionLayout::format(), and layout().
fp_Container * fl_HdrFtrShadow::getFirstContainer | ( | void | ) | const [virtual] |
Reimplemented from fl_ContainerLayout.
References fp_Page::getHdrFtrContainer(), m_pHdrFtrSL, and m_pPage.
Referenced by clearScreen(), fp_VerticalContainer::getOffsets(), layout(), FV_View::notifyListeners(), redrawUpdate(), and updateLayout().
virtual fl_HdrFtrSectionLayout* fl_HdrFtrShadow::getHdrFtrSectionLayout | ( | void | ) | const [inline, virtual] |
Reimplemented from fl_ContainerLayout.
Referenced by fl_DocSectionLayout::_HdrFtrChangeCallback(), FV_View::cmdRemoveHdrFtr(), FL_DocLayout::findBlockAtPosition(), FL_DocLayout::findBlockAtPositionReverse(), fl_ContainerLayout::getHdrFtrSectionLayout(), FV_View::getLeftRulerInfo(), FV_View::getTopRulerInfo(), AP_LeftRuler::mouseMotion(), AP_LeftRuler::mouseRelease(), and fl_SectionLayout::setNeedsReformat().
fp_Container * fl_HdrFtrShadow::getLastContainer | ( | void | ) | const [virtual] |
Reimplemented from fl_ContainerLayout.
References fp_Page::getHdrFtrContainer(), m_pHdrFtrSL, and m_pPage.
fp_Container * fl_HdrFtrShadow::getNewContainer | ( | fp_Container * | pFirstContainer = NULL |
) | [virtual] |
Implements fl_SectionLayout.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
fp_Page* fl_HdrFtrShadow::getPage | ( | void | ) | const [inline] |
virtual fl_SectionLayout* fl_HdrFtrShadow::getSectionLayout | ( | void | ) | const [inline, virtual] |
Implements fl_ContainerLayout.
References fl_ContainerLayout::getHdrFtrSectionLayout(), and fl_HdrFtrSectionLayout::getSectionLayout().
void fl_HdrFtrShadow::layout | ( | void | ) |
References format(), getFirstContainer(), and fl_SectionLayout::needsReformat().
Referenced by fl_HdrFtrSectionLayout::layout(), redrawUpdate(), and updateLayout().
virtual void fl_HdrFtrShadow::markAllRunsDirty | ( | void | ) | [inline, virtual] |
Implements fl_SectionLayout.
Referenced by fl_HdrFtrSectionLayout::markAllRunsDirty().
void fl_HdrFtrShadow::redrawUpdate | ( | void | ) | [virtual] |
Implements fl_ContainerLayout.
References FL_CONTAINER_BLOCK, fl_ContainerLayout::format(), fl_ContainerLayout::getContainerType(), fl_SectionLayout::getDocLayout(), getFirstContainer(), fl_ContainerLayout::getFirstLayout(), fl_ContainerLayout::getNext(), FL_DocLayout::getView(), layout(), fl_SectionLayout::m_pLayout, fl_ContainerLayout::needsRedraw(), fl_ContainerLayout::recalculateFields(), and fl_ContainerLayout::redrawUpdate().
Referenced by fl_HdrFtrSectionLayout::redrawUpdate().
void fl_HdrFtrShadow::updateLayout | ( | bool | bDoFull | ) | [virtual] |
Implements fl_ContainerLayout.
References UT_GenericVector< T >::clear(), fl_ContainerLayout::format(), getFirstContainer(), fl_ContainerLayout::getFirstLayout(), fl_ContainerLayout::getNext(), layout(), fl_SectionLayout::m_vecFormatLayout, fl_ContainerLayout::needsReformat(), and xxx_UT_DEBUGMSG.
Referenced by fl_HdrFtrSectionLayout::updateLayout().
friend class fl_DocListener [friend] |
Reimplemented from fl_SectionLayout.
fp_ShadowContainer* fl_HdrFtrShadow::m_pContainer [private] |
Referenced by fl_HdrFtrShadow(), getFirstContainer(), and getLastContainer().
fp_Page* fl_HdrFtrShadow::m_pPage [private] |
Referenced by fl_HdrFtrShadow(), getFirstContainer(), and getLastContainer().