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

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

Issue 849693007: Merge to XFA: Add embeddertests. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 11 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 | « pdfium.gyp ('k') | testing/resources/named_dests.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 /Names <<
6 /Dests 10 0 R
7 >>
8 /Dests 14 0 R
9 >>
10 endobj
11 {{object 2 0}} <<
12 /Type /Pages
13 /Count 2
14 /Kids [
15 3 0 R
16 4 0 R
17 ]
18 >>
19 endobj
20 % Page number 0.
21 {{object 3 0}} <<
22 /Type /Page
23 /Parent 2 0 R
24 /Resources <<
25 /Font <</F1 15 0 R>>
26 >>
27 /Contents [21 0 R]
28 /MediaBox [0 0 612 792]
29 >>
30 endobj
31 % Page number 1.
32 {{object 4 0}} <<
33 /Type /Page
34 /Parent 2 0 R
35 /Resources <<
36 /Font <</F1 15 0 R>>
37 >>
38 /Contents [22 0 R]
39 /MediaBox [0 0 612 792]
40 >>
41 endobj
42 % Root of Dests NameTree
43 {{object 10 0}} <<
44 /Kids [
45 11 0 R
46 12 0 R
47 ]
48 >>
49 endobj
50 % Left child for Dests NameTree
51 {{object 11 0}} <<
52 /Names [
53 (First) [1 /XYZ 0 0 1]
54 (Next) <</D [4 0 R /Fit]>>
55 ]
56 >>
57 endobj
58 % Right child for Dests NameTree
59 {{object 12 0}} <<
60 /Names [
61 (WrongKey) <</Fail [10 /FitH]>>
62 (WrongType) /NameNotAllowedHere
63 ]
64 >>
65 endobj
66 % Old-style top-level Dests dictionary. Note that FirstAlternate
67 % intentionally references non-exisstant page 11 and LastAlternate
68 % intentionally references non-existant object 999.
69 {{object 14 0}} <<
70 /FirstAlternate [11 /XYZ 200 400 800]
71 /LastAlternate <</D [999 0 R /XYZ 0 0 -200]>>
72 >>
73 endobj
74 % Font resource.
75 {{object 15 0}} <<
76 /Type /Font
77 /Subtype /Type1
78 /BaseFont /Arial
79 >>
80 endobj
81 % Content for page 0.
82 {{object 21 0}} <<
83 /Length 0
84 >>
85 stream
86 BT
87 /F1 20 Tf
88 100 600 TD (Page1)Tj
89 ET
90 endstream
91 endobj
92 % Content for page 1.
93 {{object 22 0}} <<
94 /Length 0
95 >>
96 stream
97 BT
98 /F1 20 Tf
99 100 600 TD (Page2)Tj
100 ET
101 endstream
102 endobj
103 {{xref}}
104 trailer <<
105 /Size 6
106 /Root 1 0 R
107 >>
108 {{startxref}}
109 %%EOF
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | testing/resources/named_dests.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698