Styles and Export to Word OO3 beta

Elliott Roper elliott at yrl.co.uk
Mon Dec 13 17:12:34 PST 2004


On 14- Dec-2004, at 00:18, James Moore wrote:

> Currently the Word HTML export creates Word styles that should be the 
> same as the named styles in the Outliner file and assigns the proper 
> style attributes to the text. Sadly because of a limitation of Word's 
> HTML parsing if a particular block has multiple classes assigned to it 
> only the first gets used. I don't know if this is fixed in Word 2004.
>
Excellent. That should be easy to check. I should have thought to look 
at the HTML.
hmmm...
If I change a level 2 entry to a user defined style named "Body", it is 
still enclosed in <h2>... </h2>
like this:-
<h2>
<span style="font-family: Optima, sans-serif;  "><span class="Body">I 
want this to be body style dammit</span> </span>
</h2>

Which Word v.X treats as a "character" style rather than a "paragraph" 
style. The latter is what is required in practice.

I guess that is what you are saying. I shall have to work harder to 
trick it. I could arrange my outline so all the body material sits at 
level 4 in OO and do a global replace in Word, but that is seriously 
inelegant. Pity, Word's outlining is so ......

> On Dec 12, 2004, at 7:39 AM, Elliott Roper wrote:
<Snip>
>> I wonder if it would be possible to make an option to export styles 
>> by name if not properties?
>> Once in Word it would be excellent if an OmniOutliner row in a style 
>> called body were still called body on arrival. Simply applying one's 
>> standard Word templates to the result would result in almost finished 
>> work.




More information about the OmniOutliner-Users mailing list