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

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

Issue 837723009: Add tests for GetNamedDests() API. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase, adjust buffer_length type. 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
OLDNEW
(Empty)
1 {{header}}
2 {{object 1 0}} <<
3 /Type /Pages
4 /Count 1
5 /Kids [3 0 R]
6 >>
7 endobj
8 {{object 2 0}} <<
9 /Type /Catalog
10 /Pages 1 0 R
11 /Names <<
12 /Dests 10 0 R
13 >>
14 /Dests 14 0 R
15 >>
16 endobj
17 {{object 3 0}} <<
18 /Type /Page
19 /Parent 1 0 R
20 /Resources <<
21 /ProcSets [/PDF /Text /ImageB /ImageC /ImageI]
22 >>
23 /MediaBox [0 0 612 792]
24 /Contents 5 0 R
25 >>
26 endobj
27 {{object 5 0}} <<
28 /Length 18
29 >> stream
30 1 0 0 -1 29 763 cm
31 endstream
32 endobj
33 % Root of Dests NameTree
34 {{object 10 0}} <<
35 /Kids [
36 11 0 R
37 12 0 R
38 ]
39 >>
40 endobj
41 % Left child for Dests NameTree
42 {{object 11 0}} <<
43 /Names [
44 (First) [0 /XYZ 0 0 1]
45 (Next) <</D [4 /Fit]>>
46 ]
47 >>
48 endobj
49 % Right child for Dests NameTree
50 {{object 12 0}} <<
51 /Names [
52 (WrongKey) <</Fail [10 /FitH]>>
53 (WrongType) /NameNotAllowedHere
54 ]
55 >>
56 endobj
57 % Old-style top-level Dests dictionary.
58 {{object 14 0}} <<
59 /FirstAlternate [10 /XYZ 200 400 800]
60 /LastAlternate <</D [14 /XYZ 0 0 -200]>>
61 >>
62 endobj
63 {{xref}}
64 trailer <<
65 /Size 6
66 /Root 2 0 R
67 >>
68 {{startxref}}
69 %%EOF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698