summaryrefslogtreecommitdiff
path: root/testing/resources/use_outlines.in
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-04 15:09:33 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-04 15:09:33 -0800
commitfad30ca54e059602b5b4b56cb2dcb8be53d703e2 (patch)
tree864db45518ebc399c8f0f26abfbd5de25d58a1a1 /testing/resources/use_outlines.in
parent64f7b672dcc6338e6fb6c150cf28c986eb7e9b12 (diff)
downloadpdfium-fad30ca54e059602b5b4b56cb2dcb8be53d703e2.tar.xz
Merge to XFA: Add FPDFDoc_GetPageMode() embeddertest
Original Review URL: https://codereview.chromium.org/1557173002 . (cherry picked from commit 14fdb1d40741912e430db4318a9033764429659f) TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1556983003 .
Diffstat (limited to 'testing/resources/use_outlines.in')
-rw-r--r--testing/resources/use_outlines.in57
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/resources/use_outlines.in b/testing/resources/use_outlines.in
new file mode 100644
index 0000000000..b344143f64
--- /dev/null
+++ b/testing/resources/use_outlines.in
@@ -0,0 +1,57 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+ /PageMode /UseOutlines
+>>
+{{object 2 0}} <<
+ /Type /Pages
+ /MediaBox [ 0 0 200 200 ]
+ /Count 1
+ /Kids [ 3 0 R ]
+>>
+endobj
+{{object 3 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <<
+ /F1 4 0 R
+ /F2 5 0 R
+ >>
+ >>
+ /Contents 6 0 R
+>>
+endobj
+{{object 4 0}} <<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Times-Roman
+>>
+endobj
+{{object 5 0}} <<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Helvetica
+>>
+endobj
+{{object 6 0}} <<
+>>
+stream
+BT
+20 50 Td
+/F1 12 Tf
+(Hello, world!) Tj
+0 50 Td
+/F2 16 Tf
+(Goodbye, world!) Tj
+ET
+endstream
+endobj
+{{xref}}
+trailer <<
+ /Size 6
+ /Root 1 0 R
+>>
+{{startxref}}
+%%EOF