summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-10-17 20:00:20 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-10-18 08:16:28 +0200
commit4595a36b204b2e980f1b55a7f4aaae815d2de413 (patch)
tree2402d78e3ded171f3243ea2926c8efdd8c56588f /sw
parentba58fc11723b7c9d370d6407385ea0e8829db099 (diff)
sw: document SwFormatHoriOrient
Unlike in Impress, horizontal position is not just an integer, but it's 3 numbers: 2 for the anchor and the 3rd for the relative position. Change-Id: Ibcfed3dff480934659bffa6471e09dfa992fe2bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141472 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/fmtornt.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/fmtornt.hxx b/sw/inc/fmtornt.hxx
index 504c24e2da28..62cfa84992e3 100644
--- a/sw/inc/fmtornt.hxx
+++ b/sw/inc/fmtornt.hxx
@@ -62,6 +62,10 @@ public:
void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
+/// Defines the horizontal position of a fly frame.
+///
+/// For example: from left (orientation), by 1 cm (relative position), to the entire page
+/// (relation).
class SW_DLLPUBLIC SwFormatHoriOrient final : public SfxPoolItem
{
SwTwips m_nXPos; ///< Contains *always* the current RelPos.