summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-03-02 17:17:56 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-05-14 10:52:17 +0200
commit2cdf69ea6412e20860d70d1ee7f0d5acb73a97e4 (patch)
tree3fdd846db36afba5c621a562065f140e4fedd545 /offapi
parent074f30cfd1c8c755dcbf68f3843406c8af173d32 (diff)
sw padded numbering: add doc model and UNO API
The idea is to behave similar to Arabic numbering, but pad the result on the left up to 2 characters. Word has this feature, so far Writer falled back to plain Arabic numbering. This is just the document model, not layout yet. (cherry picked from commit 6b80bd446de4bf19df3a9b124881e1fe12402ca8) Change-Id: I8ac90536848d00b8678129184db0849130724dee
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/style/NumberingType.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/offapi/com/sun/star/style/NumberingType.idl b/offapi/com/sun/star/style/NumberingType.idl
index 183d719c89a2..66159a818e66 100644
--- a/offapi/com/sun/star/style/NumberingType.idl
+++ b/offapi/com/sun/star/style/NumberingType.idl
@@ -492,6 +492,13 @@ published constants NumberingType
ASTERISK ASTERISK, DAGGER DAGGER, etc.
*/
const short SYMBOL_CHICAGO = 63;
+
+ /** Numbering is in Arabic numbers, padded with zero to have a length of at least two, as "01,
+ 02, ..., 10, 11, ...".
+
+ @since LibreOffice 7.0
+ */
+ const short ARABIC_ZERO = 64;
};