xref: /aosp_15_r20/external/pdfium/testing/resources/annots.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{header}}
2{{object 1 0}} <<
3  /Type /Catalog
4  /Pages 2 0 R
5  /AcroForm <<
6    /Fields [23 0 R]
7    /DR <<
8      /Font <<
9        /F1 7 0 R
10      >>
11    >>
12  >>
13>>
14endobj
15{{object 2 0}} <<
16  /Type /Pages
17  /Count 2
18  /Kids [3 0 R 4 0 R]
19  /MediaBox [0 0 612 792]
20  /CropBox [0 0 612 792]
21  /Resources <<
22    /Font <<
23      /F1 7 0 R
24      /F2 8 0 R
25    >>
26    /ProcSet [/PDF /Text /ImageC]
27    /ExtGState <<
28      /GS0 24 0 R
29    >>
30  >>
31>>
32endobj
33{{object 3 0}} <<
34  /Type /Page
35  /Parent 2 0 R
36  /Contents 5 0 R
37  /Annots [15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R 22 0 R 23 0 R]
38>>
39endobj
40{{object 4 0}} <<
41  /Type /Page
42  /Parent 2 0 R
43  /Contents 6 0 R
44  /Annots [15 0 R 16 0 R 26 0 R]
45>>
46endobj
47{{object 5 0}} <<
48  {{streamlen}}
49>>
50stream
51BT
5270 700 Td
53/F1 18 Tf
54(Link Annotations - Page 1) Tj
550 -65 Td
56/F2 14 Tf
57(1. Link with destination to first page) Tj
5810 -20 Td
59/F2 14 Tf
60(2. Link with destination to second page) Tj
61-12 -84 Td
62/F2 10 Tf
63(PDF Reference, Version 1.7, Section 8.4.5 defines Annotations) Tj
642 -53 Td
65(3.  An example of Highlight with text notes) Tj
660 -18 Td
67(https://pdfium.googlesource.com/pdfium is link in plain text, not link annotation. These are referred to) Tj
680 -17 Td
69(as WebLinks in PDFium.)Tj
70ET
71endstream
72endobj
73{{object 6 0}} <<
74  {{streamlen}}
75>>
76stream
77BT
7870 700 Td
79/F1 18 Tf
80(Link Annotations - Page 2) Tj
810 -65 Td
82/F2 14 Tf
83(1. Link with destination to first page) Tj
8410 -20 Td
85/F2 14 Tf
86(2. Link with destination to second page) Tj
87ET
88endstream
89endobj
90{{object 7 0}} <<
91  /Type /Font
92  /Subtype /Type1
93  /BaseFont /Times-Roman
94>>
95endobj
96{{object 8 0}} <<
97  /Type /Font
98  /Subtype /Type1
99  /BaseFont /Helvetica
100>>
101endobj
102{{object 9 0}} <<
103  /Type /XObject
104  /Subtype /Form
105  /FormType 1
106  {{streamlen}}
107  /BBox [293 530 349 542]
108  /Resources <<
109    /XObject <<
110      /Form0 10 0 R
111    >>
112    /ExtGState <<
113      /GS0 25 0 R
114    >>
115  >>
116>>
117stream
118/GS0 gs
119/Form0 Do
120endstream
121endobj
122{{object 10 0}} <<
123  /Type /XObject
124  /Subtype /Form
125  /FormType 1
126  /Group <<
127    /S /Transparency
128  >>
129  {{streamlen}}
130  /BBox [293 530 349 542]
131>>
132stream
1331.0 1.0 0.0 rg
134293 530 m
135349 530 l
136349 542 l
137293 542 l
138h f
139endstream
140endobj
141{{object 11 0}} <<
142  /Type /XObject
143  /Subtype /Form
144  /FormType 1
145  {{streamlen}}
146  /BBox [83 440 178 453]
147  /Resources <<
148    /XObject <<
149      /Form0 12 0 R
150    >>
151    /ExtGState <<
152      /GS0 25 0 R
153    >>
154  >>
155>>
156stream
157/GS0 gs
158/Form0 Do
159endstream
160endobj
161{{object 12 0}} <<
162  /Type /XObject
163  /Subtype /Form
164  /FormType 1
165  /Group <<
166    /S /Transparency
167  >>
168  {{streamlen}}
169  /BBox [83 440 178 453]
170>>
171stream
1720.0 1.0 1.0 rg
17383 440 m
174178 440 l
175178 453 l
17683 453 l
177h f
178endstream
179endobj
180{{object 13 0}} <<
181  /Type /XObject
182  /Subtype /Form
183  /FormType 1
184  {{streamlen}}
185  /BBox [149 476 191 487]
186  /Resources <<
187    /XObject <<
188      /Form0 14 0 R
189    >>
190    /ExtGState <<
191      /GS0 25 0 R
192    >>
193  >>
194>>
195stream
196/GS0 gs
197/Form0 Do
198endstream
199endobj
200{{object 14 0}} <<
201  /Type /XObject
202  /Subtype /Form
203  /FormType 1
204  /Group <<
205    /S /Transparency
206  >>
207  {{streamlen}}
208  /BBox [149 476 191 487]
209>>
210stream
2110.0 1.0 0.0 rg
212149 476 m
213191 476 l
214191 487 l
215149 487 l
216h f
217endstream
218endobj
219{{object 15 0}} <<
220  /Type /Annot
221  /Subtype /Link
222  /BS <<
223    /W 0
224  >>
225  /Rect [69 633 542 653]
226  /Dest [3 0 R /XYZ 200 725 0]
227  /F 4
228>>
229endobj
230{{object 16 0}} <<
231  /Type /Annot
232  /Subtype /Link
233  /BS <<
234    /W 0
235  >>
236  /Rect [80 613 542 633]
237  /Dest [4 0 R /XYZ 200 725 0]
238  /F 4
239>>
240endobj
241{{object 17 0}} <<
242  /Type /Annot
243  /Subtype /Link
244  /BS <<
245    /W 0
246  >>
247  /Rect [66 529 196 544]
248  /A <<
249    /Type /Action
250    /URI (https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf)
251    /S /URI
252  >>
253  /F 4
254>>
255endobj
256{{object 18 0}} <<
257  /Type /Annot
258  /Subtype /Link
259  /BS <<
260    /W 0
261  >>
262  /Rect [83 440 178 453]
263  /QuadPoints [83 453 178 453 83 440 178 440]
264  /A <<
265    /Type /Action
266    /URI (https://cs.chromium.org/chromium/src/third_party/pdfium/public/fpdf_text.h)
267    /S /URI
268  >>
269  /F 4
270>>
271endobj
272{{object 19 0}} <<
273  /Type /Annot
274  /Subtype /Highlight
275  /AP <<
276    /N 9 0 R
277  >>
278  /NM (Highlight-1)
279  /F 4
280  /QuadPoints [293 542 349 542 293 530 349 530]
281  /P 3 0 R
282  /C [1 0.90196 0]
283  /Rect [293 530 349 542]
284>>
285endobj
286{{object 20 0}} <<
287  /Type /Annot
288  /Subtype /Highlight
289  /AP <<
290    /N 11 0 R
291  >>
292  /NM (Highlight-2)
293  /F 4
294  /QuadPoints [83 453 178 453 83 440 178 440]
295  /P 3 0 R
296  /C [0.26667 0.78431 0.96078]
297  /Rect [83 440 178 453]
298>>
299endobj
300{{object 21 0}} <<
301  /Type /Annot
302  /Subtype /Popup
303  /Parent 22 0 R
304  /Rect [191 377 443 488]
305>>
306endobj
307{{object 22 0}} <<
308  /Type /Annot
309  /Subtype /Highlight
310  /Popup 21 0 R
311  /AP <<
312    /N 13 0 R
313  >>
314  /NM (Highlight-With-Popup-1)
315  /Contents (Text Note)
316  /QuadPoints [149 487 191 487 149 476 191 476]
317  /P 3 0 R
318  /C [0.14902 0.90196 0]
319  /Rect [149 476 191 487]
320  /F 4
321>>
322endobj
323{{object 23 0}} <<
324  /Type /Annot
325  /Subtype /Widget
326  /FT /Ch
327  /Ff 131072
328  /T (Combo1)
329  /DA (0 0 0 rg /F1 12 Tf)
330  /Rect [70 350 170 380]
331  /Opt [(Highlight) (Link) (Popup) (Widget)]
332>>
333endobj
334{{object 24 0}} <<
335  /ca 1
336  /Type /ExtGState
337  /CA 1
338  /BM /Normal
339>>
340endobj
341{{object 25 0}} <<
342  /ca 1
343  /Type /ExtGState
344  /CA 1
345  /AIS false
346  /BM /Multiply
347>>
348endobj
349{{object 26 0}} <<
350  /Type /Annot
351  /Subtype /Square
352  /Border [0 0 2]
353  /C [1 0 0]
354  /F 4
355  /P 3 0 R
356  /Rect [50 100 60 120]
357>>
358endobj
359{{xref}}
360{{trailer}}
361{{startxref}}
362%%EOF
363