From aa55c773ee1f8e756de6959781a293bcfc243952 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 6 Mar 2023 20:03:23 +0100 Subject: 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 --- sw/source/core/inc/frame.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sw/source/core/inc/frame.hxx') 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 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 ); -- cgit