blob: 675178c9446b0181c3633a4b5c9bc664bb4c127d [file] [log] [blame]
{{header}}
{{object 1 0}} <<
/Type /Catalog
/Pages 2 0 R
/AcroForm 4 0 R
/OpenAction 40 0 R
>>
endobj
{{object 2 0}} <<
/Type /Pages
/Count 2
/Kids [
32 0 R
34 0 R
]
>>
endobj
% Forms
{{object 4 0}} <<
/XFA 43 0 R
/Fields [
10 0 R
11 0 R
]
>>
endobj
% Fields
{{object 10 0}} <<
/Type /Annot
/Subtype /Widget
/FT /Tx
/T (MyField5)
/V (myfield_5)
/Rect [0 500 600 600]
>>
% Fields
{{object 11 0}} <<
/T (MyField3)
/Parent 4 0 R
/Kids [12 0 R]
/Opt [(a) (b) (c) (d)]
/V [(a) (b) (c)]
>>
endobj
% Fields
{{object 12 0}} <<
/Type /Annot
/Subtype /Widget
/FT /Ch
/Ff 131072
/Parent 11 0 R
/Kids [13 0 R]
>>
endobj
% Fields
{{object 13 0}} <<
/Type /Annot
/Subtype /Widget
/Parent 12 0 R
/Rect [0 400 600 600]
>>
endobj
% Fields
{{object 14 0}} <<
/Type /Annot
/Subtype /Widget
/Parent 12 0 R
/Rect [100 400 500 500]
>>
endobj
% Page number 2.
{{object 32 0}} <<
/Type /Page
/Parent 2 0 R
/MediaBox [0 0 612 792]
/Annots [13 0 R]
>>
endobj
{{object 34 0}} <<
/Type /Page
/Parent 2 0 R
/MediaBox [0 0 612 792]
/Annots [10 0 R]
>>
endobj
% Document JS Action
{{object 40 0}} <<
/Type /Action
/S /JavaScript
/JS 41 0 R
>>
endobj
% JS program to exexute
{{object 41 0}} <<
>>
stream
var f5 = this.getField("MyField5");
var f3 = this.getField("MyField3");
f3.setFocus();
this.__defineGetter__("pageNum",function o(){f5.setFocus(); f3.borderStyle="dashed"; f3.setFocus();});
endstream
endobj
{{object 43 0}} <<
{{streamlen}}
>>
stream
<?xml version="1.0" encoding="UTF-8"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
<config></config>
<template xmlns="http://www.xfa.org/schema/xfa-template/2.8/">
<subform layout="tb" locale="en_US">
<pageSet>
<pageArea id="Page1" name="Page1">
<contentArea h="268.939mm" w="203.2mm" x="6.35mm" y="6.35mm"/>
<medium long="792pt" short="612pt" stock="default"/>
</pageArea>
</pageSet>
<field h="9.0001mm" name="MyField3" w="47.625mm" x="120mm" y="120mm">
<ui>
<choiceList open="onEntry">
<border>
<edge/>
</border>
</choiceList>
</ui>
<items save="1">
<text>apples</text>
<text>bananas</text>
<text>pears</text>
</items>
<value>
<text>apples</text>
</value>
<event activity="preOpen">
<script contentType="application/x-javascript">
var aa = this.pageNum;
</script>
</event>
</field>
</subform>
</template>
</xdp:xdp>
endstream
endobj
{{xref}}
{{trailer}}
{{startxref}}
%%EOF