OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[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=59913#comment-59913 ] 

Michael Stahl commented on OFFICE-3860:
---------------------------------------

so there are 2 different representations that are basically equivalent:

1. use number:decimal-places to mean the total number of digits and new number:min-decimal-digits to mean that there is an optional suffix *of* that

2. use number:decimal-places to mean the mandatory number of digits and new number:optional-decimal-digits to mean there is an optional suffix *in addition* to that

the only difference to me is that the first appears to have better backward compatibility: if a consumer reads a file with the new attribute and does not understand it, it's probably better if it (wrongly) displays the "full" number of digits, than if it (wrongly) displays the minimum number of digits.

i've added the sentence:

"The value of the number:min-decimal-digits attribute shall not be greater than the value of the number:decimal-places attribute.“


> 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]