summaryrefslogtreecommitdiff
path: root/testing/resources/uri_action.in
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-10 22:41:42 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-10 22:41:42 +0000
commitfc41e77c97173592ea2abb88c3f6f4dc7c43349d (patch)
tree0e7d29cc289de4738567edb52c7d1c8e809d5a6f /testing/resources/uri_action.in
parent7db136abc305630fb9ba9754a2c371c0e7ae8237 (diff)
downloadpdfium-fc41e77c97173592ea2abb88c3f6f4dc7c43349d.tar.xz
Create embeddertests for other kinds of actions.
Change-Id: Ia4619be65e2ab8ee4bf19ba9608c1cc94594ba89 Reviewed-on: https://pdfium-review.googlesource.com/c/43812 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/resources/uri_action.in')
-rw-r--r--testing/resources/uri_action.in46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/resources/uri_action.in b/testing/resources/uri_action.in
new file mode 100644
index 0000000000..3ec7ef3757
--- /dev/null
+++ b/testing/resources/uri_action.in
@@ -0,0 +1,46 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+{{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
+ /Annots [4 0 R]
+>>
+endobj
+{{object 4 0}} <<
+ /A 5 0 R
+ /FT /Tx
+ /Ff 29360128
+ /T (txtName)
+ /Type /Annot
+ /Subtype /Link
+ /F 4
+ /M (D:20150514070426+05'30')
+ /Rect [1 1 199 199]
+ /BS <<
+ /W 1
+ /S /S
+ >>
+ /DA (/Helv 0 Tf 0 0 0 rg)
+ /V ()
+>>
+endobj
+{{object 5 0}} <<
+ /S /URI
+ /URI (https://example.com/page.html)
+>>
+endobj
+{{xref}}
+{{trailer}}
+{{startxref}}
+%%EOF