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

Unified Diff: fx/layer/ocg.pdf

Issue 1027493002: Add layer/ directory to corpus (Closed) Base URL: https://pdfium.googlesource.com/pdfium_tests@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fx/layer/4_39_expected.pdf.0.png ('k') | fx/layer/ocg_expected.pdf.0.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fx/layer/ocg.pdf
diff --git a/fx/layer/ocg.pdf b/fx/layer/ocg.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..a9f73bce6882174e24ef6216f98297016b2ff15f
--- /dev/null
+++ b/fx/layer/ocg.pdf
@@ -0,0 +1,67 @@
+%PDF-1.6
+
+1 0 obj
+<<
+ /Type /Catalog
+ /Pages 2 0 R
+ /OCProperties <<
+ /OCGs [5 0 R]
+ /D <<
+ /Order [5 0 R]
+ /ON [5 0 R]
+ >>
+ >>
+>>
+endobj
+
+
+2 0 obj
+<<
+ /Type /Pages
+ /Kids [3 0 R]
+ /Count 1
+>>
+endobj
+
+
+3 0 obj
+<<
+ /Type /Page
+ /Parent 2 0 R
+ /MediaBox [0 0 640 480]
+ /Contents null
+ /Annots [4 0 R]
+>>
+endobj
+
+
+4 0 obj
+<<
+ /Subtype /Square
+ /Rect [100 300 200 400]
+ /C [1 0 0]
+ /IC [1 1 0]
+ /T (Foxit)
+ /Contents (This is an Example)
+ /OC 5 0 R
+>>
+endobj
+
+5 0 obj
+<<
+ /Type /OCG
+ /Name (OCG Caption 1)
+>>
+
+
+
+xref
+
+trailer
+<<
+ /Size 0
+ /Root 1 0 R
+>>
+startxref
+0
+%%EOF
« no previous file with comments | « fx/layer/4_39_expected.pdf.0.png ('k') | fx/layer/ocg_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698