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: Re: [office] <number:embedded-text>


Patrick,

I'm not sure if I do understand what the question is. Is it what the 
difference between <number:grouping> and <number:embedded-text> is?

If so: <number:grouping> specifies a text that is used to insert 
grouping characters into a a formatted number. For instance, if you 
specify <number:grouping>,</number:grouping>, and the number that is 
formatted is 1000000, the the result is "1,000,000". Please note that 
the "," character has been inserted two times even though there is only 
a single <number:grouping> element.

In contrast, <number:embedded-text> just specifies a text that is 
inserted a single time into the formatted number. It can be used for 
instance to add an "cm" to a formatted number.

Michael

On 04/14/09 17:46, Patrick Durusau wrote:
> Greetings!
> 
> We say:
> 
>> The |<number:embedded-text>| element specifies text that is displayed 
>> at one specific position within a number.
>>
> My note:
>>
>> Ed. Note: I removed the observation that this element is different 
>> from <number:grouping> on the basis of “so what?” Lots of elements are 
>> different from others, why mention that here? If there is a good 
>> reason, let's say that instead.
>>
> For your reference, note the prior text from draft 6 for this element:
> 
>> The |<number:embedded-text>| element specifies text that is displayed 
>> at one specific position within a number. This element is different 
>> from a grouping separator, which appears several times within a number.
>>
>> This element is contained in the |<number:number>| element. The 
>> |<number:number>| element can contain multiple occurrences of the 
>> |<number:embedded-text>| element to describe text at different 
>> positions in the number.
>>
> Now, I may be wrong but "appears several times within a number" and 
> "describe text at different positions in the number" don't look very 
> different to me.
> 
> Is there something else that is happening that requires both 
> <number:embedded-text> and <number:grouping>? There may be some very 
> compelling difference but I don't think we have said it, yet.
> 
> Hope everyone is having a great day!
> 
> Patrick
> 
> PS: Remember to make real progress we are going to need to discuss these 
> issues via email so I can post a summary of conclusions for approval at 
> our TC meetings each week.
> 


-- 
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500
http://blogs.sun.com/GullFOSS

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
	   D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


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