LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
SwLayoutFrame Class Reference

#include <layfrm.hxx>

Inheritance diagram for SwLayoutFrame:
[legend]
Collaboration diagram for SwLayoutFrame:
[legend]

Public Member Functions

virtual void PaintSubsidiaryLines (const SwPageFrame *, const SwRect &) const
 
void RefreshLaySubsidiary (const SwPageFrame *, const SwRect &) const
 
void RefreshExtraData (const SwRect &) const
 
void ChgLowersProp (const Size &rOldSize)
 Change size of lowers proportionally. More...
 
void AdjustColumns (const SwFormatCol *pCol, bool bAdjustAttributes)
 
void ChgColumns (const SwFormatCol &rOld, const SwFormatCol &rNew, const bool bChgFootnote=false)
 add or remove columns from a layoutframe. More...
 
void PaintColLines (const SwRect &, const SwFormatCol &, const SwPageFrame *) const
 Paints the column separation line for the inner columns. More...
 
virtual bool FillSelection (SwSelectionList &rList, const SwRect &rRect) const override
 
virtual bool GetCursorOfst (SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
 Searches the ContentFrame owning the PrtArea containing the point. More...
 
virtual void Cut () override
 
virtual void Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) override
 
const SwContentFrameGetContentPos (Point &rPoint, const bool bDontLeave, const bool bBodyOnly=false, SwCursorMoveState *pCMS=nullptr, const bool bDefaultExpand=true) const
 Finds the closest Content for the SPoint Is used for Pages, Flys and Cells if GetCursorOfst failed. More...
 
 SwLayoutFrame (SwFrameFormat *, SwFrame *)
 
virtual void PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
 
const SwFrameLower () const
 
SwFrameLower ()
 
const SwContentFrameContainsContent () const
 Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so the first found ContentFrame is returned. More...
 
SwContentFrameContainsContent ()
 In order to save us from duplicating implementations, we cast here a little. More...
 
const SwCellFrameFirstCell () const
 Calls ContainsAny first to reach the innermost cell. More...
 
SwCellFrameFirstCell ()
 
const SwFrameContainsAny (const bool _bInvestigateFootnoteForSections=false) const
 Method <ContainsAny()> doesn't investigate content of footnotes by default. More...
 
SwFrameContainsAny (const bool _bInvestigateFootnoteForSections=false)
 
bool IsAnLower (const SwFrame *) const
 
virtual const SwFrameFormatGetFormat () const
 
virtual SwFrameFormatGetFormat ()
 
void SetFrameFormat (SwFrameFormat *)
 
bool MoveLowerFootnotes (SwContentFrame *pStart, SwFootnoteBossFrame *pOldBoss, SwFootnoteBossFrame *pNewBoss, const bool bFootnoteNums)
 Moving the Footnotes of all Lowers - starting from StartContent. More...
 
void NotifyLowerObjs (const bool _bUnlockPosOfObjs=false)
 force an unlockposition call for the lower objects. More...
 
void InvaPercentLowers (SwTwips nDiff=0)
 Invalidates the inner Frames, whose width and/or height are calculated using percentages. More...
 
void FormatWidthCols (const SwBorderAttrs &, const SwTwips nBorder, const SwTwips nMinHeight)
 Called by Format for Frames and Areas with columns. More...
 
SwTwips InnerHeight () const
 InnerHeight returns the height of the content and may be bigger or less than the PrtArea-Height of the layoutframe himself. More...
 
bool IsBefore (const SwLayoutFrame *_pCheckRefLayFrame) const
 method to check relative position of layout frame to a given layout frame. More...
 
SwFrameGetLastLower ()
 
virtual void PaintBreak () const
 
void SetVertPosOrientFrameFor (SwAnchoredObject *pObj)
 
void ClearVertPosOrientFrameFor (SwAnchoredObject *pObj)
 
const SwFrameGetLastLower () const
 
- Public Member Functions inherited from SwFrame
virtual css::uno::Sequence< css::style::TabStop > GetTabStopInfo (SwTwips)
 
SwFrameType GetType () const
 
SwTwips Shrink (SwTwips, bool bTst=false, bool bInfo=false)
 
SwTwips Grow (SwTwips, bool bTst=false, bool bInfo=false)
 
void InsertBefore (SwLayoutFrame *pParent, SwFrame *pBehind)
 Insert SwFrame into existing structure. More...
 
void InsertBehind (SwLayoutFrame *pParent, SwFrame *pBefore)
 Insert SwFrame into existing structure. More...
 
bool InsertGroupBefore (SwFrame *pParent, SwFrame *pWhere, SwFrame *pSct)
 Insert a chain of SwFrames into an existing structure. More...
 
void RemoveFromLayout ()
 
SwLayoutFrameGetLeaf (MakePageType eMakePage, bool bFwd)
 
SwLayoutFrameGetNextLeaf (MakePageType eMakePage)
 Returns the next layout leaf in which we can move the frame. More...
 
SwLayoutFrameGetNextFootnoteLeaf (MakePageType eMakePage)
 Return the next layout leaf in that the frame can be moved. More...
 
SwLayoutFrameGetNextSctLeaf (MakePageType eMakePage)
 Returns the next layout sheet where the frame can be moved in. More...
 
SwLayoutFrameGetPrevLeaf ()
 Returns the previous layout leaf where we can move the frame. More...
 
SwLayoutFrameGetPrevFootnoteLeaf (MakePageType eMakeFootnote)
 Get the preceding layout leaf in that the frame can be moved. More...
 
SwLayoutFrameGetPrevSctLeaf ()
 Returns the preceding layout sheet where the frame can be moved into. More...
 
const SwLayoutFrameGetLeaf (MakePageType eMakePage, bool bFwd, const SwFrame *pAnch) const
 Returns the next/previous Layout leaf that's NOT below this (or even is this itself). More...
 
bool WrongPageDesc (SwPageFrame *pNew)
 
void AppendDrawObj (SwAnchoredObject &_rNewObj)
 
void RemoveDrawObj (SwAnchoredObject &_rToRemoveObj)
 
void AppendFly (SwFlyFrame *pNew)
 
void RemoveFly (SwFlyFrame *pToRemove)
 
const SwSortedObjsGetDrawObjs () const
 
SwSortedObjsGetDrawObjs ()
 
void InvalidateObjs (const bool _bNoInvaOfAsCharAnchoredObjs=true)
 
virtual void PaintSwFrameShadowAndBorder (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &) const
 Paints shadows and borders. More...
 
void PaintBaBo (const SwRect &, const SwPageFrame *pPage, const bool bOnlyTextBackground=false) const
 
void PaintSwFrameBackground (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &, const bool bLowerMode=false, const bool bLowerBorder=false, const bool bOnlyTextBackground=false) const
 OD 05.09.2002 #102912# Do not paint background for fly frames without a background brush by calling <PaintBaBo> at the page or at the fly frame its anchored. More...
 
void PaintBorderLine (const SwRect &, const SwRect &, const SwPageFrame *, const Color *pColor, const SvxBorderLineStyle=SvxBorderLineStyle::SOLID) const
 
std::unique_ptr< drawinglayer::processor2d::BaseProcessor2DCreateProcessor2D () const
 
void ProcessPrimitives (const drawinglayer::primitive2d::Primitive2DContainer &rSequence) const
 
void Retouch (const SwPageFrame *pPage, const SwRect &rRect) const
 Retouch for a section. More...
 
bool GetBackgroundBrush (drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes, const SvxBrushItem *&rpBrush, const Color *&rpColor, SwRect &rOrigRect, bool bLowerMode, bool bConsiderTextBox) const
 Determine the background brush for the frame: the background brush is taken from it-self or from its parent (anchor/upper). More...
 
void SetCompletePaint () const
 
void ResetCompletePaint () const
 
bool IsCompletePaint () const
 
void SetRetouche () const
 
void ResetRetouche () const
 
bool IsRetouche () const
 
void InvalidateInfFlags ()
 
bool IsInDocBody () const
 
bool IsInFootnote () const
 
bool IsInTab () const
 
bool IsInFly () const
 
bool IsInSct () const
 
bool IsVertical () const
 
bool IsVertLR () const
 
bool IsVertLRBT () const
 
void SetDerivedVert (bool bNew)
 
void SetInvalidVert (bool bNew)
 
bool IsRightToLeft () const
 
void SetDerivedR2L (bool bNew)
 
void CheckDirChange ()
 checks the layout direction and invalidates the lower frames recursively, if necessary. More...
 
