[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Minor Draft Change: Usage of Data Styles on Meta Fields
Before I will be on vacation next Friday, I would like to suggest one last minor change to the draft, which seems quite interesting to me. I propose the addition of the "style:data-style-name" attribute to the text:meta-field element, as by this the data formatting styles for Numbers, Currencies, Time, Boolean, etc., which are already part of an Office could be reused by the text:meta-field as well. More details about Data Styles can be found in Chapter 14.7 "Data Styles" in the latest predraft 5. Is there anything else someone need to add to the current draft? @Bruce: Was the prefix/suffix style intended to be added to the ODF 1.2? regards, Svante Bruce D'Arcus wrote: > Svante Schubert wrote: >> Bruce, >> >> you currently asked to add an RDF representation of the >> text:meta-field to be able to describe the prefix and suffix of it's >> content in RDF. >> Are there further properties you have already in mind for the >> text:meta-field? >> >> As Patrick is with you and no one else objected, I believe the SC >> could agree on base functionalities. >> >> Michael suggested that regarding your prefix/suffix request it might >> even be possible to reuse existing ODF functionality (Chapter 14.7 >> "Data Styles" in the predraft 4 latest). >> Instead of reinventing local dependent date / number formatting, we >> could reuse the date formatting provided from the ODF application. > > I'll try to find time to look at this. > >> To archieve this we would have to add the style:data-style-name >> attribute, which is already attached to multiple other fields, to our >> text:meta-field. >> The data style supports prefix and suffix functionality. Even if this >> does not satisfy your scenario, we could at least base our ideas on. > > The prefix and suffix are not really style information; they are user > provided. > > Bruce -- Sun Microsystems GmbH Svante Schubert Nagelsweg 55 Software Engineer 20097 Hamburg StarOffice / OpenOffice.org Development Germany Phone: +49(0)40 236 46 500 http://www.sun.com Svante.Schubert@sun.com Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Haering
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]