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

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

Issue 812933004: Add API tests for NamedDestsByName, DestGetPageIndex. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
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
OLDNEW
1 {{header}} 1 {{header}}
2 {{object 1 0}} << 2 {{object 1 0}} <<
3 /Type /Pages 3 /Type /Pages
4 /Count 1 4 /Count 1
5 /Kids [3 0 R] 5 /Kids [3 0 R]
6 >> 6 >>
7 endobj 7 endobj
8 {{object 2 0}} << 8 {{object 2 0}} <<
9 /Type /Catalog 9 /Type /Catalog
10 /Pages 1 0 R 10 /Pages 1 0 R
(...skipping 23 matching lines...) Expand all
34 {{object 10 0}} << 34 {{object 10 0}} <<
35 /Kids [ 35 /Kids [
36 11 0 R 36 11 0 R
37 12 0 R 37 12 0 R
38 ] 38 ]
39 >> 39 >>
40 endobj 40 endobj
41 % Left child for Dests NameTree 41 % Left child for Dests NameTree
42 {{object 11 0}} << 42 {{object 11 0}} <<
43 /Names [ 43 /Names [
44 (First) [0 /XYZ 0 0 1] 44 (First) [1 /XYZ 0 0 1]
45 (Next) <</D [4 /Fit]>> 45 (Next) <</D [4 /Fit]>>
46 ] 46 ]
47 >> 47 >>
48 endobj 48 endobj
49 % Right child for Dests NameTree 49 % Right child for Dests NameTree
50 {{object 12 0}} << 50 {{object 12 0}} <<
51 /Names [ 51 /Names [
52 (WrongKey) <</Fail [10 /FitH]>> 52 (WrongKey) <</Fail [10 /FitH]>>
53 (WrongType) /NameNotAllowedHere 53 (WrongType) /NameNotAllowedHere
54 ] 54 ]
55 >> 55 >>
56 endobj 56 endobj
57 % Old-style top-level Dests dictionary. 57 % Old-style top-level Dests dictionary.
58 {{object 14 0}} << 58 {{object 14 0}} <<
59 /FirstAlternate [10 /XYZ 200 400 800] 59 /FirstAlternate [11 /XYZ 200 400 800]
60 /LastAlternate <</D [14 /XYZ 0 0 -200]>> 60 /LastAlternate <</D [14 /XYZ 0 0 -200]>>
61 >> 61 >>
62 endobj 62 endobj
63 {{xref}} 63 {{xref}}
64 trailer << 64 trailer <<
65 /Size 6 65 /Size 6
66 /Root 2 0 R 66 /Root 2 0 R
67 >> 67 >>
68 {{startxref}} 68 {{startxref}}
69 %%EOF 69 %%EOF
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | testing/resources/named_dests.pdf » ('j') | testing/resources/named_dests.pdf » ('J')

Powered by Google App Engine
This is Rietveld 408576698