Point GetFrameAnchorPos (bool bIgnoreFlysAnchoredAtThisFrame) const
 returns the position for anchors based on frame direction More...
 
bool IsFootnoteAllowed () const
 
virtual void CheckDirection (bool bVert)
 
void ReinitializeFrameSizeAttrFlags ()
 
bool HasFixSize () const
 
SwFrameGetNext ()
 
SwFrameGetPrev ()
 
SwLayoutFrameGetUpper ()
 
SwRootFramegetRootFrame ()
 
SwPageFrameFindPageFrame ()
 
SwFrameGetLower ()
 
const SwFrameGetNext () const
 
const SwFrameGetPrev () const
 
const SwLayoutFrameGetUpper () const
 
const SwRootFramegetRootFrame () const
 
SwTabFrameFindTabFrame ()
 
SwFootnoteFrameFindFootnoteFrame ()
 
SwFlyFrameFindFlyFrame ()
 
SwSectionFrameFindSctFrame ()
 
SwFrameFindNext ()
 
SwContentFrameFindNextCnt (const bool _bInSameFootnote=false)
 
SwFrameFindPrev ()
 
const SwPageFrameFindPageFrame () const
 
const SwFootnoteBossFrameFindFootnoteBossFrame (bool bFootnote=false) const
 
const SwFrameFindColFrame () const
 
const SwFrameFindFooterOrHeader () const
 
const SwTabFrameFindTabFrame () const
 
const SwFootnoteFrameFindFootnoteFrame () const
 
const SwFlyFrameFindFlyFrame () const
 
const SwSectionFrameFindSctFrame () const
 
const SwBodyFrameFindBodyFrame () const
 
const SwFrameFindNext () const
 
const SwContentFrameFindNextCnt (const bool _bInSameFootnote=false) const
 
const SwFrameFindPrev () const
 
const SwFrameGetLower () const
 
SwContentFrameFindPrevCnt ()
 
const SwContentFrameFindPrevCnt () const
 
SwFrameGetIndPrev_ () const
 Called for a frame inside a section with no direct previous frame (or only previous empty section frames) the previous frame of the outer section is returned, if the frame is the first flowing content of this section. More...
 
SwFrameGetIndPrev () const
 
SwFrameGetIndNext ()
 
const SwFrameGetIndNext () const
 
sal_uInt16 GetPhyPageNum () const
 
sal_uInt16 GetVirtPageNum () const
 
bool OnRightPage () const
 
bool WannaRightPage () const
 Decides if the page want to be a rightpage or not. More...
 
bool OnFirstPage () const
 
const SwLayoutFrameGetPrevLayoutLeaf () const
 
const SwLayoutFrameGetNextLayoutLeaf () const
 
SwLayoutFrameGetPrevLayoutLeaf ()
 
SwLayoutFrameGetNextLayoutLeaf ()
 
virtual void Calc (vcl::RenderContext *pRenderContext) const
 
void OptCalc () const
 
Point GetRelPos () const
 
const SwRect GetPaintArea () const
 |* The paintarea is the area, in which the content of a frame is allowed |* to be displayed. More...
 
const SwRect UnionFrame (bool bBorder=false) const
 |* The unionframe is the framearea (getFrameArea()) of a frame expanded by the |* printarea, if there's a negative margin at the left or right side. More...
 
virtual Size ChgSize (const Size &aNewSize)
 
void ValidateLineNum ()
 
bool GetValidLineNumFlag () const
 
void InvalidateSize_ ()
 
void InvalidatePrt_ ()
 
void InvalidatePos_ ()
 
void InvalidateLineNum_ ()
 
void InvalidateAll_ ()
 
void InvalidateSize ()
 
void InvalidatePrt ()
 
void InvalidatePos ()
 
void InvalidateLineNum ()
 
void InvalidateAll ()
 
void ImplInvalidateSize ()
 
void ImplInvalidatePrt ()
 
void ImplInvalidatePos ()
 
void ImplInvalidateLineNum ()
 
void InvalidateNextPos (bool bNoFootnote=false)
 
void InvalidatePage (const SwPageFrame *pPage=nullptr) const
 Invalidates the page in which the Frame is currently placed. More...
 
virtual bool GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const
 
virtual bool Prepare (const PrepareHint ePrep=PREP_CLEAR, const void *pVoid=nullptr, bool bNotify=true)
 
bool IsLayoutFrame () const
 
bool IsRootFrame () const
 
bool IsPageFrame () const
 
bool IsColumnFrame () const
 
bool IsFootnoteBossFrame () const
 
bool IsHeaderFrame () const
 
bool IsFooterFrame () const
 
bool IsFootnoteContFrame () const
 
bool IsFootnoteFrame () const
 
bool IsBodyFrame () const
 
bool IsColBodyFrame () const
 These SwFrame inlines are here, so that frame.hxx does not need to include layfrm.hxx. More...
 
bool IsPageBodyFrame () const
 
bool IsFlyFrame () const
 
bool IsSctFrame () const
 
bool IsTabFrame () const
 
bool IsRowFrame () const
 
bool IsCellFrame () const
 
bool IsContentFrame () const
 
bool IsTextFrame () const
 
bool IsNoTextFrame () const
 
bool IsFlowFrame () const
 
bool IsRetoucheFrame () const
 
bool IsAccessibleFrame () const
 
void PrepareCursor ()
 
bool IsProtected () const
 Is the Frame or rather the Section in which it lies protected? More...
 
bool IsColLocked () const
 
virtual bool IsDeleteForbidden () const
 
bool IsInDtor () const
 
long GetTopMargin () const
 
long GetBottomMargin () const
 
long GetLeftMargin () const
 
long GetRightMargin () const
 
void SetTopBottomMargins (long, long)
 
void SetLeftRightMargins (long, long)
 
void SetRightLeftMargins (long, long)
 
long GetPrtLeft () const
 
long GetPrtBottom () const
 
long GetPrtRight () const
 
long GetPrtTop () const
 
bool SetMinLeft (long)
 
bool SetMaxBottom (long)
 
bool SetMaxRight (long)
 
void MakeBelowPos (const SwFrame *, const SwFrame *, bool)
 
void MakeLeftPos (const SwFrame *, const SwFrame *, bool)
 
void MakeRightPos (const SwFrame *, const SwFrame *, bool)
 
bool IsNeighbourFrame () const
 
bool IsLeaveUpperAllowed () const
 
bool IsCoveredCell () const
 
bool IsInCoveredCell () const
 
bool KnowsFormat (const SwFormat &rFormat) const
 
void RegisterToFormat (SwFormat &rFormat)
 
void ValidateThisAndAllLowers (const sal_uInt16 nStage)
 
void ForbidDelete ()
 
void AllowDelete ()
 
virtual void dumpAsXml (xmlTextWriterPtr writer=nullptr) const
 
void dumpTopMostAsXml (xmlTextWriterPtr writer=nullptr) const
 
void dumpInfosAsXml (xmlTextWriterPtr writer) const
 
virtual void dumpAsXmlAttributes (xmlTextWriterPtr writer) const
 
void dumpChildrenAsXml (xmlTextWriterPtr writer) const
 
bool IsCollapse () const
 
SwLayoutFrameGetNextCellLeaf ()
 
SwLayoutFrameGetPrevCellLeaf ()
 
void SetInfFlags ()
 
const SwRowFrameIsInSplitTableRow () const
 
const SwRowFrameIsInFollowFlowRow () const
 
bool IsInBalancedSection () const
 
bool IsMoveable (const SwLayoutFrame *_pLayoutFrame=nullptr) const
 determine, if frame is moveable in given environment More...
 
const SwAttrSetGetAttrSet () const
 WARNING: this may not return correct RES_PAGEDESC/RES_BREAK items for SwTextFrame, use GetBreakItem()/GetPageDescItem() instead. More...
 
virtual const SvxFormatBreakItemGetBreakItem () const
 
virtual const SwFormatPageDescGetPageDescItem () const
 
SwFrameFindColFrame ()
 
SwRowFrameFindRowFrame ()
 
SwFootnoteBossFrameFindFootnoteBossFrame (bool bFootnotes=false)
 
SwTabFrameImplFindTabFrame ()
 
SwFootnoteFrameImplFindFootnoteFrame ()
 
SwFlyFrameImplFindFlyFrame ()
 
SwSectionFrameImplFindSctFrame ()
 
const SwBodyFrameImplFindBodyFrame () const
 
SwFrameFindFooterOrHeader ()
 
void ImplInvalidateNextPos (bool bNoFootnote)
 
void InvalidateNextPrtArea ()
 method to invalidate printing area of next frame #i11859# More...
 
drawinglayer::attribute::SdrAllFillAttributesHelperPtr getSdrAllFillAttributesHelper () const
 
bool supportsFullDrawingLayerFillAttributeSet () const
 
- Public Member Functions inherited from SwFrameAreaDefinition
 SwFrameAreaDefinition ()
 
virtual ~SwFrameAreaDefinition ()
 
bool isFrameAreaPositionValid () const
 
bool isFrameAreaSizeValid () const
 
bool isFramePrintAreaValid () const
 
bool isFrameAreaDefinitionValid () const
 
sal_uInt32 GetFrameId () const
 
const SwRectgetFrameArea () const
 
const SwRectgetFramePrintArea () const
 
virtual basegfx::B2DHomMatrix getFrameAreaTransformation () const
 
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation () const
 
virtual void transform_translate (const Point &rOffset)
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
size_t GetSizeOfVector () const
 
SfxListenerGetListener (size_t nNo) const
 

Protected Member Functions

virtual void DestroyImpl () override
 
virtual ~SwLayoutFrame () override
 
virtual void Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
 "Formats" the Frame; Frame and PrtArea. More...
 
virtual void MakeAll (vcl::RenderContext *pRenderContext) override
 
virtual SwTwips ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false) override
 
virtual SwTwips GrowFrame (SwTwips, bool bTst=false, bool bInfo=false) override
 
long CalcRel (const SwFormatFrameSize &rSz) const
 
- Protected Member Functions inherited from SwFrame
void ColLock ()
 
void ColUnlock ()
 
virtual ~SwFrame () override
 
void setRootFrame (SwRootFrame *pRoot)
 
SwPageFrameInsertPage (SwPageFrame *pSibling, bool bFootnote)
 
void PrepareMake (vcl::RenderContext *pRenderContext)
 Prepares the Frame for "formatting" (MakeAll()). More...
 
void OptPrepareMake ()
 
virtual void MakePos ()
 
SwTwips AdjustNeighbourhood (SwTwips nDiff, bool bTst=false)
 Adjust surrounding neighbourhood after insertion. More...
 
SwModifyGetDep ()
 use these so we can grep for SwFrame's GetRegisteredIn accesses beware that SwTextFrame may return sw::WriterMultiListener More...
 
const SwModifyGetDep () const
 
 SwFrame (SwModify *, SwFrame *)
 
void CheckDir (SvxFrameDirection nDir, bool bVert, bool bOnlyBiDi, bool bBrowse)
 
virtual bool InvalidationAllowed (const InvalidationType _nInvalid) const
 method to determine, if an invalidation is allowed. More...
 
virtual void ActionOnInvalidation (const InvalidationType _nInvalid)
 method to perform additional actions on an invalidation More...
 
void PaintShadow (const SwRect &, SwRect &, const SwBorderAttrs &) const
 Paints a shadow if the format requests so. More...
 
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *) override
 
virtual const IDocumentDrawModelAccessgetIDocumentDrawModelAccess ()
 
- Protected Member Functions inherited from SwFrameAreaDefinition
void setFrameAreaPositionValid (bool bNew)
 
void setFrameAreaSizeValid (bool bNew)
 
void setFramePrintAreaValid (bool bNew)
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 

Protected Attributes

SwFramem_pLower
 
std::vector< SwAnchoredObject * > m_VertPosOrientFramesFor
 
- Protected Attributes inherited from SwFrame
std::unique_ptr< SwSortedObjsm_pDrawObjs
 
SwFrameType mnFrameType
 
bool mbInDtor: 1
 
bool mbInvalidR2L: 1
 
bool mbDerivedR2L: 1
 
bool mbRightToLeft: 1
 
bool mbInvalidVert: 1
 
bool mbDerivedVert: 1
 
bool mbVertical: 1
 
bool mbVertLR: 1
 
bool mbVertLRBT: 1
 
bool mbValidLineNum: 1
 
bool mbFixSize: 1
 
bool mbCompletePaint: 1
 
bool mbRetouche: 1
 
bool mbInfInvalid: 1
 
bool mbInfBody: 1
 
bool mbInfTab: 1
 
bool mbInfFly: 1
 
bool mbInfFootnote: 1
 
bool mbInfSct: 1
 
bool mbColLocked: 1
 
bool m_isInDestroy: 1
 
bool mbForbidDelete: 1
 

Friends

class SwFlowFrame
 
class SwFrame
 
SwFrameSaveContent (SwLayoutFrame *, SwFrame *)
 
void RestoreContent (SwFrame *, SwLayoutFrame *, SwFrame *pSibling)
 

Additional Inherited Members

- Static Public Member Functions inherited from SwFrame
static SwCacheGetCache ()
 
static SwCacheGetCachePtr ()
 
static void SetCache (SwCache *pNew)
 
static void CheckPageDescs (SwPageFrame *pStart, bool bNotifyFields=true, SwPageFrame **ppPrev=nullptr)
 Check all pages (starting from the given one) if they use the right frame format. More...
 
static void DestroyFrame (SwFrame *const pFrame)
 this is the only way to delete a SwFrame instance More...
 
- Protected Types inherited from SwFrame
enum  InvalidationType {
  INVALID_SIZE,
  INVALID_PRTAREA,
  INVALID_POS,
  INVALID_LINENUM,
  INVALID_ALL
}
 enumeration for the different invalidations #i28701# More...
 

Detailed Description

Definition at line 34 of file layfrm.hxx.

Constructor & Destructor Documentation

SwLayoutFrame::~SwLayoutFrame ( )
overrideprotectedvirtual

Definition at line 610 of file ssfrm.cxx.

SwLayoutFrame::SwLayoutFrame ( SwFrameFormat pFormat,
SwFrame pSib 
)

Member Function Documentation

void SwLayoutFrame::AdjustColumns ( const SwFormatCol pCol,
bool  bAdjustAttributes 
)
long SwLayoutFrame::CalcRel ( const SwFormatFrameSize rSz) const
protected
void SwLayoutFrame::ChgColumns ( const SwFormatCol rOld,
const SwFormatCol rNew,
const bool  bChgFootnote = false 
)
void SwLayoutFrame::ChgLowersProp ( const Size rOldSize)

Change size of lowers proportionally.

Changes the size of the directly subsidiary Frame's that have a fixed size, proportionally to the size change of the PrtArea of the Frame's.

The variable Frames are also proportionally adapted; they will grow/shrink again by themselves.

Definition at line 2956 of file wsfrm.cxx.

