OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-comment message

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


Subject: Could ODF support anonymous styles?


Hi,
we are using xslt to generate odt component files(like content.xml, styles.xml, manifest.xml...) and zip them into *.odt with
ant script.
During the generation, I found it inconvenient to add a style to an element dynamically, based on Open Office Spec of OASIS,
one should first create a named style and then reference it with @text:style-name of an element.
(e.g <text:p text:style-name="indent_paragraph_style"/>), but sometimes styles' content is depended on user's input and it cannot be
created with a name before-hand. So I suggest whether odf standard could support anonymous styles, like css styles in html?

e.g
<text:p text:style="color:red;background-color:white;font-weight:bold;">

</text:p>
means the paragraph's font color is red and bolded, background-color is white?

We are using OASIS Open Office Specification V1.1.

Regards.



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