[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (OFFICE-3860) Extend specification of number of decimal digits in number formatting
[ https://issues.oasis-open.org/browse/OFFICE-3860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60230#comment-60230 ]
Regina Henschel commented on OFFICE-3860:
-----------------------------------------
I think, that the schema can be more simple. (1) common-decimal-places-attlist is only used in number-number and number-scientific-number. That is the same for the proposed common-min-decimal-places-attlist. Therefore this proposed part is not necessary, but its content can be merged into the common-decimal-places-attlist. (2) Attributes are always unordered in XML, therefore an "interleave" on attributes is superfluous. http://www.w3.org/TR/REC-xml/#sec-starttags
Proposal:
--- OpenDocument-v1.2-os-schema.rng 2011-09-29 01:00:00.000000000 +0200
+++ 3860v2-schema.rng 2015-07-05 19:49:55.047802100 +0200
@@ -12681,6 +12681,11 @@
<ref name="integer"/>
</attribute>
</optional>
+ <optional>
+ <attribute name="number:forced-exponent-sign">
+ <ref name="boolean"/>
+ </attribute>
+ </optional>
</define>
<define name="number-fraction">
<element name="number:fraction">
@@ -13194,6 +13199,11 @@
<ref name="integer"/>
</attribute>
</optional>
+ <optional>
+ <attribute name="number:min-decimal-places">
+ <ref name="integer"/>
+ </attribute>
+ </optional>
</define>
<define name="common-number-attlist">
<interleave>
> Extend specification of number of decimal digits in number formatting
> ---------------------------------------------------------------------
>
> Key: OFFICE-3860
> URL: https://issues.oasis-open.org/browse/OFFICE-3860
> Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
> Issue Type: New Feature
> Components: Formatting Properties
> Affects Versions: ODF 1.2
> Reporter: Andreas Guelzow
> Assignee: Andreas Guelzow
> Priority: Minor
> Fix For: ODF 1.3
>
>
> This relates to the comment received in https://lists.oasis-open.org/archives/office-comment/201407/msg00008.html
> Currently the number:number element use a single attribute number:decimal-places to specify the number of decimal digits to be used. This means that formats such as "0.00#" (specified here using the Excel number format syntax) cannot be translated into ODF without the use of conditional formatting.
> I would propose to add an attribute to allow for formats of this type.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]