Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: testing/resources/bookmarks_circular.in

Issue 1757373002: Fix infinite loop for bookmark search (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/fpdfdoc_embeddertest.cpp ('k') | testing/resources/bookmarks_circular.pdf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {{header}}
2 {{object 1 0}} <<
3 /Type /Catalog
4 /Pages 2 0 R
5 /Outlines 14 0 R
6 >>
7 endobj
8 {{object 2 0}} <<
9 /Type /Pages
10 /Count 2
11 /Kids [
12 3 0 R
13 4 0 R
14 ]
15 >>
16 endobj
17 % Page number 0.
18 {{object 3 0}} <<
19 /Type /Page
20 /Parent 2 0 R
21 /Resources <<
22 /Font <</F1 15 0 R>>
23 >>
24 /Contents [21 0 R]
25 /MediaBox [0 0 612 792]
26 >>
27 endobj
28 % Page number 1.
29 {{object 4 0}} <<
30 /Type /Page
31 /Parent 2 0 R
32 /Resources <<
33 /Font <</F1 15 0 R>>
34 >>
35 /Contents [22 0 R]
36 /MediaBox [0 0 612 792]
37 >>
38 endobj
39 % First bookmark
40 {{object 10 0}} <<
41 /Title (A Good Beginning)
42 /Parent 14 0 R
43 /Next 11 0 R
44 /Dest (foo)
45 >>
46 endobj
47 % Last bookmark
48 {{object 11 0}} <<
49 /Title (A Good Ending)
50 /Parent 14 0 R
51 /Next 10 0 R
52 /Dest (bar)
53 >>
54 endobj
55 % Root bookmark
56 {{object 14 0}} <<
57 /Type /Outlines
58 /First 10 0 R
59 /Last 11 0 R
60 /Count 2
61 >>
62 endobj
63 % Font resource.
64 {{object 15 0}} <<
65 /Type /Font
66 /Subtype /Type1
67 /BaseFont /Arial
68 >>
69 endobj
70 % Content for page 0.
71 {{object 21 0}} <<
72 /Length 0
73 >>
74 stream
75 BT
76 /F1 20 Tf
77 100 600 TD (Page1)Tj
78 ET
79 endstream
80 endobj
81 % Content for page 1.
82 {{object 22 0}} <<
83 /Length 0
84 >>
85 stream
86 BT
87 /F1 20 Tf
88 100 600 TD (Page2)Tj
89 ET
90 endstream
91 endobj
92 {{xref}}
93 trailer <<
94 /Size 6
95 /Root 1 0 R
96 >>
97 {{startxref}}
98 %%EOF
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfdoc_embeddertest.cpp ('k') | testing/resources/bookmarks_circular.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698