summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/frame.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-03-06 20:03:23 +0100
committerMiklos Vajna <vmiklos@collabora.com>2023-03-07 07:12:56 +0000
commitaa55c773ee1f8e756de6959781a293bcfc243952 (patch)
treea267caf23c4561cb8b584b04c7a267ae7fe85167 /sw/source/core/inc/frame.hxx
parent7b99871635cd48c2a8a1d0afbd7afc60a45cc2ff (diff)
sw: document SwFrame::MakePos()
I.e. the simplest SwLayoutFrame::MakeAll() mostly just calls MakePos() and Format(). Change-Id: I13d37c2bddfdd57503c1de974e34acd004e57195 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148360 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/core/inc/frame.hxx')
-rw-r--r--sw/source/core/inc/frame.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index f1433a10f590..ec47266ec468 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -457,6 +457,8 @@ protected:
SwPageFrame *InsertPage( SwPageFrame *pSibling, bool bFootnote );
void PrepareMake(vcl::RenderContext* pRenderContext);
void OptPrepareMake();
+ /// Calculates the frame area position, in case it's invalid. The frame area size and the print
+ /// area is not considered here.
virtual void MakePos();
// Format next frame of table frame to assure keeping attributes.
// In case of nested tables method <SwFrame::MakeAll()> is called to
@@ -658,7 +660,7 @@ public:
bool IsFootnoteAllowed() const;
/// Calculates the frame area size and the print area, in case they are invalid.
- /// The frame are position is not considered here.
+ /// The frame area position is not considered here.
virtual void Format( vcl::RenderContext* pRenderContext, const SwBorderAttrs *pAttrs = nullptr );
virtual void CheckDirection( bool bVert );