Re: [office] style name uniqueness

From
Michael Brauer - Sun Germany - ham02 - Hamburg <>
Date
2006-03-14T09:19:15+00:00
ID
Thread
Re: [office] style name uniqueness
Hi,

Florian Reuter wrote On 03/14/06 10:03,:
> Daniel Carrera schrieb:
> 
>> David Faure wrote:
>>
>>> OK, so the spec is not unclear, but it's still
>>> cumbersome to implement IMHO.
>>
>>
>>
>> Requiring style name uniqueness accross style families might cause 
>> another set of complications.
> 
> 
> Why? We have style:name and style:display-name, so you could easily say
> 
> style:name="ID1" style:display-name="Tips" style:family="paragraph"
> style:name="ID2" style:display-name="Tips" style:family="text"
> style:name="ID3" style:display-name="Notes" style:family="paragraph"
> style:name="ID4" style:display-name="Notes" style:family="text"
> 
> Wouldn't that be sufficient?

For a machine, this may be readable. But if a human wants to create an 
OpenDocument document using for instance an XML editor, then it is probably 
much easier for her or him if they can use the names "Tips" and "Notes" 
directly and don't have to use ids whose names themselves are meaningless.

Michael