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

Unified Diff: testing/resources/viewer_ref.pdf

Issue 2475923003: Implement FPDF_VIEWERREF_GetName() API. (Closed)
Patch Set: Comment Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/resources/viewer_ref.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/viewer_ref.pdf
diff --git a/testing/resources/bookmarks_circular.pdf b/testing/resources/viewer_ref.pdf
similarity index 50%
copy from testing/resources/bookmarks_circular.pdf
copy to testing/resources/viewer_ref.pdf
index e7eb624781081082d4437ee37f4d1f4aca71b1a4..fb72107b5bf3ee50ec8ffe76a83a43ac1f007785 100644
--- a/testing/resources/bookmarks_circular.pdf
+++ b/testing/resources/viewer_ref.pdf
@@ -3,15 +3,20 @@
1 0 obj <<
/Type /Catalog
/Pages 2 0 R
- /Outlines 14 0 R
+ /ViewerPreferences <<
+ /Foo /foo
+ /HideToolbar true
+ /Direction /R2L
+ /ViewArea /CropBox
+ /NumCopies 5
+ >>
>>
endobj
2 0 obj <<
/Type /Pages
- /Count 2
+ /Count 1
/Kids [
3 0 R
- 4 0 R
]
>>
endobj
@@ -26,41 +31,6 @@ endobj
/MediaBox [0 0 612 792]
>>
endobj
-% Page number 1.
-4 0 obj <<
- /Type /Page
- /Parent 2 0 R
- /Resources <<
- /Font <</F1 15 0 R>>
- >>
- /Contents [22 0 R]
- /MediaBox [0 0 612 792]
->>
-endobj
-% First bookmark
-10 0 obj <<
- /Title (A Good Beginning)
- /Parent 14 0 R
- /Next 11 0 R
- /Dest (foo)
->>
-endobj
-% Last bookmark
-11 0 obj <<
- /Title (A Good Ending)
- /Parent 14 0 R
- /Next 10 0 R
- /Dest (bar)
->>
-endobj
-% Root bookmark
-14 0 obj <<
- /Type /Outlines
- /First 10 0 R
- /Last 11 0 R
- /Count 2
->>
-endobj
% Font resource.
15 0 obj <<
/Type /Font
@@ -79,46 +49,34 @@ BT
ET
endstream
endobj
-% Content for page 1.
-22 0 obj <<
- /Length 0
->>
-stream
-BT
-/F1 20 Tf
-100 600 TD (Page2)Tj
-ET
-endstream
-endobj
xref
-0 23
+0 22
0000000000 65535 f
0000000015 00000 n
-0000000087 00000 n
-0000000185 00000 n
-0000000346 00000 n
+0000000193 00000 n
+0000000281 00000 n
+0000000000 65535 f
+0000000000 65535 f
+0000000000 65535 f
+0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
-0000000508 00000 n
-0000000620 00000 n
0000000000 65535 f
0000000000 65535 f
-0000000729 00000 n
-0000000829 00000 n
+0000000442 00000 n
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
-0000000924 00000 n
-0000001034 00000 n
+0000000537 00000 n
trailer <<
/Size 6
/Root 1 0 R
>>
startxref
-1122
+625
%%EOF
« no previous file with comments | « testing/resources/viewer_ref.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698