axf:action-type

(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 Bookmark and Link in PDF Output >> Making Link

Specifies the action of external link or form action. In CSS, form actions are invalid.

Value:gotor | launch | uri | reset | submit | auto
Initial:auto
Applies to:fo:basic-link, axf:form-field
Inherited:no
Percentages:N/A

Values have the following meanings.

gotorOpens the link destination by the "GoToR" action as PDF. The URI of the destination is regarded as PDF.
launchOpens the link destination by the "Launch" action as the file.
uriOpens the link destination by the "URI" action as URI (World Wide Web).
reset no-LT Resets a form filed as a form action and can be specified to axf:form-field. It's invalid in CSS.
submit no-LTSubmits a form filed as a form action and can be specified to axf:form-field. It's invalid in CSS.
auto Dependent on the system setting.

When the link destination is not a local file, such as http:, the action type is "URI" at any time. When axf:action-type="auto" specified, the external link specified by the relative address is transformed into either 'Open the file' or 'World Wide Web link' by the use-launch-for-relative-uri property in PDF Output Setting. The external link specified by the absolute address is always transformed into 'World Wide Web link'.

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">

Text Box

Radio Buttons

Option 1

Option 2

Checkbox

Dropdown List

option1

option2

option3

List Box

option1

option2

option3

option4

option5

option6

Password Box

Text Area

Submit Button

Download der Beispiele

Output:

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