class SwFootnoteBossFrame; class SwFootnoteContFrame; class SwFootnoteFrame; class SwTextFootnote;
// Set max. footnote area. // Restoration of the old value in DTor. Implementation in ftnfrm.cxx class SwSaveFootnoteHeight
{
SwFrameDeleteGuard aGuard;
SwFootnoteBossFrame *pBoss; const SwTwips nOldHeight;
SwTwips nNewHeight; public:
SwSaveFootnoteHeight( SwFootnoteBossFrame *pBs, const SwTwips nDeadLine );
~SwSaveFootnoteHeight();
};
class SAL_DLLPUBLIC_RTTI SwFootnoteBossFrame: public SwLayoutFrame
{ // for private footnote operations friendclass SwFrame; friendclass SwSaveFootnoteHeight; friendclass SwPageFrame; // for setting of MaxFootnoteHeight
// max. height of the footnote container on this page
SwTwips m_nMaxFootnoteHeight;
// Set DeadLine (in document coordinates) so that the text formatter can // temporarily limit footnote height. void SetFootnoteDeadLine( const SwTwips nDeadLine );
SwTwips GetMaxFootnoteHeight() const { return m_nMaxFootnoteHeight; }
// returns value for remaining space until the body reaches minimal height
SwTwips GetVarSpace() const;
// methods needed for layouting // The parameter <_bCollectOnlyPreviousFootnotes> controls if only footnotes // that are positioned before the this footnote boss-frame have to be // collected. void CollectFootnotes( const SwContentFrame* _pRef,
SwFootnoteBossFrame* _pOld,
SwFootnoteFrames& _rFootnoteArr, constbool _bCollectOnlyPreviousFootnotes = false ); void MoveFootnotes_( SwFootnoteFrames &rFootnoteArr, bool bCalc = false ); void MoveFootnotes( const SwContentFrame *pSrc, SwContentFrame *pDest,
SwTextFootnote const *pAttr );
// should AdjustNeighbourhood be called (or Grow/Shrink)?
SwNeighbourAdjust NeighbourhoodAdjustment() const
{ return IsPageFrame() ? SwNeighbourAdjust::OnlyAdjust : NeighbourhoodAdjustment_(); }
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.