(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
Category Appending Option Setting Information
|Common Usage:||Specifies additional option setting information. This element doesn't generate the area tree. These features are not available with AH Formatter V6.3 Lite. [no-LT]|
The src property can optionally specify the external Option Setting File. It's an additional setting to the original settings and effective only in this FO. It becomes base-uri for the relative path. A part of the element which is the same as %axs-settings under the specified file is evaluated.
|Contents:||%axs-settings; is an element which belongs to the name space http://www.antennahouse.com/names/XSL/Settings. The properties in the Option Setting File are included in the name space, however currently only the following elements can be described. The other elements will be disregarded.
<fo:declarations> <axf:formatter-config src="add-settings.xml" xmlns:axs="http://www.antennahouse.com/names/XSL/Settings"> <axs:pdf-settings pdf-version="PDF1.6" tagged-pdf="true"/> </axf:formatter-config> </fo:declarations>In this example, an additional option setting file, add-settings.xml is specified, and then PDF setting is added.
Usually, the additional setting by <axf:formatter-config> never influences the formatting process of the following document. However, when the following settings are done by GUI, the additional settings will be reflected on the default settings, then reflected on the formatting of the following document.
The addition option setting information by <axf:formatter-config> is not reflected in the area tree.
This FO has a declaration section that changes the Formatter configuration when it is rendered to PDF but only for this document. This document will be in PDF 1.7 and tagged even if no configuration file is used. This feature can be used to control the configuration of Formatter from with a stylesheet instead of having to rely on an external tool.
<fo:declarations> <axf:formatter-config xmlns:axs="http://www.antennahouse.com/names/XSL/Settings"> <axs:pdf-settings pdf-version="PDF1.7" tagged-pdf="true"/> </axf:formatter-config></fo:declarations>