diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-03-31 13:59:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-03-31 14:56:49 +0200 |
commit | fac65bb9d831a854298d6cba09ad6159d15b8323 (patch) | |
tree | 1a12ad1710bd28f9c0eac25ed52ef114f5a87d4b /include/xmloff | |
parent | b802ab694a8a7357d4657f3e11b571144fa7c7bf (diff) |
tdf#140343 sw page rtl gutter margin: add ODF import
See <https://issues.oasis-open.org/browse/OFFICE-4105>, the proposal is
to not map this to a new attribute of the <style:page-layout-properties>
XML element, rather only write writing mode on export and infer
RtlGutter from that writing mode in import.
This is similar to how FillBitmapOffsetX and FillBitmapOffsetY are two
UNO properties, but there is a single draw:tile-repeat-offset attribute
for them.
This has the benefit of simpler ODF markup, at the cost of more
complicated xmloff code.
Change-Id: I189a7ec62d4e5624e20252b7259a36133594fe40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113405
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/xmltypes.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xmloff/xmltypes.hxx b/include/xmloff/xmltypes.hxx index 38c4b61a1085..625e3a5b9c68 100644 --- a/include/xmloff/xmltypes.hxx +++ b/include/xmloff/xmltypes.hxx @@ -292,6 +292,7 @@ #define XML_TYPE_TEXT_RUBY_IS_ABOVE (XML_TEXT_TYPES_START + 126) #define XML_TYPE_GRAPHIC (XML_TEXT_TYPES_START + 127) #define XML_SW_TYPE_PRESPAGE_BACKSIZE (XML_TEXT_TYPES_START + 128) +#define XML_SW_TYPE_RTLGUTTER (XML_TEXT_TYPES_START + 129) #endif // INCLUDED_XMLOFF_XMLTYPES_HXX |