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] Updated: (OFFICE-1451) Public Comment:<number:embedded-text> (ODF all versions)

     [ http://tools.oasis-open.org/issues/browse/OFFICE-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eike Rathke updated OFFICE-1451:

Change 18.357 number:position from
"The position is counted by digits from right to left, from before the decimal point if one exists, or else from the end of the number."

"The position is counted one-based by digits from right to left in the integer part of a number, starting left from the decimal separator if one exists, or else from the last digit of the number. Text is inserted before the digit at the position. If the value of number:position is greater than the value of number:min-integer-digits and greater than the number of integer digits in the number, text is prepended to the number."

Alex's comments about lexical forms and characters like 'E' and '+' are moot as the <number:embedded-text> element and its number:position attribute are usable only with the <number:number> element, not <number:scientific-number> or others.
In a right-to-left environment BiDi rules are to be applied to the resulting string, this is nothing specific to embedded text.
Use of the feature is to display numbers with embedded text, for example to display the number 1234567890 as telephone number (123) 456-7890 the style would be

      <number:number number:min-integer-digits='10' number:decimal-places='0'>
        <number:embedded-text number:position='7'>) </number:embedded-text>
        <number:embedded-text number:position='4'>-</number:embedded-text>

> Public Comment: <number:embedded-text> (ODF all versions)
> ---------------------------------------------------------
>                 Key: OFFICE-1451
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1451
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Locale, Styles
>    Affects Versions: ODF 1.0, ODF 1.0 (second edition), ODF 1.1, ODF 1.2
>            Reporter: Robert Weir 
>            Assignee: Eike Rathke
>             Fix For: ODF 1.2
> Copied from office-comment list
> Original author: "Alex Brown" <alexb@griffinbrown.co.uk> 
> Original date: 5 Apr 2009 09:00:00 -0000
> Original URL: http://lists.oasis-open.org/archives/office-comment/200904/msg00005.html
> Clarify position of text in
> 18.357 number:position
> of
> <number:embedded-text>

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]