Transformer documentation: dk_dbb_dtbook2rtf

This transformer is an early release, that has not been thoroughly tested on documents in multiple langauges.

Transformer Purpose

Generates a RTF file from an input DTBook document

Input Requirements

A valid DTBook 2002 or DTBook 2005 series document.

Output

An RTF document.

Configuration/Customization

Parameters (tdf)

xml
Path to input DTBook document.
xslt
Stylesheet to use. Defaults to dtbook_rtf_call.xsl, which in its turn uses dtbook_rtfNoNcc.xsl
inclTOC
Indicates if a TOC should be generated
inclPagenum
Indicates if page numbering should be written to the output
factory
JAXP factory to use to create an XSLT Transformer instance
out
Path to output RTF

Extended configurability

Further development

Fonts, directionality and langauge

Dependencies

Requeres @id on all level headings in order for TOC generation to work.

This can be achieved by running transformer dk_dbb_addIdsToDtbook in a pre-process

Author

Ole Holst Andersen, DBB.

Licensing

LGPL