summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-06-30 18:19:27 +0300
committerMiklos Vajna <vmiklos@collabora.com>2023-07-11 14:02:19 +0200
commitfd64b426bc6175841143714ccc16bad181fd088f (patch)
tree93b1b666d1636c6b85f9412399093b274c5a5b25 /offapi
parent6b0684b2c48bcd8fd6ded3817cbe12aa4e02b4dc (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 'offapi')
-rw-r--r--offapi/com/sun/star/style/NumberingLevel.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/offapi/com/sun/star/style/NumberingLevel.idl b/offapi/com/sun/star/style/NumberingLevel.idl
index dd4959c3de2e..e660e1fa1a65 100644
--- a/offapi/com/sun/star/style/NumberingLevel.idl
+++ b/offapi/com/sun/star/style/NumberingLevel.idl
@@ -98,6 +98,12 @@ published service NumberingLevel
@since LibreOffice 7.2
*/
[optional, property] string ListFormat;
+
+ /** Specifies if this level should use Arabic numbers for all levels
+
+ @since LibreOffice 24.2
+ */
+ [optional, property] boolean IsLegal;
};