References AdjustColumns(), SwRect::Bottom(), SwFlowFrame::CastFlowFrame(), Cell, SwFrame::FindPageFrame(), SwFrame::FindSctFrame(), SwFrame::FindTabFrame(), FRM_BODYFTNC, FRM_HEADFOOT, FRM_NEIGHBOUR, SwFormat::GetCol(), GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFormatCol::GetNumCols(), SwFrame::GetPrev(), SwFrame::GetType(), SwFrame::GetUpper(), SwFlowFrame::HasFollow(), Size::Height(), Height, SwRect::Height(), SwFrame::InvalidateAll_(), SwFrame::InvalidateNextPos(), SwFrame::InvalidatePage(), SwFrame::InvalidateSize_(), IsAnLower(), SwFrame::IsBodyFrame(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), SwFrame::IsContentFrame(), SwFrame::IsFlowFrame(), SwFrame::IsFlyFrame(), SwFrame::IsFooterFrame(), SwFrame::IsFootnoteContFrame(), SwFrame::IsFootnoteFrame(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrame::IsHeaderFrame(), SwFrame::IsInDocBody(), SwFrame::IsInSct(), SwFrame::IsInTab(), SwFrame::IsNeighbourFrame(), SwFormatCol::IsOrtho(), SwFrame::IsPageBodyFrame(), SwFrame::IsPageFrame(), SwFrame::IsRetoucheFrame(), SwFrame::IsRootFrame(), SwFrame::IsSctFrame(), SwFrame::IsTextFrame(), SwRectFnSet::IsVert(), SwFrame::IsVertical(), SwRect::Left(), Lower(), PREP_ADJUST_FRM, PREP_FIXSIZE_CHG, SwFrame::Prepare(), Row, Section, SwFrame::SetRetouche(), SwRect::SSize(), Tab, SwRect::Top(), Width, Size::Width(), and SwRect::Width().

Referenced by SwFlyFreeFrame::CheckClip(), SwSectionFrame::CheckClipping(), ExtraFormatToPositionObjs::FormatSectionToPositionObjs(), FormatWidthCols(), SwFlyFrame::FrameSizeChg(), and SwLayNotify::~SwLayNotify().

void SwLayoutFrame::ClearVertPosOrientFrameFor ( SwAnchoredObject pObj)
inline

Definition at line 177 of file layfrm.hxx.

const SwFrame * SwLayoutFrame::ContainsAny ( const bool  _bInvestigateFootnoteForSections = false) const

Method <ContainsAny()> doesn't investigate content of footnotes by default.

return ContentFrames, sections, and tables.

But under certain circumstances this investigation is intended. Thus, introduce new optional parameter <_bInvestigateFootnoteForSections>. It's default is <false>, still indicating that content of footnotes isn't investigated for sections.

Parameters
_bInvestigateFootnoteForSectionscontrols investigation of content of footnotes for sections.
See also
ContainsContent

Definition at line 125 of file findfrm.cxx.

References SwFrame::GetNextLayoutLeaf(), IsAnLower(), SwFrame::IsInFootnote(), SwFrame::IsLayoutFrame(), SwFrame::IsSctFrame(), SwFrame::IsTabFrame(), and Lower().

Referenced by CalcContent(), SwSectionFrame::CalcFootnoteContent(), SwFlowFrame::CalcUpperSpace(), SwSectionFrame::CheckClipping(), SwEndnoter::CollectEndnote(), SwLayoutCache::CompareLayout(), ContainsAny(), SwContentFrame::Cut(), SwTabFrame::Cut(), SwFlyFrame::FindLastLower(), FirstCell(), SwSectionFrame::Format(), FormatWidthCols(), SwPageFrame::GetContentHeight(), SwFootnoteFrame::InvalidateNxtFootnoteCnts(), SwSectionFrame::IsSuperfluous(), MakeFrames(), SwContentFrame::Modify(), SwFlowFrame::MoveBwd(), SwFootnoteBossFrame::MoveFootnotes_(), SwFlowFrame::MoveFwd(), SwFlowFrame::MoveSubTree(), SwFootnoteBossFrame::RearrangeFootnotes(), SaveContent(), SwTextFrame::SwClientNotify(), and SwLayoutCache::Write().

SwFrame * SwLayoutFrame::ContainsAny ( const bool  _bInvestigateFootnoteForSections = false)
inline

Definition at line 200 of file layfrm.hxx.

References ContainsAny().

const SwContentFrame * SwLayoutFrame::ContainsContent ( ) const

Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so the first found ContentFrame is returned.

Definition at line 66 of file findfrm.cxx.

References ContainsContent(), SwFrame::GetNext(), SwFrame::GetNextLayoutLeaf(), IsAnLower(), SwFrame::IsLayoutFrame(), SwFrame::IsSctFrame(), and Lower().

Referenced by SwFootnoteBossFrame::AppendFootnote(), CalcContent(), SwContentFrame::CalcLowers(), SwFlyFrame::ChainFrames(), SwLayAction::CheckFirstVisPage(), SwPageFrame::CheckGrid(), ContainsContent(), SwFootnoteFrame::Cut(), SwTabFrame::Cut(), SwFlowFrame::CutTree(), SwRootFrame::DeleteEmptySct_(), SwLayIdle::DoIdleJob(), SwLayIdle::DoIdleJob_(), SwPageFrame::FindFirstBodyContent(), SwSectionFrame::FindLastContent(), SwTabFrame::FindLastContent(), SwFootnoteFrame::FindLastContent(), SwFrame::FindNextCnt_(), SwPageFrame::FindPageDesc(), SwFrame::FindPrevCnt_(), SwTextFrame::FindQuoVadisFrame(), SwSectionFrame::Format(), SwFlyInContentFrame::Format(), SwLayAction::FormatContent(), SwLayAction::FormatFlyContent(), SwObjectFormatter::FormatObjContent(), FormatWidthCols(), GetBodyTextNode(), GetCellContent(), GetColumnStt(), GetContentPos(), SwPageFrame::GetContentPosition(), SwAccessibleEmbeddedObject::getExtendedAttributes(), SwAccessibleDocument::getExtendedAttributes(), GetFrameInPage(), GetNextFrame(), SwXFlatParagraphIterator::getNextPara(), SwRootFrame::GetNextPrevContentPos(), GetPrevFrame(), SwFEShell::GotoFly(), SwRootFrame::ImplCalcBrowseWidth(), InsertCnt_(), SwRootFrame::InvalidateAllContent(), SwSectionFrame::InvalidateFootnotePos(), InvaPercentLowers(), SwTextFrame::IsFootnoteNumFrame_(), SwLayAction::IsShortCut(), lcl_AddObjsToPage(), lcl_ChangeFootnoteRef(), lcl_EmergencyFormatFootnoteCont(), lcl_FindCntDiff(), lcl_FindFirstInvaContent(), lcl_FindFrame(), lcl_InvalidateAllContent(), lcl_IsFlyHeightClipped(), lcl_NotifyContent(), lcl_NotifyNeighbours(), lcl_PostprocessRowsInCells(), lcl_PrepFlyInCntRegister(), lcl_RecalcSplitLine(), lcl_RemoveObjsFromPage(), lcl_UpDown(), MakeFrames(), SwFlowFrame::MoveBwd(), SwContentFrame::MoveFootnoteCntFwd(), MoveLowerFootnotes(), Notify_Background(), SwColumnFrame::PaintBreak(), SwPageFrame::PaintBreak(), SwPageFrame::PrepareRegisterChg(), RefreshExtraData(), SwLayAction::RemoveEmptyBrowserPages(), SwRootFrame::RemoveSuperfluous(), RestoreContent(), SwPageBreakWin::Select(), SwFEShell::SelFlyGrabCursor(), SwRootFrame::SetCurrPage(), SwFEShell::ShouldObjectBeSelected(), SwTabFrame::Split(), SwFlyFrame::UnchainFrames(), and SwPageFrame::UpdateFootnoteNum().

SwContentFrame * SwLayoutFrame::ContainsContent ( )
inline

In order to save us from duplicating implementations, we cast here a little.

Definition at line 190 of file layfrm.hxx.

References ContainsContent().

void SwLayoutFrame::Cut ( )
overridevirtual
void SwLayoutFrame::DestroyImpl ( )
overrideprotectedvirtual
bool SwLayoutFrame::FillSelection ( SwSelectionList rList,
const SwRect rRect 
) const
overridevirtual
const SwCellFrame * SwLayoutFrame::FirstCell ( ) const

Calls ContainsAny first to reach the innermost cell.

From there we walk back up to the first SwCellFrame. Since we use SectionFrames, ContainsContent()->GetUpper() is not enough anymore.

Definition at line 112 of file findfrm.cxx.

References ContainsAny(), SwFrame::GetUpper(), and SwFrame::IsCellFrame().

Referenced by SwDoc::AdjustCellWidth(), CheckSplitCells(), ChkChartSel(), FirstCell(), GetAutoSumSel(), GetMergeSel(), GetTableSel(), lcl_CalcColValues(), lcl_CollectCells(), lcl_FindStartEndCol(), MakeSelUnions(), and SwRootFrame::MakeTableCursors().

SwCellFrame * SwLayoutFrame::FirstCell ( )
inline

Definition at line 195 of file layfrm.hxx.

References FirstCell().

void SwLayoutFrame::Format ( vcl::RenderContext pRenderContext,
const SwBorderAttrs pAttrs = nullptr 
)
overrideprotectedvirtual

"Formats" the Frame; Frame and PrtArea.

The Fixsize is not set here.

Reimplemented from SwFrame.

Reimplemented in SwFlyInContentFrame, SwFlyFrame, SwTabFrame, SwSectionFrame, SwFootnoteContFrame, SwCellFrame, SwHeadFootFrame, SwBodyFrame, and SwRowFrame.

Definition at line 3355 of file wsfrm.cxx.

References ATT_MIN_SIZE, SwBorderAttrs::CalcBottom(), SwBorderAttrs::CalcLeft(), SwBorderAttrs::CalcRight(), SwBorderAttrs::CalcTop(), SwFrame::ChgSize(), SwRectFnCollection::fnGetHeight, SwRectFnCollection::fnGetLeft, SwRectFnCollection::fnGetPrtBottom, SwRectFnCollection::fnGetTop, fnRectHori, fnRectVert, fnRectVertL2R, fnRectVertL2RB2T, SwRectFnCollection::fnSetLimit, SwRectFnCollection::fnSetXMargins, SwRectFnCollection::fnSetYMargins, FRM_HEADFOOT, SwRootFrame::GetCurrShell(), GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwFormatFrameSize::GetHeightSizeType(), SwFrame::GetNext(), SwFrame::getRootFrame(), SwBorderAttrs::GetSize(), SwFrame::GetType(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), SwFrame::Grow(), SwFrame::HasFixSize(), Size::Height(), Height, SwFrameAreaDefinition::isFrameAreaSizeValid(), SwFrameAreaDefinition::isFramePrintAreaValid(), SwFrame::IsPageFrame(), SwFrame::IsSctFrame(), SwFrame::IsTextFrame(), SwFrame::IsVertical(), SwFrame::IsVertLR(), SwFrame::IsVertLRBT(), SwViewOption::IsWhitespaceHidden(), Lower(), SwFrame::MakePos(), nBorder, SwFrameAreaDefinition::setFrameAreaSizeValid(), SwFrameAreaDefinition::setFramePrintAreaValid(), SwFrame::Shrink(), and Width.

Referenced by SwHeadFootFrame::Format(), SwFrame::GetPrevSctLeaf(), MakeAll(), and SwPageFrame::MakeAll().

void SwLayoutFrame::FormatWidthCols ( const SwBorderAttrs rAttrs,
const SwTwips  nBorder,
const SwTwips  nMinHeight 
)
const SwContentFrame * SwLayoutFrame::GetContentPos ( Point rPoint,
const bool  bDontLeave,
const bool  bBodyOnly = false,
SwCursorMoveState pCMS = nullptr,
const bool  bDefaultExpand = true 
) const

Finds the closest Content for the SPoint Is used for Pages, Flys and Cells if GetCursorOfst failed.

Search for the nearest Content to pass.

Considers the previous, the current and the next page. If no content is found, the area gets expanded until one is found.

Returns
The 'semantically correct' position inside the PrtArea of the found ContentFrame.

Definition at line 1179 of file trvlfrm.cxx.

References SwRect::Bottom(), CalcDiff(), ContainsContent(), SwPageFrame::FindFirstBodyContent(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFrame::GetNext(), SwContentFrame::GetNextContentFrame(), SwFrame::GetPhyPageNum(), SwFrame::GetPrev(), SwRectFnSet::GetPrtBottom(), SwRectFnSet::GetPrtTop(), SwFrame::GetUpper(), SwRect::Height(), IsAnLower(), SwFlowFrame::IsFollow(), SwFrame::IsFootnoteContFrame(), SwFrame::IsInDocBody(), SwFrame::IsInFootnote(), SwTabFrame::IsInHeadline(), SwFrame::IsInTab(), SwFrame::IsLayoutFrame(), SwFrame::IsRightToLeft(), SwFrame::IsTextFrame(), SwRectFnSet::IsVert(), lcl_GetNxtCnt(), lcl_Inside(), lcl_MissProtectedFrames(), SwRect::Left(), SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_bStop, SwCursorMoveState::m_eState, MV_TBLSEL, SwRect::Pos(), SwRect::Right(), SAL_MAX_UINT64, Size::setHeight(), Point::setX(), Point::setY(), SwRect::SSize(), SwRect::Top(), SwFrame::UnionFrame(), SwRect::Width(), Point::X(), Point::Y(), and SwRectFnSet::YDiff().

Referenced by FindAnchor(), GetBodyTextNode(), SwCellFrame::GetCursorOfst(), SwFlyFrame::GetCursorOfst(), SwPageFrame::GetCursorOfst(), and SwCursorShell::GotoFlyAnchor().

bool SwLayoutFrame::GetCursorOfst ( SwPosition pPos,
Point rPoint,
SwCursorMoveState pCMS = nullptr,
bool  bTestBackground = false 
) const
overridevirtual
const SwFrameFormat * SwLayoutFrame::GetFormat ( ) const
virtual

Reimplemented in SwFlyFrame.

Definition at line 393 of file ssfrm.cxx.

References SwFrame::GetDep().

Referenced by AdjustColumns(), SwFrame::AdjustNeighbourhood(), SwFootnoteBossFrame::AppendFootnote(), SwRootFrame::AssertFlyPages(), SwFlowFrame::CalcAddLowerSpaceAsLastInTableCell(), CalcContent(), SwTabFrame::CalcFlyOffsets(), SwTabFrame::CalcHeightOfFirstContentLine(), SwFlowFrame::CalcLowerSpace(), SwFlowFrame::CalcUpperSpace(), SwFrame::CheckDirChange(), SwCellFrame::CheckDirection(), SwSectionFrame::CheckDirection(), SwTabFrame::CheckDirection(), SwPageFrame::CheckDirection(), SwLayAction::CheckFirstVisPage(), SwFrame::CheckPageDescs(), SwRootFrame::CheckViewLayout(), SwLayAction::CheckWaitCursor(), ChgColumns(), SwFEShell::ChgCurPageDesc(), ChgLowersProp(), SwColumnFrame::DestroyImpl(), SwCellFrame::DestroyImpl(), DestroyImpl(), SwRowFrame::DestroyImpl(), SwSectionFrame::DestroyImpl(), SwPageFrame::DestroyImpl(), SwTabFrame::DestroyImpl(), SwObjectFormatterTextFrame::DoFormatObj(), SwObjectFormatterTextFrame::DoFormatObjs(), SwFrame::dumpAsXmlAttributes(), SwFootnoteBossFrame::FindNearestFootnoteCont(), SwPageFrame::FindPageDesc(), SwRowFrame::Format(), SwBodyFrame::Format(), SwCellFrame::Format(), Format(), SwSectionFrame::Format(), SwTabFrame::Format(), SwLayAction::FormatLayoutTab(), FormatWidthCols(), SwCellFrame::GetCursorOfst(), SwHeadFootFrame::GetEatSpacing(), SwFEShell::GetFlyName(), SwAccessibleNoTextHyperlink::GetFormat(), SwFrame::getIDocumentDrawModelAccess(), GetMergeSel(), SwAnchoredDrawObject::GetObjBoundRect(), SwFEShell::GetSelectedFrameFormat(), SwFEShell::GetTabBackground(), SwFEShell::GetTableAttr(), SwFlowFrame::GetUpperSpaceAmountConsideredForPrevFrame(), SwFlowFrame::GetUpperSpaceAmountConsideredForPrevFrameAndPageGrid(), SwFrame::GetVirtPageNum(), SwSectionFrame::Grow_(), GrowFrame(), SwContentFrame::GrowFrame(), SwTabFrame::GrowFrame(), SwSectionFrame::HasToBreak(), SwRootFrame::ImplCalcBrowseWidth(), SwSectionFrame::Init(), SwFootnoteBossFrame::InsertFootnote(), SwFrame::InsertPage(), SwLayAction::InternalAction(), SwFrame::InvalidatePage(), SwAnchoredDrawObject::InvalidatePage_(), InvaPercentLowers(), SwTabFrame::IsCollapsingBorders(), SwFlowFrame::IsKeep(), SwTabFrame::IsLayoutSplitAllowed(), SwFlowFrame::IsPageBreak(), SwRowFrame::IsRowSplitAllowed(), lcl_AddColumns(), lcl_CalcMinRowHeight(), lcl_CalcWish(), lcl_FindStartEndCol(), lcl_FindStartEndRow(), lcl_GetFrameMinHeight(), lcl_MissProtectedFrames(), lcl_MoveFootnotes(), lcl_PreprocessRowsInCells(), lcl_SetAPageOffset(), lcl_SubtractFlys(), SwTabFrame::MakeAll(), SwFootnoteBossFrame::MakeFootnoteCont(), MakeSelUnions(), SwRootFrame::MakeTableCursors(), SwAccessibleTable::Modify(), SwFlowFrame::MoveBwd(), SwSectionFrame::MoveContentAndDelete(), SwContentFrame::MoveFootnoteCntFwd(), SwFootnoteBossFrame::MoveFootnotes(), MoveLowerFootnotes(), Notify_Background(), SwFootnoteFrame::operator<(), SwFrame::PaintBorderLine(), SwPageFrame::PaintGrid(), PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwLayAction::PaintWithoutFlys(), SwFootnoteFrame::Paste(), SwTabFrame::Paste(), SwPageFrame::PrepareFooter(), SwPageFrame::PrepareHeader(), SwPageFrame::PreparePage(), SwFootnoteBossFrame::RearrangeFootnotes(), RefreshExtraData(), SwPageFrame::RefreshExtraData(), RefreshLaySubsidiary(), SwRootFrame::RemovePage(), SwRootFrame::RemoveSuperfluous(), SwFootnoteBossFrame::ResetFootnote(), SwFEShell::SetColRowWidthHeight(), SwFEShell::SetFlyName(), SetFrameFormat(), SwRootFrame::SetHideRedlines(), SwFEShell::SetTabBackground(), SwFEShell::SetTableAttr(), SwContentFrame::ShouldBwdMoved(), SwTabFrame::ShouldBwdMoved(), SwSectionFrame::Shrink_(), SwRowFrame::ShrinkFrame(), ShrinkFrame(), SwContentFrame::ShrinkFrame(), SwTabFrame::Split(), SwAccessibleTable::SwAccessibleTable(), SwAccessibleTableColHeaders::SwAccessibleTableColHeaders(), SwActualSection::SwActualSection(), UnHideRedlines(), SwSectionFrame::UpdateAttr_(), SwContentFrame::UpdateAttr_(), SwPageFrame::UpdateAttr_(), SwTabFrame::UpdateAttr_(), SwPageFrame::UpdateFootnoteNum(), SwRootFrame::UpdateFootnoteNums(), SwFrame::WannaRightPage(), SwContentFrame::WouldFit_(), SwFrame::WrongPageDesc(), SwContentNotify::~SwContentNotify(), and SwFrameNotify::~SwFrameNotify().

SwFrameFormat * SwLayoutFrame::GetFormat ( )
virtual

Reimplemented in SwFlyFrame.

Definition at line 398 of file ssfrm.cxx.

References SwFrame::GetDep().

const SwFrame * SwLayoutFrame::GetLastLower ( ) const
SwFrame * SwLayoutFrame::GetLastLower ( )
inline

Definition at line 218 of file layfrm.hxx.

References GetLastLower().

SwTwips SwLayoutFrame::GrowFrame ( SwTwips  nDist,
bool  bTst = false,
bool  bInfo = false 
)
overrideprotectedvirtual
SwTwips SwLayoutFrame::InnerHeight ( ) const
void SwLayoutFrame::InvaPercentLowers ( SwTwips  nDiff = 0)

Invalidates the inner Frames, whose width and/or height are calculated using percentages.

Frames that are anchored to this or inner Frames, are also invalidated.

Definition at line 3506 of file wsfrm.cxx.

References ContainsContent(), SwFrame::FindNextCnt(), SwFrame::FindTabFrame(), SwFrame::GetDrawObjs(), GetFormat(), SwFormat::GetFrameSize(), SwFormatFrameSize::GetHeightPercent(), SwFormatFrameSize::GetWidthPercent(), SwFrame::InvalidatePrt(), InvaPercentFlys(), IsAnLower(), SwFrame::IsInTab(), and SwFrame::IsTabFrame().

Referenced by GrowFrame(), SwViewShell::InvalidateLayout(), ShrinkFrame(), and SwLayNotify::~SwLayNotify().

bool SwLayoutFrame::IsAnLower ( const SwFrame pAssumed) const

Definition at line 206 of file findfrm.cxx.

References SwFrame::GetUpper(), and SwFrame::IsFlyFrame().

Referenced by SwFlowFrame::CalcAddLowerSpaceAsLastInTableCell(), CalcContent(), SwTabFrame::CalcFlyOffsets(), SwTextFrame::CalcFollow(), SwSectionFrame::CalcFootnoteContent(), SwRootFrame::CalcFrameRects(), SwContentFrame::CalcLowers(), SwPageFrame::CheckGrid(), CheckSplitCells(), ChgLowersProp(), ChkChartSel(), ContainsAny(), ContainsContent(), SwSectionFrame::ContainsFootnoteCont(), SwFlowFrame::CutTree(), DelFlys(), SwMovedFwdFramesByObjPos::DoesRowContainMovedFwdFrame(), SwLayIdle::DoIdleJob(), SwTextNode::fillSoftPageBreakList(), SwPageFrame::FindLastBodyContent(), SwTabFrame::FindLastContent(), SwFlyFrame::FindLastLower(), SwFrame::FindNext_(), SwFrame::FindPrev_(), SwTextFrame::FindQuoVadisFrame(), SwCellFrame::Format(), SwLayAction::FormatContent(), ExtraFormatToPositionObjs::FormatSectionToPositionObjs(), FormatWidthCols(), GetAutoSumSel(), GetCellContent(), GetColumnEnd(), SwPageFrame::GetContentHeight(), GetContentPos(), SwDrawView::GetMaxChildOrdNum(), SwDrawView::GetMaxToTopObj(), GetMergeSel(), SwXFlatParagraphIterator::getNextPara(), SwFlowFrame::GetPrevFrameForUpperSpaceCalc_(), GetTableSel(), SwDoc::GetTabRows(), SwTableLine::hasSoftPageBreak(), SwFrame::ImplGetNextLayoutLeaf(), SwFootnoteFrame::InvalidateNxtFootnoteCnts(), InvaPercentLowers(), IsBefore(), SwTabFrame::IsInHeadline(), SwFlowFrame::IsPrevObjMove(), lcl_ArrangeLowers(), lcl_CalcColValues(), lcl_CalcDownDist(), lcl_CollectCells(), lcl_FindCntDiff(), lcl_FindCorrespondingCellFrame(), lcl_FindFirstInvaContent(), lcl_FindFrame(), lcl_FindFrameInTab(), lcl_FindNextCellFrame(), lcl_FindStartEndCol(), lcl_RefreshLine(), lcl_UpDown(), MakeSelUnions(), SwRootFrame::MakeTableCursors(), MoveLowerFootnotes(), Notify_Background(), NotifyLowerObjs(), PaintSwFrame(), SwSectionFrame::Paste(), SwPageFrame::PrepareRegisterChg(), RefreshExtraData(), SaveContent(), SwRootFrame::SetCurrPage(), SwDoc::SetTabRows(), SwTabFrame::Split(), and ExtraFormatToPositionObjs::~ExtraFormatToPositionObjs().

bool SwLayoutFrame::IsBefore ( const SwLayoutFrame _pCheckRefLayFrame) const

method to check relative position of layout frame to a given layout frame.

refactoring of pseudo-local method <lcl_Apres(..)> in <txtftn.cxx> for #104840#.

Parameters
_aCheckRefLayFrameconstant reference of an instance of class <SwLayoutFrame> which is used as the reference for the relative position check.
Returns
true, if <this> is positioned before the layout frame

OD 08.11.2002 - refactoring of pseudo-local method <lcl_Apres(..)> in <txtftn.cxx> for #104840#.

Parameters
_aCheckRefLayFrameconstant reference of an instance of class <SwLayoutFrame> which is used as the reference for the relative position check.
Returns
true, if <this> is positioned before the layout frame

Definition at line 233 of file findfrm.cxx.

References SwFrame::FindPageFrame(), SwFrame::GetNext(), SwPageFrame::GetPhyPageNum(), SwFrame::GetUpper(), IsAnLower(), and SwFrame::IsRootFrame().

Referenced by SwSectionFrame::CheckClipping(), SwFootnoteBossFrame::CollectFootnotes_(), SwTextFrame::ConnectFootnote(), SwContentFrame::MakeAll(), SwFlowFrame::MoveBwd(), and SwTextFrame::RemoveFootnote().

const SwFrame* SwLayoutFrame::Lower ( ) const
inline

Definition at line 100 of file layfrm.hxx.

Referenced by SwRowFrame::AdjustCells(), AdjustColumns(), SwTextFrame::AdjustFrame(), SwFrame::AdjustNeighbourhood(), SwRootFrame::AllCheckPageDescs(), SwRootFrame::AllInvalidateAutoCompleteWords(), SwRootFrame::AllInvalidateSmartTagsOrSpelling(), SwFootnoteBossFrame::AppendFootnote(), SwRootFrame::AssertFlyPages(), SwTaggedPDFHelper::BeginBlockStructureElements(), SwFEShell::CalcBoundRect(), SwFlyFrame::CalcContentHeight(), SwTabFrame::CalcHeightOfFirstContentLine(), SwViewShell::CalcPagesForPrint(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), SwPagePreviewLayout::CalcPreviewLayoutSizes(), CalcRowRstHeight(), SwDoc::CalculatePagePairsForProspectPrinting(), SwDoc::CalculatePagesForPrinting(), SwFlyFreeFrame::CheckClip(), SwSectionFrame::CheckClipping(), SwFrame::CheckDirChange(), SwRootFrame::CheckFootnotePageDescs(), SwFEShell::CheckHeadline(), SwLayHelper::CheckInsert(), SwLayHelper::CheckInsertPage(), SwVirtFlyDrawObj::CheckMacroHit(), SwDrawView::CheckPossibilities(), CheckSplitCells(), SwRootFrame::CheckViewLayout(), SwDoc::ChgAnchor(), ChgColumns(), SwFEShell::ChgCurPageDesc(), ChgLowersProp(), SwFlyFrame::ChgSize(), ChkChartSel(), SwEndnoter::CollectEndnote(), SwSectionFrame::CollectEndnotes(), SwFootnoteBossFrame::CollectFootnotes(), SwFootnoteBossFrame::CollectFootnotes_(), SwLayoutCache::CompareLayout(), SwDrawContact::ConnectToLayout(), ContainsAny(), ContainsContent(), SwSectionFrame::ContainsFootnoteCont(), SwVirtFlyDrawObj::ContainsSwGrfNode(), SwLooping::Control(), SwPagePreviewLayout::ConvertAbsoluteToRelativePageNum(), SwPagePreviewLayout::ConvertRelativeToAbsolutePageNum(), SwContentFrame::Cut(), Cut(), SwFootnoteFrame::Cut(), SwTabFrame::Cut(), SwSectionFrame::Cut_(), SwFlowFrame::CutTree(), SwRootFrame::DeleteEmptySct_(), SwLayIdle::DoIdleJob(), SwTextFly::DrawFlyRect(), SwTextFly::DrawTextOpaque(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextFrame::FillCursorPos(), FillSelection(), SwRootFrame::FillSelection(), SwTextNode::fillSoftPageBreakList(), FindAnchor(), SwFootnoteBossFrame::FindBodyCont(), SwFootnoteBossFrame::FindFirstFootnote(), SwFEShell::FindFlyFrame(), SwFootnoteContFrame::FindFootNote(), SwFootnoteBossFrame::FindFootnoteCont(), SwSectionFrame::FindLastContent(), SwRowFrame::Format(), SwBodyFrame::Format(), SwCellFrame::Format(), Format(), SwSectionFrame::Format(), SwFlyFrame::Format(), SwLayAction::FormatLayout(), SwObjectFormatter::FormatLayout_(), SwLayAction::FormatLayoutFly(), SwLayAction::FormatLayoutTab(), ExtraFormatToPositionObjs::FormatSectionToPositionObjs(), SwHeadFootFrame::FormatSize(), FormatWidthCols(), SwFlyFrame::FrameSizeChg(), GetAutoSumSel(), SwFEShell::GetBestObject(), SwTabFrame::GetBottomLineSize(), SwFEShell::GetBox(), SwPageFrame::GetContentHeight(), SwFlyFrame::GetContour(), SwCellFrame::GetCursorOfst(), GetCursorOfst(), SwFlyFrame::GetCursorOfst(), SwRootFrame::GetCursorOfst(), SwAccessibleDocument::getExtendedAttributes(), SwTabFrame::GetFirstNonHeadlineRow(), SwTextFrame::GetFootnoteFrameHeight_(), SwFEShell::GetGrfAtPos(), SwDPage::GetGridFrameList(), objectpositioning::SwToContentAnchoredObjectPosition::GetHoriVirtualAnchor(), SwFrameFormat::GetIMapObject(), GetLastLower(), GetMergeSel(), SwFEShell::GetMousePageDesc(), SwFrame::GetNextFootnoteLeaf(), SwFrame::GetNextLeaf(), SwXFlatParagraphIterator::getNextPara(), SwRootFrame::GetNextPrevContentPos(), SwFrame::GetNextSctLeaf(), SwAccessibleFrameBase::GetNodeType(), SwAccessibleNoTextFrame::GetNoTextNode(), SwFEShell::GetObjCntType(), SwFEShell::GetOleRef(), SwRootFrame::GetPageAtPos(), SwRootFrame::GetPageByPageNum(), SwRootFrame::GetPagePos(), SwViewShell::GetPageSize(), SwVirtFlyDrawObj::getPossibleRotationFromFraphicFrame(), SwFrame::GetPrevFootnoteLeaf(), SwFrame::GetPrevLeaf(), SwFrame::GetPrevSctLeaf(), GetTableSel(), SwFootnoteBossFrame::GetVarSpace(), SwSectionFrame::Grow_(), SwFlyFrame::Grow_(), SwFootnoteContFrame::GrowFrame(), GrowFrame(), SwContentFrame::GrowFrame(), SwTabFrame::GrowFrame(), SwTabFramePainter::HandleFrame(), SwAnchoredObject::HasClearedEnvironment(), SwTableLine::hasSoftPageBreak(), SwRootFrame::ImplInvalidateBrowseWidth(), impLocalHitCorrection(), SwSectionFrame::Init(), SwRootFrame::Init(), InnerHeight(), SwFrame::InsertBefore(), SwFrame::InsertBehind(), SwFlyFrame::InsertCnt(), InsertCnt_(), SwEndnoter::InsertEndnotes(), SwFootnoteBossFrame::InsertFootnote(), SwFrame::InsertGroupBefore(), SwLayAction::InternalAction(), SwFlyFrame::Invalidate_(), SwRootFrame::InvalidateAllContent(), SwRootFrame::InvalidateAllObjPos(), SwViewShell::InvalidateLayout(), SwSectionFrame::IsBalancedSection(), SwRootFrame::IsBetweenPages(), SwTextFrameBreak::IsBreakNow(), SwCursorShell::IsCursorReadonly(), SwRootFrame::IsDummyPage(), sw::IsFlyFrameFormatInHeader(), SwRootFrame::IsLeftToRightViewLayout(), SwPageFrame::IsOverHeaderFooterArea(), SwPageFrame::IsRightShadowNeeded(), SwFEShell::IsSelObjProtected(), SwLayAction::IsShortCut(), lcl_AddColumns(), lcl_ArrangeLowers(), lcl_CalcAutoWidth(), lcl_CalcCellFit(), lcl_CalcCellRstHeight(), lcl_CalcContentHeight(), lcl_CalcHeightOfFirstContentLine(), lcl_CalcMinCellHeight(), lcl_CalcMinColDiff(), lcl_CalcMinRowHeight(), lcl_CalcTopAndBottomMargin(), lcl_ColumnRefresh(), lcl_FindAnchorLayPos(), lcl_FindColumns(), lcl_FindCorrespondingCellFrame(), lcl_FindEditInReadonlyFrame(), lcl_FindEndnote(), lcl_FindFrameInTab(), lcl_FindSectionsInRow(), lcl_FindStartEndRow(), lcl_FormatLay(), lcl_GetBottomLineDist(), lcl_GetBottomLineSize(), lcl_GetMaximumLayoutRowSpan(), lcl_GetPrintUIOptions(), lcl_GetTopLineDist(), lcl_GetTopSpace(), lcl_hasTabFrame(), lcl_InnerCalcLayout(), lcl_InvalidateAllLowersPrt(), lcl_InvalidateLowerObjs(), lcl_InvalidatePosOfLowers(), lcl_MoveAllLowerObjs(), lcl_MoveRowContent(), lcl_NextFootnoteBoss(), lcl_PostprocessRowsInCells(), lcl_PreprocessRowsInCells(), lcl_RecalcRow(), lcl_RecalcSplitLine(), lcl_RecalcTable(), lcl_RemoveColumns(), lcl_ShrinkCellsAndAllContent(), lcl_SubtractFlys(), lcl_Undersize(), lcl_UpdateRepeatedHeadlines(), SwContentFrame::MakeAll(), SwSectionFrame::MakeAll(), SwPageFrame::MakeAll(), SwTabFrame::MakeAll(), SwFlyAtContentFrame::MakeAll(), SwFlyFrame::MakeContentPos(), SwFlyFrameFormat::MakeFrames(), SwSectionNode::MakeFramesForAdjacentContentNode(), MakeSelUnions(), SwRootFrame::MakeTableCursors(), SwSectionFrame::MergeNext(), SwCellFrame::Modify(), SwFlyFrame::Modify(), SwFlyLayFrame::Modify(), SwSectionFrame::MoveAllowed(), SwFlowFrame::MoveBwd(), SwLayouter::MoveBwdSuppressed(), SwSectionFrame::MoveContentAndDelete(), SwContentFrame::MoveFootnoteCntFwd(), SwFlowFrame::MoveFwd(), SwFlyDrawContact::MoveObjToVisibleLayer(), SwFlowFrame::MoveSubTree(), SwVirtFlyDrawObj::NbcResize(), SwFootnoteBossFrame::NeighbourhoodAdjustment_(), SwTextFormatter::NewFootnotePortion(), Notify_Background(), SwColumnFrame::PaintBreak(), PaintBreak(), SwPageFrame::PaintBreak(), PaintColLines(), SwPageFrame::PaintDecorators(), SwViewShell::PaintDesktop(), SwColumnFrame::PaintSubsidiaryLines(), SwSectionFrame::PaintSubsidiaryLines(), SwPageFrame::PaintSubsidiaryLines(), PaintSwFrame(), SwFlyFrame::PaintSwFrame(), SwRootFrame::PaintSwFrame(), SwLayAction::PaintWithoutFlys(), SwSectionFrame::Paste(), SwFlowFrame::PasteTree(), SwFrame::PrepareCursor(), SwPageFrame::PrepareFooter(), SwPageFrame::PrepareHeader(), SwFrame::PrepareMake(), SwPageFrame::PreparePage(), SwPageFrame::PrtWithoutHeaderAndFooter(), SwFootnoteBossFrame::RearrangeFootnotes(), RefreshLaySubsidiary(), SwTabFrame::RegistFlys(), RegistFlys(), SwLayAction::RemoveEmptyBrowserPages(), SwTabFrame::RemoveFollowFlowLine(), SwRootFrame::RemoveFootnotes(), SwRootFrame::RemoveSuperfluous(), SwFEShell::RequestObjectResize(), SwNode2LayImpl::RestoreUpperFrames(), SaveContent(), SwPageBreakWin::Select(), SwFEShell::SelectObj(), SwFEShell::SelTableRowCol(), SwPageFrame::SetColMaxFootnoteHeight(), SwRootFrame::SetCurrPage(), SwViewShellImp::SetFirstVisPage(), SwContentFrame::ShouldBwdMoved(), SwTabFrame::ShouldBwdMoved(), SwRowFrame::ShouldRowKeepWithNext(), SwSectionFrame::Shrink_(), SwFlyFrame::Shrink_(), ShrinkFrame(), SwTabFrame::Split(), SwSectionFrame::SplitSect(), sw_getPage(), sw_RemoveFootnotes(), SwEnhancedPDFExportHelper::SwEnhancedPDFExportHelper(), SwInvalidateAll(), SwLayIdle::SwLayIdle(), SwTabFrame::SwTabFrame(), SwTextFrameBreak::SwTextFrameBreak(), SwFlyFrame::UnchainFrames(), SwSectionFrame::UpdateAttr_(), SwFlyFrame::UpdateAttr_(), SwTabFrame::UpdateAttr_(), SwPageFrame::UpdateFootnoteNum(), SwRootFrame::UpdateFootnoteNums(), SwDoc::UpdatePagesForPrintingWithPostItData(), SwNode2LayImpl::UpperFrame(), SwViewShell::VisPortChgd(), SwFEShell::WhichMouseTabCol(), SwContentFrame::WouldFit_(), SwLayoutCache::Write(), SwFrameNotify::~SwFrameNotify(), and SwLayNotify::~SwLayNotify().

SwFrame* SwLayoutFrame::Lower ( )
inline

Definition at line 101 of file layfrm.hxx.

void SwLayoutFrame::MakeAll ( vcl::RenderContext pRenderContext)
overrideprotectedvirtual
bool SwLayoutFrame::MoveLowerFootnotes ( SwContentFrame pStart,
SwFootnoteBossFrame pOldBoss,
SwFootnoteBossFrame pNewBoss,
const bool  bFootnoteNums 
)
void SwLayoutFrame::NotifyLowerObjs ( const bool  _bUnlockPosOfObjs = false)
void SwLayoutFrame::PaintBreak ( ) const
virtual

Reimplemented in SwPageFrame, and SwColumnFrame.

Definition at line 3615 of file paintfrm.cxx.

References SwFrame::GetNext(), SwFrame::IsLayoutFrame(), and Lower().

Referenced by SwPageFrame::PaintBreak().

void SwLayoutFrame::PaintColLines ( const SwRect rRect,
const SwFormatCol rFormatCol,
const SwPageFrame pPage 
) const
void SwLayoutFrame::PaintSubsidiaryLines ( const SwPageFrame pPage,
const SwRect rRect 
) const
virtual
void SwLayoutFrame::PaintSwFrame ( vcl::RenderContext rRenderContext,
SwRect const &  rRect,
SwPrintData const *const  pPrintData = nullptr 
) const
overridevirtual
void SwLayoutFrame::Paste ( SwFrame pParent,
SwFrame pSibling = nullptr 
)
overridevirtual
void SwLayoutFrame::RefreshExtraData ( const SwRect rRect) const
void SwLayoutFrame::RefreshLaySubsidiary ( const SwPageFrame pPage,
const SwRect rRect 
) const
void SwLayoutFrame::SetFrameFormat ( SwFrameFormat pNew)
void SwLayoutFrame::SetVertPosOrientFrameFor ( SwAnchoredObject pObj)
inline

Definition at line 172 of file layfrm.hxx.

SwTwips SwLayoutFrame::ShrinkFrame ( SwTwips  nDist,
bool  bTst = false,
bool  bInfo = false 
)
overrideprotectedvirtual

Implements SwFrame.

Reimplemented in SwRootFrame, SwFootnoteContFrame, SwHeadFootFrame, and SwRowFrame.

Definition at line 2747 of file wsfrm.cxx.

References AdjustGrow, SwFrame::AdjustNeighbourhood(), Body, Cell, Column, ePos, SwFrame::FindFootnoteBossFrame(), SwContentFrame::FindMaster(), SwFrame::FindPageFrame(), SwFrame::FindSctFrame(), SwCellFrame::FindStartEndOfRowSpanCell(), FtnCont, FTNPOS_CHAPTER, SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), GetFormat(), SwFlowFrame::GetFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwCellFrame::GetLayoutRowSpan(), SwFrame::GetNext(), SwFrame::getRootFrame(), SwFrame::GetType(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), GPOS_NONE, GPOS_TILED, GrowAdjust, GrowShrink, SwFrame::HasFixSize(), SwViewShell::Imp(), SwFrame::InvalidateAll_(), SwFrame::InvalidateNextPos(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos(), SwFrame::InvalidatePos_(), SwFrame::InvalidateSize(), InvaPercentLowers(), SwFrame::IsAccessibleFrame(), SwRootFrame::IsAnyShellAccessible(), SwFrame::IsBodyFrame(), SwFrame::IsCellFrame(), SwFrame::IsColBodyFrame(), SwFrame::IsColumnFrame(), SwFrame::IsContentFrame(), SwFlowFrame::IsFollow(), SwFrame::IsFootnoteBossFrame(), SwFrame::IsFootnoteFrame(), SwFrame::IsInSct(), SwFrame::IsNeighbourFrame(), SwFrame::IsPageBodyFrame(), SwFrame::IsRetoucheFrame(), SwFrame::IsTabFrame(), SwFrame::IsVertical(), SwFrame::IsVertLR(), SwViewOption::IsWhitespaceHidden(), Lower(), SwFormat::makeBackgroundBrushItem(), SwViewShellImp::MoveAccessibleFrame(), NotifyLowerObjs(), OnlyAdjust, Page, SwRect::Pos(), PREP_ADJUST_FRM, SwFrame::Prepare(), Root, Row, SwFrame::SetCompletePaint(), SwRectFnSet::SetHeight(), SwFrame::SetRetouche(), SwFrame::Shrink(), and Tab.

Referenced by SwHeadFootFrame::ShrinkFrame(), and SwFootnoteContFrame::ShrinkFrame().

Friends And Related Function Documentation

void RestoreContent ( SwFrame pSav,
SwLayoutFrame pParent,
SwFrame pSibling 
)
friend
SwFrame* SaveContent ( SwLayoutFrame pLay,
SwFrame pStart = nullptr 
)
friend
friend class SwFlowFrame
friend

Definition at line 37 of file layfrm.hxx.

friend class SwFrame
friend

Definition at line 38 of file layfrm.hxx.

Member Data Documentation

SwFrame* SwLayoutFrame::m_pLower
protected
std::vector<SwAnchoredObject*> SwLayoutFrame::m_VertPosOrientFramesFor
protected

Definition at line 53 of file layfrm.hxx.

Referenced by DestroyImpl().


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