OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

Referencing a paragraph style from a table-cell style

  • 1.  Referencing a paragraph style from a table-cell style

    Posted 12-19-2005 18:18
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    office message

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


    Subject: Referencing a paragraph style from a table-cell style


    I am currently implementing support for user-defined table-cell styles, 
    to be used in table templates (see <table:table-template>).
    
    However I can't find a way to define a table-cell style
    (<style:style style:family="table-cell">) 
    which would *reference* an existing paragraph style,
    instead of defining actual paragraph properties in the table-cell style.
    
    Is this possible?
    Can a table-cell style "inherit" from a paragraph style? This seems odd though.
    Should we instead add support for a "style:paragraph-style" attribute?
    
    Hmm, I would also need to reference a frame style to get the borders
    and background from it... This is even less in line with the specification
    for table-cell styles... I guess I'll use a koffice-specific attribute for both,
    for now, given that OOo doesn't store table templates into the document anyway.
    
    -- 
    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]