xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/xfa_specific/bug_1069789.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{header}}
2{{include ../../xfa_catalog_1_0.fragment}}
3{{include ../../xfa_object_2_0.fragment}}
4{{include ../../xfa_preamble_3_0.fragment}}
5{{include ../../xfa_config_4_0.fragment}}
6{{object 5 0}} <<
7  {{streamlen}}
8>>
9stream
10<template xmlns="http://www.xfa.org/schema/xfa-template/2.6/">
11  <subform name="form1">
12    <pageSet>
13      <pageArea id="Page1" name="Page1">
14        <contentArea h="10.5in" w="8in" x="0.25in" y="0.25in"/>
15        <medium long="11in" short="8.5in" stock="letter"/>
16      </pageArea>
17    </pageSet>
18    <subform h="10.5in" w="8in" name="subform2">
19      <field h="10mm" name="DropDownList1" w="10mm" x="0mm" y="20mm">
20        <ui>
21          <choiceList/>
22        </ui>
23        <items>
24          <text>Single</text>
25        </items>
26      </field>
27      <field h="200mm" name="DropDownList2" w="200mm" x="0mm" y="30mm">
28        <ui>
29          <textEdit/>
30        </ui>
31        <event activity="enter">
32          <script contentType="application/x-javascript">
33            f1 = xfa.resolveNode("xfa.form..DropDownList1");
34            xfa.host.setFocus(f1);
35            xfa.template.remerge();
36            xfa.host.openList(f1);
37          </script>
38        </event>
39      </field>
40    </subform>
41  </subform>
42</template>
43endstream
44endobj
45{{include ../../xfa_locale_6_0.fragment}}
46{{include ../../xfa_postamble_7_0.fragment}}
47{{include ../../xfa_pages_8_0.fragment}}
48{{xref}}
49{{trailer}}
50{{startxref}}
51%%EOF
52