diff options
author | Laurent Balland <laurent.balland@mailo.fr> | 2023-07-01 10:43:39 +0200 |
---|---|---|
committer | Laurent Balland <laurent.balland@mailo.fr> | 2023-11-01 09:10:19 +0100 |
commit | cc721291cc4a53503398b82dd86baa521b2b13cc (patch) | |
tree | ab0e2bc3e9cd0d27adf98154e226270c56c18991 /schema | |
parent | e8228e0994610fed8af090ff30ffc08bfecb7261 (diff) |
tdf#153993 Extend ODF: lowercase for exponent char
In scientific format, user may want to have clearer format such as:
0.000" "000" "e+" "0
This change
- adds "exponent-lowercase" boolean attribute to scientific-number format to preserve "e" or "E" char
- includes all positions up to exponent for embedded text of scientific number
Add QA test
Change-Id: Ie263f4ecf30a1a8dcd8046e1e048767020e54dc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153824
Tested-by: Jenkins
Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng index b9fbcfc7ce4b..c9993768aa40 100644 --- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng +++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng @@ -2845,6 +2845,15 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:interleave> </rng:define> + <!-- TODO no proposal, --> + <rng:define name="number-scientific-number-attlist" combine="interleave"> + <rng:optional> + <rng:attribute name="loext:exponent-lowercase"> + <rng:ref name="boolean"/> + </rng:attribute> + </rng:optional> + </rng:define> + <!-- TODO no proposal --> <rng:define name="table-data-pilot-level-attlist" combine="interleave"> <rng:optional> |