diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-06-01 20:13:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-06-02 08:17:28 +0200 |
commit | 147da063241fce62f623bba61feead879be87beb (patch) | |
tree | c757a8d906a334a4d1e9951b223c3e69b35cdfd9 /sw | |
parent | c387bc7dd1762f807128ecdbf79ec63884aa33b6 (diff) |
sw: document SwContentFrame
I.e. the layout side of images is not a fly frame, but a no-text frame,
with a fly frame parent.
Change-Id: If76029d02ea2cd583effb31230f5e2d9edc9f237
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135275
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/cntfrm.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/inc/cntfrm.hxx b/sw/source/core/inc/cntfrm.hxx index 9cb57a9e1b39..cf47396eb4d9 100644 --- a/sw/source/core/inc/cntfrm.hxx +++ b/sw/source/core/inc/cntfrm.hxx @@ -50,6 +50,10 @@ namespace o3tl { template<> struct typed_flags<SwContentFrameInvFlags> : is_typed_flags<SwContentFrameInvFlags, 0xff> {}; } +/** + * SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and + * non-text (e.g. graphic) frames. + */ class SAL_DLLPUBLIC_RTTI SwContentFrame: public SwFrame, public SwFlowFrame { friend void MakeNxt( SwFrame *pFrame, SwFrame *pNxt ); // calls MakePrtArea |