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] Commented: (OFFICE-1682) Editor Note: Section17.349 number:denominator-value



    [ http://tools.oasis-open.org/issues/browse/OFFICE-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101#action_13101 ] 

Eike Rathke commented on OFFICE-1682:
-------------------------------------

@Patrick:
> number:min-denominator-digits says: "The number:min-denominator-digits attribute specifies the minimum number of digits to use to display the denominator of a fraction."
> 
> If we mean for that to be a maximum then we had better say that.

I don't know who came up with a minimum and why. What the attribute apparently does is it specifies the maximum number of digits to use, not a minimum. Instead of leading 0 digits as in other number formats if the value is smaller than the number of digits, an amount of white space corresponding to the number of omitted digits should be displayed to the right (not to the left as OOo currently does).

> BTW, we are talking about a style that is applied to a known fraction (so my original question goes away) but that leaves me with why have number:denominator-value?

Btw, note that the "fraction" the style is applied to is just some floating point number at first hand. By applying the data style it is displayed as a fraction. The number:denominator-value specifies a fixed value (not number of digits) that is to be used as the denominator, e.g. if it is 64, the fractional value 0.5 would be displayed as 32/64.

> If we have a fraction, with both numerator and denominator, to which this style is going to be applied, why would we have to guess what denominator is "appropriate" for displaying that number? In the absence of a specified denominator, simply use the one already present.

As said, we do not have "a fraction", we have just a number, a fractional value respectively floating point number.

Does this clarify?


> Editor Note: Section 17.349 number:denominator-value

> -----------------------------------------------------
>
>                 Key: OFFICE-1682
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1682
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>    Affects Versions: ODF 1.2
>            Reporter: Robert Weir 
>            Assignee: Patrick Durusau
>             Fix For: ODF 1.2
>
>
> Transcribed from ODF_Revised_Editorial_Notes_27May2009.odt
> Original author: Patrick Durusau
> Section 17.349 number:denominator-value
> Ed. Note I am not sure how any application could determine the denominator in this situation. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]