sw/inc/fmtornt.hxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 4595a36b204b2e980f1b55a7f4aaae815d2de413
Author: Miklos Vajna <[email protected]>
AuthorDate: Mon Oct 17 20:00:20 2022 +0200
Commit: Miklos Vajna <[email protected]>
CommitDate: Tue Oct 18 08:16:28 2022 +0200
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 <[email protected]>
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.