xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/field.fragment (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{object 1 0}} <<
2  /Type /Catalog
3  /Pages 2 0 R
4  /AcroForm 4 0 R
5  /OpenAction 15 0 R
6>>
7endobj
8{{object 2 0}} <<
9  /Type /Pages
10  /Count 1
11  /Kids [3 0 R]
12>>
13endobj
14% Page number 0.
15{{object 3 0}} <<
16  /Type /Page
17  /Parent 2 0 R
18  /MediaBox [0 0 612 792]
19  /Annots [
20    5 0 R
21    6 0 R
22    7 0 R
23    8 0 R
24    9 0 R
25    10 0 R
26    11 0 R
27  ]
28>>
29endobj
30% Forms
31{{object 4 0}} <<
32  /Fields [5 0 R]
33>>
34endobj
35% Fields
36{{object 5 0}} <<
37  /T (MyField)
38  /Type /Annot
39  /Subtype /Widget
40  /Rect [100 101 400 401]
41  /Kids [
42    6 0 R
43    7 0 R
44    8 0 R
45    9 0 R
46    10 0 R
47    11 0 R
48    12 0 R
49    13 0 R
50  ]
51>>
52endobj
53{{object 6 0}} <<
54  /Type /Annot
55  /Subtype /Widget
56  /FT /Tx
57  /Parent 5 0 R
58  /T (MyText)
59  /Rect [200 201 220 221]
60  /V (bleen)
61  /DV (grue)
62>>
63endobj
64{{object 7 0}} <<
65  /Type /Annot
66  /Subtype /Widget
67  /FT /Btn
68  /Ff 65536
69  /Parent 5 0 R
70  /T (MyPushButton)
71  /Rect [220 221 240 241]
72  /MK <<
73    /TP 4
74  >>
75>>
76endobj
77{{object 8 0}} <<
78  /Type /Annot
79  /Subtype /Widget
80  /FT /Btn
81  /Ff 32768
82  /Parent 5 0 R
83  /T (MyRadio)
84  /Rect [240 241 260 261]
85>>
86endobj
87{{object 9 0}} <<
88  /Type /Annot
89  /Subtype /Widget
90  /FT /Btn
91  /Ff 0
92  /Parent 5 0 R
93  /T (MyCheckBox)
94  /Rect [260 261 280 281]
95>>
96endobj
97{{object 10 0}} <<
98  /Type /Annot
99  /Subtype /Widget
100  /FT /Ch
101  /Ff 2097152
102  /Parent 5 0 R
103  /T (MyMultiSelect)
104  /Rect [280 281 300 301]
105  /Opt [
106    (foo)
107    (bar)
108    [(qux) (Qux)]
109  ]
110  /V (qux)
111>>
112endobj
113{{object 11 0}} <<
114  /Type /Annot
115  /Subtype /Widget
116  /FT /Ch
117  /Ff 0
118  /Parent 5 0 R
119  /T (MySingleSelect)
120  /Rect [300 301 320 321]
121  /Opt [
122    [(foo) (Foo)]
123    [(bar) (Bar)]
124    [(qux) (Qux)]
125  ]
126>>
127endobj
128{{object 12 0}} <<
129  /Type /Annot
130  /Subtype /Widget
131  /FT /Tx
132  /Ff 1048576
133  /Parent 5 0 R
134  /T (MyFile)
135  /Rect [200 201 220 221]
136  /V ("/path/to/file.pdf")
137>>
138endobj
139% Questionable TP value.
140{{object 13 0}} <<
141  /Type /Annot
142  /Subtype /Widget
143  /FT /Btn
144  /Ff 65536
145  /Parent 5 0 R
146  /T (MyBadPushButton)
147  /Rect [400 421 440 441]
148  /MK <<
149    /TP 7
150  >>
151>>
152endobj
153% OpenAction action
154{{object 15 0}} <<
155  /Type /Action
156  /S /JavaScript
157  /JS 16 0 R
158>>
159endobj
160