summaryrefslogtreecommitdiff
path: root/testing/resources/annotiter.in
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-29 16:26:27 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-29 16:26:27 -0800
commitfe351dbc18e419b0ed9fbe34f2d1fb155b4f7bf1 (patch)
treeac7136643eb602f6fec582b4c3ef71694682730e /testing/resources/annotiter.in
parent9b76113ae4567eb998618d049afde26d3f0175d5 (diff)
downloadpdfium-fe351dbc18e419b0ed9fbe34f2d1fb155b4f7bf1.tar.xz
Merge to XFA: Add tests for CBA_AnnotIterator.
Original Review URL: https://codereview.chromium.org/1652533002 . (cherry picked from commit 1bce5f62f3292a6baf35491bf4c9b4fde2fb73e3) TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1652543003 .
Diffstat (limited to 'testing/resources/annotiter.in')
-rw-r--r--testing/resources/annotiter.in129
1 files changed, 129 insertions, 0 deletions
diff --git a/testing/resources/annotiter.in b/testing/resources/annotiter.in
new file mode 100644
index 0000000000..4dc2a4ee2e
--- /dev/null
+++ b/testing/resources/annotiter.in
@@ -0,0 +1,129 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+ /AcroForm 20 0 R
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages
+ /Count 3
+ /Kids [
+ 10 0 R
+ 11 0 R
+ 12 0 R
+ ]
+>>
+endobj
+% Page number 0.
+{{object 10 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <</F1 15 0 R>>
+ >>
+ /MediaBox [0 0 612 792]
+ /Annots [
+ 22 0 R
+ 23 0 R
+ 24 0 R
+ 25 0 R
+ ]
+ /Tabs /R
+>>
+endobj
+% Page number 1.
+{{object 11 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <</F1 15 0 R>>
+ >>
+ /MediaBox [0 0 612 792]
+ /Annots [
+ 22 0 R
+ 23 0 R
+ 24 0 R
+ 25 0 R
+ ]
+ /Tabs /C
+>>
+endobj
+% Page number 2.
+{{object 12 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <</F1 15 0 R>>
+ >>
+ /MediaBox [0 0 612 792]
+ /Annots [
+ 22 0 R
+ 23 0 R
+ 24 0 R
+ 25 0 R
+ ]
+ /Tabs /S
+>>
+endobj
+% Forms
+{{object 20 0}} <<
+ /Fields [21 0 R]
+>>
+endobj
+% Fields
+{{object 21 0}} <<
+ /T (MyField)
+ /Type /Annot
+ /Subtype /Widget
+ /Rect [100 100 500 500]
+ /Kids [
+ 22 0 R
+ 23 0 R
+ 24 0 R
+ 25 0 R
+ ]
+>>
+endobj
+{{object 22 0}} <<
+ /FT /Tx
+ /Parent 5 0 R
+ /T (Sub_LeftBottom)
+ /Type /Annot
+ /Subtype /Widget
+ /Rect [200 200 220 220]
+>>
+endobj
+{{object 23 0}} <<
+ /FT /Tx
+ /Parent 5 0 R
+ /T (Sub_RightTop)
+ /Type /Annot
+ /Subtype /Widget
+ /Rect [401 401 421 421]
+>>
+endobj
+{{object 24 0}} <<
+ /FT /Tx
+ /Parent 5 0 R
+ /T (Sub_LeftTop)
+ /Type /Annot
+ /Subtype /Widget
+ /Rect [201 400 221 420]
+>>
+endobj
+{{object 25 0}} <<
+ /FT /Tx
+ /Parent 5 0 R
+ /T (Sub_RightBottom)
+ /Type /Annot
+ /Subtype /Widget
+ /Rect [400 201 420 221]
+>>
+endobj
+{{xref}}
+trailer <<
+ /Root 1 0 R
+>>
+{{startxref}}
+%%EOF