diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-05-27 13:00:10 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-06-08 14:50:55 +0200 |
commit | 95ebd24a629b4c8cd62cc20c0701683512cc8fa0 (patch) | |
tree | 8bdeab41e8b4d0092f639e62fd3e20ae8243f199 /offapi/com/sun | |
parent | c4f615b359be56e88e4fbf9aaaf30affb29d57e2 (diff) |
editengine-columns: ODF support [API CHANGE]
This uses existing ODF markup, as used by Writer's text frame:
style::columns child element of style:graphic-properties, its
fo:column-count and fo:column-gap attributes. No ODF extension
is required.
Since currently only columns with same width and spacing are
implemented, without additional settings, style:column child
elements are exported, but ignored on import.
This adds new property to css::drawing::TextProperties service:
TextColumns (of type css::text::XTextColumns).
Change-Id: I7e63293e5814b281ceec8a9632e696322d3629e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116035
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'offapi/com/sun')
-rw-r--r-- | offapi/com/sun/star/drawing/TextProperties.idl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/offapi/com/sun/star/drawing/TextProperties.idl b/offapi/com/sun/star/drawing/TextProperties.idl index 4516c9829781..40f8f89acd0a 100644 --- a/offapi/com/sun/star/drawing/TextProperties.idl +++ b/offapi/com/sun/star/drawing/TextProperties.idl @@ -40,6 +40,7 @@ #include <com/sun/star/drawing/TextVerticalAdjust.idl> #include <com/sun/star/drawing/TextHorizontalAdjust.idl> #include <com/sun/star/text/WritingMode.idl> +#include <com/sun/star/text/XTextColumns.idl> module com { module sun { module star { module drawing { @@ -249,6 +250,13 @@ published service TextProperties /** This value selects the writing mode for the text. */ [property] ::com::sun::star::text::WritingMode TextWritingMode; + + + /** Column layout properties for the text. + + @since LibreOffice 7.3 + */ + [optional, property] ::com::sun::star::text::XTextColumns TextColumns; }; |