[bug] Word export of styled row vs. styled text
Mitchell L Model
MLMLists at Comcast.net
Mon Mar 14 09:47:33 PST 2005
In exports to "Word (HTML)" text formatting styles (for instance, I
have one for Code that uses a monospaced font) applied to part of a
row's text are specified using <span class="...">. That's wonderful,
since it preserves the logical connotation of the style, and I can
reformat the style however I want in the HTML by changing its CSS
specification for the style. However, if you apply a style to the
entire text in the first column of a row, either by selecting the
whole row and applying the style, or editing the text in the first
colum, selecting all of the text, and applying the style, what gets
exported is a span that specifies the style details rather than a
class. [This is easily reproduced by first selecting all the text
and exporting, then selecting all but the last character and
exporting, and comparing the results.]
This can't be right. All styled text should be exported with
class-labelled spans. Of course text that is arbitrarily formatted
by specifying bold, or font size, or typeface, etc., would always be
output with a span detailing the formatting, and therefore if one
wants to preserve the style tags (either for their logical
connotation or to change their CSS specification) one should always
apply a style rather than arbitrary formatting.
I am working around this by adding an extra space at the end of the
text and avoiding selecting it when I apply style to the entire text,
but really this is a major gotcha that should be fixed ASAP.
More information about the OmniOutliner-Users
mailing list