
doc.transformers.dk_dbb_dtbook2rtf.html Maven / Gradle / Ivy
The newest version!
dk_dbb_dtbook2rtf
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
- Directionality
- Inline language
-
Tables:
- Add support for col and colgroup
- Add support for @align and @valing
- Add support for @colspan and @rowspan
-
Lists:
- Add support for @bullit on list
- Add support for @enum on list
- Fonts, directionality and language
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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy