← Prev in month ← Prev in thread
Next in thread → Next in month →

Underline type and style

From
David Faure <>
Date
2005-06-05T17:25:22+00:00
ID
Thread
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, , sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
← Prev in month ← Prev in thread
Next in thread → Next in month →