axf:field-format
(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 Acroform in PDF Output
Specifies the format of the text field. [no-LT]
Value: | auto | [ [<string> | <number>] [<string> | <number> | true | false]* ] |
Initial: | auto |
Applies to: | axf:form-field |
Inherited: | no |
Percentages: | N/A |
The setting of the format will differ depending on the type of formats specified by axf:field-format-category. When auto is specified, the default is adopted to all values. In other cases, values of axf:field-format-category can be specified as follows:
number | Values can be specified with a maximum of 5 as follows:
axf:field-format="2 0 1 '$ ' true" These values have the following meanings in sequence.
| ||||||||||||||||||||||||||||
percentage | Values can be specified with a maximum of 2 as follows:
axf:field-format="2 0" Values have the same meaning as number. | ||||||||||||||||||||||||||||
date | Specifies the format by the numerical value or character strings. One of the following numerical values can be specified. (default: 0)
axf:field-format="2" axf:field-format="'mm/dd/yy'" Although an arbitrary format can be specified in the character string, the operation when specifying the mistaken format will not be guaranteed. Please refer to the specifications of JavaScript, etc. to learn the meaning of the character in the format. | ||||||||||||||||||||||||||||
time | Specifies the format by the numerical value or character strings. One of the following numerical values can be specified. (default: 0)
axf:field-format="0" axf:field-format="'HH:MM'" Although an arbitrary format can be specified in the character string, the operation when specifying the mistaken format will not be guaranteed. Please refer to the specifications of JavaScript, etc. to learn the meaning of the character in the format. |
CAUTION: | The specified format might be invalid depending on the version of Acrobat. |
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |