forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <>
Subject Re: How do I create Forrest:* styles?
Date Wed, 20 Oct 2004 18:35:43 GMT
On Oct 20, 2004, at 3:21 AM, Ross Gardler wrote:
> Ross Gardler wrote:
>> Clay Leeds wrote:
>>> We already know there appears to be a bug in Writer's 
>>> handling of Styles[1]. But if I knew how the styles in the 
>>> openoffice-writer.sxw file was created, I might be able to 
>>> 'workaround' the situation by re-creating the openoffice-writer.sxw 
>>> file. For one thing, openoffice-writer.sxw does not appear to have 
>>> Headings 3, 4 and 5. As a result, I don't appear to be able to 
>>> include them in my documents.
>>> [1]
>> This XSL I attached to 
>> have some rudimentary handling of Open Office style information. That 
>> will give you a start on working out how styles are stored.
>> If you open up an sxw file (i.e. unzip it) you will see the styles 
>> are stored in a separate file and linked by ID to the relevent 
>> elements in the content.
>> I am sure the website will have much more info on this.
> Sorry, I just realised I misunderstood your question. Nevertheless, 
> looking into how OpenOffice manages its styles may help with the 
> workaraound. I'm afraid I don't know the answer to your real question.
> Ross

Those files will be useful to get around this problem. I think part of 
the problem with Heading levels can be resolved by making the XPath 

I've tried manually editing the style.xml & content.xml files by 
copying a 'good' Heading 1 code segment, and creating Heading 3, 4, 5 
segments to content.xml (and similarly creating the relevant 'styles' 
in style.xml). Unfortunately, when I process run /forrest/ it complains 
that meta.xml does not exist (even though it exists in the directory 
and the resulting file--renamed to 

I'll check the OOo docs to see if I come up with anything.

Web Maestro Clay
Clay Leeds - <>
Webmaster/Developer - Medata, Inc. - <>
PGP Public Key: <>

View raw message