axf:field-button-face-down

(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 caption displayed in the push button field. [no-LT]

Value:<string>
Initial:empty string
Applies to:axf:form-field
Inherited:no
Percentages:N/A

XSL-FO sample:

<fo:root xml:lang="en" 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">

Antenna House, Inc.

Form field

PDF form field can be created by using axf:form and axf:form-field. Available types of fields are: text, push button, check box, radio button, list box, combo box, etc.

Text field(field-type="text")

The default text entered in the text field can be specified by axf:field-default-text. Whether the text filed is a single line or multiple lines can be specified by axf:field-multiline. The text format, maximum number of characters available can also be specified.

Text Field:

Text Field (field-multiline="true"):

Push buton field(field-type="button")

In the push button field, a caption can be specified by axf:field-button-face and an icon can be specified by axf:field-button-icon and the layout display can be specified by axf:field-button-layout. A caption displayed when pushing a button (down) and during rollover (rollover) can be specified separately. The same is applied to an icon. As an action type when pushing a button, Reset, Submit and URL are available by specifying action-type. Also, this is just a sample, Submit does not work in this sample.

Push Button (URI "http://www.antennahouse.com/"):

Push Button (Submit):

Push Button (Reset):

Checkbox field, radio button field (field-type="checkbox", "radio")

Whether the checkmark is displayed or not by default can be specified by field-checked. The check mark style can be specified by field-checked-style.

Check Box (field-checked-style="checkmark"):

Check Me!

Radio Button (field-checked-style="circle"):

Cat

Dog

Listbox filed, combobox field (field-type="listbox", "combobox")

The content to display can be specified by axf:form-field-option. The content should not be empty. The contents in the list box and combo box will be lined in apperance order as specified by axf:form-field-option.

List Box:

Japan

Korea

China

Thailand

Combo Box:

Japan

Korea

China

Thailand

Download der Beispiele

Output:

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: