|
|
DocBook Filters - Read and write docbook xml using OpenOffice.orgThe project goal is to explore the possibility of using OpenOffice.org as a WYSIWYG editor of XML content. The principle is to edit structured documents using styles. These styles are then transformed to XML tags on export. Anyone from community is welcome to join the project. The current issues and enhancements filed for DocBook are these. This page shows how to enable and use the DocBook filters. It also shows the location of the stylesheets so that users can download and use the latest transformations. The filter provided on this page is based on earlier releases of the DocBook filter. New features include:
Enabling the DocBook XSLT's in OpenOffice.orgFor these releases there are three different ways of enabling the DocBook filters. 1. Download the DocBook XSLT Stylesheets and OpenOffice.org Style TemplateThis method ensures that the most recent stylesheets and OpenOffice.org style template are used for import and export. To import, export and modify DocBook documents in OpenOffice.org, it is necessary to download the following:
OpenOffice.org Template required for Article and Chapter documents: Creating a new DocBook filter
To create a DocBook Article filter, the above steps can be repeated with article replacing chapter 2. Download the DocBook XSLT Jar Packages for Article or ChapterThis method of enabling the DocBook filters is more convenient, but it does not guarantee that the most recent stylesheets and OpenOffice.org template are used. TBD 3. Download the DocBook UNO component for Article onlyThe DocBook UNO component adds filter support for the retention of unresolved XML entities.
How to Import a DocBook documentA DocBook article or chapter document can now be opened using the File -> Open dialog.
Alternatively, it is possible to browse manually to the desired DocBook filter in the File Type combo-box in the File -> Open dialog. How to Export a DocBook documentThe DocBook document can also be exported using the File -> Save As dialog.
Alternatively, it is possible to browse manually to the desired DocBook filter in the File Type combo-box in the File -> Save As dialog. Using OpenOffice.org Headings and Styles for different DocBook tagsUsing OpenOffice.org styles to represent DocBook tagsThe style template supplies all of the custom styles that are currently supported. Once a DocBook document has been imported to OpenOffice.org, the available DocBook specific styles can be viewed using the Stylist.
On import, each of the supported DocBook tags will be mapped to formatted OpenOffice.org content. Similarly, to modify the imported DocBook document, OpenOffice.org text styles can be used to represent the DocBook tags marking-up the text.
How to create DocBook sections:
For further information on supported DocBook tags see: Supported Tags |

Navigating through the document:
