axf:name
(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Category Document Information for PDF Output
Document information such as an author and title can be embedded in the PDF. AH Formatter V6.3 generates document information automatically by adding the following extended elements. The information that was embedded into PDF can be seen by Adobe Acrobat or Reader.
In HTML, the setting equivalent to axf:document-info can be specified with the <meta> tag. The setting of <meta name="document-title"> will take precedence over the setting of <title>.
Common Usage: | Specifies the document information. The information is not included in the generated areas. For example, this information is embedded into PDF. |
Areas: | None. |
Constraints: | <!ELEMENT axf:document-info EMPTY> <!ATTLIST axf:document-info name CDATA #REQUIRED> <!ATTLIST axf:document-info value CDATA #REQUIRED> The axf:document-info extension property can be placed in any position right under the fo:root and before fo:page-sequence. Its properties are "name" and "value", which are required. The value of 'name' must be one of the followings: The information with * will be outputted either to the first document or all documents generated by multi-volume output by specifying the axf:document-info-include property. Other information will be always outputted to all documents generated by multi-volume output.
|
Contents: | EMPTY |
Examples: | <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"> <axf:document-info name="document-title" value="The document title"/> <axf:document-info name="subject" value="The document subject"/> <axf:document-info name="author" value="The author"/> <axf:document-info name="keywords" value="Comma separated keywords list"/> ... |
axf:document-info as a child of fo:page-sequence is effective only for PDF output in multi separate volume. axf:document-info as a child of fo:page-sequence overwrites axf:document-info as a child of fo:root and is utilized for an information of the document when outputting in separate volume. Therefore the same document information is embedded in all the separate volumes unless axf:document-info is specified to fo:page-sequence.
"openaction" and "pagemode" cannot be specified for the multi separate volume. Only the specification of the right under of fo:root is effective. When the separate volume is outputted, it is specified for the first separate volume.
With AH Formatter V6.3 Lite, axf:document-info specified to fo:page-sequence is ignored.
axf:pdftag / CSS -ah-pdftag
Specifies the tag name of Tagged PDF. [no-LT]
Value: | <string> |
Initial: | empty string |
Applies to: | all formatting objects |
Inherited: | no |
Percentages: | N/A |
Customizes the tag name when outputting Tagged PDF. When you want to make the tag name of the relevant element "paragraph", e.g., specify as follows:
XSL-FO sample:
| <fo:root hyphenation-push-character-count="1" hyphenation-remain-character-count="1" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| This document will zoom in to 200% when it is opened | |
| ||
| <axf:document-info name="openaction" value="#zoom=200"/> | |
| <fo:block/> | |
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |