XML-Technologien / XSL-FO / Referenz / Antenna House Formatter XSL Extensions / Properties / field-submit-coordinates
(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 whether to send out the coordinates of the mouse when submitting a form field. [no-LT]
Value: | false | true |
Initial: | false |
Applies to: | |
Inherited: | no |
Percentages: | N/A |
Values have the following meanings.
false | Does not send out the coordinates. |
true | Sends out the coordinates. |
XSL-FO sample:
<fo:root>
<axf:document-info name="author" value="user name"/>
<axf:document-info name="openaction" value="#JavaScript="="var f1 ="="="="="if (event.changeEx ="="="} else if (event.changeEx ="="="} else if (event.changeEx ="="="="/>
<fo:layout-master-set>
<fo:simple-page-master master-name="simpleExample" page-width="210mm" page-height="297mm">
<fo:region-body margin="25mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simpleExample" font-family="Times">
<fo:flow flow-name="xsl-region-body">
<fo:block font-weight="bold" text-align="center" space-after="5mm">
Listbox Test - Dynamically Change Content of Second Listbox
</fo:block>
<fo:block border="solid 1pt red" space-before="5mm">
<axf:form external-destination="http://xwww.antenna.co.jp/form-test.cgi" field-submit-method="post" field-submit-coordinates="true">
<fo:block>
ListBox 1:
<axf:form-field field-type="listbox" field-name="listbox1" field-top-index="1" field-multiple="false" width="10em" height="25mm" background-color="#ff8" border="1pt silver inset">
<axf:form-field-option field-value="M">
MasterCard
</axf:form-field-option>
<axf:form-field-option field-value="V">
Visa
</axf:form-field-option>
<axf:form-field-option field-value="A">
AMEX
</axf:form-field-option>
</axf:form-field>
</fo:block>
</axf:form>
</fo:block>
<fo:block border="solid 1pt red" space-before="5mm">
<axf:form external-destination="http://xwww.antenna.co.jp/form-test.cgi" field-submit-method="post" field-submit-coordinates="true">
<fo:block>
ListBox 2:
<axf:form-field field-type="listbox" field-name="listbox2" field-top-index="1" field-multiple="false" width="10em" height="25mm" background-color="#ff8" border="1pt silver inset">
<axf:form-field-option field-value="M2">
empty1
</axf:form-field-option>
<axf:form-field-option field-value="V2">
empty2
</axf:form-field-option>
<axf:form-field-option field-value="A2">
empty3
</axf:form-field-option>
</axf:form-field>
</fo:block>
</axf:form>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>Output: