Creating a new document

Apache Forrest supports OpenOffice.org 1.1 Writer documents as source documents. Generally every OpenOffice.org Writer document can be used as source file but if you want support for all elements the documentv12.dtd supports you have to use template names which are supported during the transformation process.

If you create a fresh Forrest project (forrest seed) you can find a sample document which uses all possible templates.

Headings

Use the default templates for headings (support for level 1 – 5).

Images

Don't embed images into OpenOffice documents but link to external resources.

Links

All links are transformed to usual Forrest links. Also opening a link in a new browser window is supported. In the link menu you have to use _blank as Frame target.

Support for boxes

Four different types of boxes are supported if you use the appropriate template names:

documentv12	Openoffice Writer template name
source	Forrest: Source
warning	Forrest: Warning
note	Forrest: Note
fixme	Forrest: Fixme

Support for inline elements

Following character templates are supported:

documentv12	Openoffice Writer character template name
strong	Strong emphasis
sup	Forrest: Above
sub	Forrest: Below
code	Forrest: Code

Tables

Simple tables are supported but because of the limitations of documentv12 nested tables won't work. If you need a heading row, activate the repeating rows checkbox in the table properties menu.

Meta information

document title	the value of the title field in the document properties is used
author	not supported yet

OpenOffice Writer documents

2004-01-05T18:06:34