axf:field-button-layout
(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 positioning between the caption and icon displayed in the push button field. [no-LT]
Value: | caption | icon | caption-below-icon | caption-above-icon | icon-caption | caption-icon | caption-over-icon |
Initial: | caption |
Applies to: | axf:form-field |
Inherited: | no |
Percentages: | N/A |
Values have the following meanings.
caption | Only a caption is displayed on the button. An icon is not displayed. |
icon | Only an icon is displayed on the button. A caption is not displayed. |
caption-below-icon | A caption is displayed under the icon. |
caption-above-icon | A caption is displayed on top of the icon. |
icon-caption | A caption is displayed on the right side of the icon. |
caption-icon | A caption is displayed on the left side of the icon. |
caption-over-icon | A caption is displayed on the icon in piles. |
XSL-FO sample:
| <fo:root hyphenation-push-character-count="1" hyphenation-remain-character-count="1" font-size="12pt" font-family="Arial" 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"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| <fo:block> | |
| <fo:block> | |
| Text Box | |
| </fo:block> | |
| <fo:block> | |
| ||
| </fo:block> | |
| <fo:block> | |
| Radio Buttons | |
| </fo:block> | |
| <fo:block> | |
| Option 1 | |
| ||
| Option 2 | |
| ||
| </fo:block> | |
| <fo:block> | |
| Checkbox | |
| </fo:block> | |
| ||
| <fo:block> | |
| Dropdown List | |
| </fo:block> | |
| ||
| ||
| option1 | |
| ||
| ||
| option2 | |
| ||
| ||
| option3 | |
| ||
| ||
| <fo:block> | |
| List Box | |
| </fo:block> | |
| ||
| ||
| option1 | |
| ||
| ||
| option2 | |
| ||
| ||
| option3 | |
| ||
| ||
| option4 | |
| ||
| ||
| option5 | |
| ||
| ||
| option6 | |
| ||
| ||
| <fo:block> | |
| Password Box | |
| </fo:block> | |
| ||
| <fo:block> | |
| Text Area | |
| </fo:block> | |
| ||
| <fo:block> | |
| Submit Button | |
| </fo:block> | |
| ||
| </fo:block> | |
| </axf:form> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |