summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-04-03 19:54:09 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-04-04 08:03:24 +0200
commit54ae3b7ed03a513dc218c40196172c950380a450 (patch)
tree0fd09a72668e6cc04a25cec35f6d577ce9ba29f5
parent1b52ec38dd338932255aa94411ad90f83ed02d9e (diff)
sw: document at-char vs as-char layout frames
"bound to a character" is a bit misleading for as-char. Change-Id: I0c322c88f81bf96c7b4818598cfbef4fc7f4baea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149996 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--sw/source/core/inc/flyfrms.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/inc/flyfrms.hxx b/sw/source/core/inc/flyfrms.hxx
index 74b9c44c6c25..fd4fff11b1d5 100644
--- a/sw/source/core/inc/flyfrms.hxx
+++ b/sw/source/core/inc/flyfrms.hxx
@@ -146,7 +146,7 @@ public:
virtual void transform_translate(const Point& rOffset) override;
};
-// Flys that are bound to LayoutFrames and not to Content
+/// Flys that are bound to layout frames (to-frame) and not to/as content
class SwFlyLayFrame final: public SwFlyFreeFrame
{
public:
@@ -158,7 +158,7 @@ public:
virtual void SwClientNotify(const SwModify&, const SfxHint&) override;
};
-// Flys that are bound to Content but not in Content
+/// Flys that are anchored to content (at-para, at-char) but not in content (as-char).
class SW_DLLPUBLIC SwFlyAtContentFrame final: public SwFlyFreeFrame, public SwFlowFrame
{
virtual void MakeAll(vcl::RenderContext* pRenderContext) override;
@@ -205,7 +205,7 @@ public:
void dumpAsXmlAttributes(xmlTextWriterPtr pWriter) const override;
};
-// Flys that are bound to a character in Content
+/// Flys that are anchored as a character in the content.
class SwFlyInContentFrame final: public SwFlyFrame
{
Point m_aRef; // relative to this point AbsPos is being calculated