OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

Placement of automatic styles definition

  • 1.  Placement of automatic styles definition

    Posted 05-03-2004 19:56
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    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"
    and
    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]