XSL-FO Extensions in Xml2PDF
XSL-FO is a primary input format for Xml2PDF. Being properly designed it covers most of the publishing workflow requirements.
Yet, there are some special PDF features that are missing in the XSL-FO specification. Altsoft does its best to cover the customers'
needs and provide some extensions to XSL-FO format syntax.
Namespace
All extensions are defined in the namespace "altsoft:". To use any of the Altsoft extensions, add a namespace entry for
http://alt-soft.com/xml2pdf/extensions either to the root element or to any parent element:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:altsoft="http://alt-soft.com/xml2pdf/extensions">
Extensions:
Generating multi-layer PDF documents using XSL-FO z-index attribute.
PDF format allows embedding any files into the PDF file. These files can be opened via Document item ->File Attachments... inside
Adobe Acrobat 6.0+ or Adobe Reader. To embed any file into the generated PDF document produced by Altsoft Xml2PDF, use the
<altsoft:attachment> tag inside the XSL-FO declarations section.
PDF format allows setting properties of the PDF file. They can be opened via File item ->Document Properties... inside Adobe
Acrobat or Adobe Reader. To embed any property into the generated PDF document produced by Altsoft Xml2PDF, use the
<altsoft:document-properties> tag inside the XSL-FO declarations section.
|