OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only
  • 1.  Underline type and style

    Posted 06-05-2005 17:25
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    office message

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


    Subject: Underline type and style


    OOo-1.9.87 saves underlined text this way:
    
        <style:style style:name="T3" style:family="text">
          <style:text-properties style:text-underline-style="solid" style:text-underline-width="auto" style:text-underline-color="font-color" [...]/>
        </style:style>
    
    <text:span text:style-name="T3">underlined</text:span>
    
    style:text-underline-type="single" is missing, so KOffice didn't make the text underlined.
    I added some code to let text-underline-style!="none" imply text-underline-type="single",
    but I think OOo should save text-underline-type explicitely, shouldn't it?
    
    The spec says "Use the style:text-underline-type property to specify whether text is underlined"
    so not setting the property when text is underlined is a bug, I think. Otherwise the spec
    needs to be revised :)
    
    -- 
    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]