OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

Re: [office] 5th paragraph, 4.1.3 Common Paragraph Elements Attributes

  • 1.  Re: [office] 5th paragraph, 4.1.3 Common Paragraph Elements Attributes

    Posted 11-18-2004 10:05
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    office message

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


    Subject: Re: [office] 5th paragraph, 4.1.3 Common Paragraph Elements Attributes


    Hi Patrick,
    
    I've found the full 2nd paragraph reagrding conditional styles
    confusing, and therefor rewrote parts of it and merget it with the 5th
    paragraph. It now reads
    
    A text:style-name attribute references a paragraph style, while a
    text:cond-style-name attribute references a conditional-style, that is,
    a style that contains conditions and maps to other styles (see section
    14.1.1). If a conditional style is applied to a paragraph, the
    text:style-name attribute contains the name of the style that was the
    result of the conditional style evaluation, while the conditional style
    name itself is the value of the text:cond-style-name attribute. This XML
    structure simplifies [XSLT] transformations because XSLT only has to
    acknowledge the conditional style if the formatting attributes are
    relevant. The referenced style can be a common style or an automatic style.
    
    Michael
    
    Patrick Durusau wrote:
    > Greetings,
    > 
    > Hate to seem like I am picking on this section but the fifth paragraph 
    > reads:
    > 
    > This XML structure simplifies [XSLT] transformations because XSLT only 
    > has to acknowledge the conditional style if the formatting attributes 
    > are relevant. The referenced style can be a common style or an automatic 
    > style.
    > 
    > Comment: This seems out of place. Was it intended for the conditional 
    > style section?
    > 
    > Ah, perhaps I don't understand the operation of conditional styles. 
    > Reading in paragraph 2 of this section:
    > 
    > "If a conditional style is applied to a paragraph, the text:style-name 
    > attribute contains the name of the style that is applied under that 
    > condition."
    > 
    > So, should that really read:
    > 
    > "f a conditional style is applied to a paragraph, the text:style-name 
    > attribute contains the name of the style that *was* applied under that 
    > condition."
    > 
    > Note emphasis on "was" in the corrected sentence.
    > 
    > In other words, a paragraph may have a text:style-name attribute (with a 
    > value) or it may have text:style-cond-name attribute, but after the 
    > text:style-cond-name attribute has been processed, it then the value of 
    > the text:style-name attribute is the value of the conditional style?
    > 
    > Still does not help me with the first sentence being located here. 
    > Remaining sentence is ok.
    > 
    > Hope everyone is having a great day!
    > 
    > Patrick
    > 
    
    
    -- 
    Michael Brauer                                Phone:  +49 40 23646 500
    Technical Architect Software Engineering      Fax:    +49 40 23646 550
    StarOffice Development
    Sun Microsystems GmbH
    Sachsenfeld 4
    D-20097 Hamburg, Germany                e-mail: michael.brauer@sun.com
    
    


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