[Libreoffice-commits] core.git: offapi/com
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 28 15:25:26 UTC 2020
offapi/com/sun/star/text/RelOrientation.idl | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 79107d3f8d10aa0f38641775c5eb47dcfd4fd37e
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Apr 28 15:04:19 2020 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Apr 28 17:24:38 2020 +0200
sw from-bottom relative orientation: add UNO API
When it comes to vertical positioning of anchored sw objects, one can
say the position should be "1cm from the top of the page". But measuring
from the bottom of something was not possible.
Add API for this to help working with documents from Word, which
supports the feature.
There is no duplicated C++ enum in sw/ for vertical relative
orientation, so no "doc model" changes are needed for this in sw/.
Change-Id: I3199d3e794bda2f21f92ce3bb7c3c6f04d284db2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93065
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
diff --git a/offapi/com/sun/star/text/RelOrientation.idl b/offapi/com/sun/star/text/RelOrientation.idl
index adfb094fd593..59f39a045740 100644
--- a/offapi/com/sun/star/text/RelOrientation.idl
+++ b/offapi/com/sun/star/text/RelOrientation.idl
@@ -73,6 +73,12 @@ published constants RelOrientation
*/
const short TEXT_LINE = 9;
+ /** Similar to PAGE_PRINT_AREA, but count from bottom, not from top.
+
+ @since LibreOffice 7.0
+ */
+ const short PAGE_PRINT_AREA_BOTTOM = 10;
+
};
More information about the Libreoffice-commits
mailing list