diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-30 18:19:27 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-07-11 14:02:19 +0200 |
commit | fd64b426bc6175841143714ccc16bad181fd088f (patch) | |
tree | 93b1b666d1636c6b85f9412399093b274c5a5b25 /include/xmloff | |
parent | 6b0684b2c48bcd8fd6ded3817cbe12aa4e02b4dc (diff) |
tdf#150408: Implement "Legal" numbering (all levels using Arabic numbers)
Enabling this feature on a list level makes all numbered sublevels, that
constitute the number of this level, to use Arabic numerals. This doesn't
change the labels of other levels: e.g., if level 1 uses A,B,C; level 2
uses i,ii,iii; level 3 uses a,b,c, and is "Legal"; and level 4 uses 1,2,3;
then a list may look like
A. Something
A.i. Some subitem
A.ii. Another subitem
1.2.1. This is a "Legal" sub-subitem
A.ii.a.1. And its child
This improves interoperability with Word.
This change introduces document model, ODF and OOXML import and export.
In ODF, a new boolean attribute of 'text:outline-level-style' element,
'loext:is-legal', is introduced; its default value is "false".
Change-Id: I5ae9f970864854c7e84c4b2f7ce46634b3ef104e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154288
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/xmltoken.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index ef3725868aba..1afdf70498a5 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -1123,6 +1123,7 @@ namespace xmloff::token { XML_IS_ACTIVE, XML_IS_DATA_LAYOUT_FIELD, XML_IS_HIDDEN, + XML_IS_LEGAL, XML_IS_SELECTION, XML_ISBN, XML_ITALIC, |