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: Placement of automatic styles definition

Both document-content (content.xml) and document-styles (styles.xml) can hold automatic styles.
The specification says more particularly, though, that
document-styles contains "[...] automatic styles used in the styles themselves"
document-content contains "automatic styles used in the content".

But is it allowed to define all automatic styles in document-styles (styles.xml)?

For reading a document it doesn't make much difference (one has to start with styles.xml anyway),
and for generating a document it can be much simpler than having to iterate over
the contents twice, once to generate automatic styles and once to write out the contents
(which is the only way, if the automatic styles have to be _before_ the contents in the same XML)

Please let me know if it's OK to define all automatic-styles in styles.xml.

David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

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