xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/xfa_specific/bug_1039629.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{header}}
2{{object 1 0}} <<
3  /Type /Catalog
4  /AcroForm 3 0 R
5  /Pages 5 0 R
6  /NeedsRendering true
7>>
8endobj
9{{object 3 0}} <<
10  /XFA [
11    (preamble) 7 0 R
12    (config) 8 0 R
13    (template) 9 0 R
14    (form) 10 0 R
15    (postamble) 11 0 R
16  ]
17>>
18endobj
19{{object 5 0}} <<
20  /Type /Pages
21  /Count 1
22  /Kids [ 12 0 R ]
23>>
24endobj
25{{object 7 0}} <<
26  {{streamlen}}
27>>
28stream
29<?xml version="1.0" encoding="UTF-8"?>
30<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2007-08-07T18:35:24Z" uuid="3b6c6ea3-3edf-40f5-90ff-51ee202e15b4">
31endstream
32endobj
33{{object 8 0}} <<
34  {{streamlen}}
35>>
36stream
37<config xmlns="http://www.xfa.org/schema/xci/2.6/">
38  <agent name="designer">
39    <destination>pdf</destination>
40    <pdf>
41      <!--  [0..n]  -->
42      <fontInfo/>
43    </pdf>
44  </agent>
45  <present>
46    <!--  [0..n]  -->
47    <pdf>
48      <!--  [0..n]  -->
49      <version>1.7</version>
50      <renderPolicy>client</renderPolicy>
51      <creator>Adobe LiveCycle Designer ES 8.1</creator>
52      <producer>Adobe LiveCycle Designer ES 8.1</producer>
53      <scriptModel>XFA</scriptModel>
54      <interactive>1</interactive>
55      <tagged>1</tagged>
56      <fontInfo>
57        <embed>1</embed>
58      </fontInfo>
59      <compression>
60        <level>6</level>
61        <compressLogicalStructure>1</compressLogicalStructure>
62      </compression>
63      <linearized>1</linearized>
64      <viewerPreferences>
65        <addViewerPreferences>0</addViewerPreferences>
66        <duplexOption>simplex</duplexOption>
67        <numberOfCopies>0</numberOfCopies>
68      </viewerPreferences>
69    </pdf>
70    <cache>
71      <macroCache/>
72      <renderCache/>
73    </cache>
74    <incrementalMerge/>
75    <script>
76      <runScripts/>
77      <exclude/>
78      <currentPage/>
79    </script>
80    <copies/>
81    <layout/>
82    <xdp>
83      <packets>*</packets>
84    </xdp>
85    <destination>pdf</destination>
86  </present>
87  <psMap/>
88  <acrobat>
89    <acrobat7>
90      <dynamicRender>required</dynamicRender>
91    </acrobat7>
92  </acrobat>
93</config>
94endstream
95endobj
96{{object 9 0}} <<
97  {{streamlen}}
98>>
99stream
100<template xmlns="http://www.xfa.org/schema/xfa-template/2.6/">
101  <subform name="form1">
102    <pageSet>
103      <pageArea id="Page1" name="Page1">
104        <contentArea h="10.5in" w="8in" x="0.25in" y="0.25in"/>
105        <medium long="11in" short="8.5in" stock="letter"/>
106      </pageArea>
107    </pageSet>
108    <subform h="10.5in" w="8in">
109      <field h="9.0001mm" name="ChoiceList" w="47.625mm" x="6.35mm" y="92.075mm">
110        <ui>
111          <choiceList/>
112        </ui>
113        <items>
114          <text>Foo</text>
115        </items>
116      </field>
117      <field h="100mm" name="ChoiceList1" w="100mm" x="0mm" y="0mm">
118      <ui>
119        <choiceList open="onEntry"/>
120      </ui>
121      <items>
122        <text>1111111111111</text>
123        <text>222222222222222</text>
124      </items>
125      <event activity="change">
126        <script contentType="application/x-javascript">
127        a += 1;
128        if (a == 2) {
129            list1 = xfa.resolveNode("ChoiceList");
130            xfa.host.setFocus(list1);
131            xfa.template.remerge();
132            xfa.host.openList(list1);
133        }
134        </script>
135      </event>
136    </field>
137  </subform>
138    <event activity="docReady">
139      <script contentType="application/x-javascript">
140        a = 0;
141      </script>
142    </event>
143  </subform>
144</template>
145endstream
146endobj
147{{object 10 0}} <<
148  {{streamlen}}
149>>
150stream
151<form xmlns="http://www.xfa.org/schema/xfa-form/2.6/">
152</form>
153endstream
154endobj
155{{object 11 0}} <<
156  {{streamlen}}
157>>
158stream
159</xdp:xdp>
160endstream
161endobj
162{{object 12 0}} <<
163  /Type /Page
164  /Contents 13 0 R
165  /CropBox [ 0.0 0.0 612.0 792.0 ]
166  /MediaBox [ 0.0 0.0 612.0 792.0 ]
167  /Parent 5 0 R
168  /Resources <<
169    /Font <<
170      /T1_0 14 0 R
171    >>
172    /ProcSet [ /PDF /Text ]
173  >>
174  /Rotate 0
175  /StructParents 0
176>>
177endobj
178{{object 14 0}} <<
179  /Type /Font
180  /Subtype /Type1
181  /BaseFont /Helvetica
182  /Encoding /WinAnsiEncoding
183>>
184endobj
185{{xref}}
186{{trailer}}
187{{startxref}}
188%%EOF
189