diff options
author | xlou <xlou@chromium.org> | 2018-10-12 23:37:41 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-12 23:37:41 +0000 |
commit | 618edef2dfea870c34800dbf3f2fd3f7be819300 (patch) | |
tree | 93b59da0ca1a039f1832fc5bfea7cf20612d035f /testing/resources/cropped_text.in | |
parent | b14a2f2e28d94d4a85b762a5eac9414b2a328bc6 (diff) | |
download | pdfium-618edef2dfea870c34800dbf3f2fd3f7be819300.tar.xz |
Add setters/getters for BleedBox and TrimBox.
Since BleedBox and TrimBox are supported according to PDF
specification, hence added setters and getters to get the
value if exists.
Bug:894655
Change-Id: I3c2600450f07665241a4724457a7cbc4282941ed
Reviewed-on: https://pdfium-review.googlesource.com/c/43977
Commit-Queue: Shirleen Lou <xlou@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/resources/cropped_text.in')
-rw-r--r-- | testing/resources/cropped_text.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/resources/cropped_text.in b/testing/resources/cropped_text.in index d3812dc476..d6e2d602f9 100644 --- a/testing/resources/cropped_text.in +++ b/testing/resources/cropped_text.in @@ -41,6 +41,8 @@ endobj /Parent 2 0 R /MediaBox [ 0 0 200 200 ] /CropBox [ 50 50 150 150 ] + /BleedBox [ 50 60 140 145 ] + /TrimBox [ 55 60 140 145 ] /ArtBox [ 55 65 140 145 ] /Resources << /Font << @@ -56,6 +58,8 @@ endobj /Parent 2 0 R /MediaBox [ -50 -50 200 200 ] /CropBox [ 50 50 150 150 ] + /BleedBox [ 0 10 150 145 ] + /TrimBox [ 25 30 140 145 ] /ArtBox [ 50 60 135 140 ] /Resources << /Font << @@ -71,6 +75,8 @@ endobj /Parent 2 0 R /MediaBox [ 0 0 200 200 ] /CropBox [ 60 60 150 150 ] + /BleedBox [ 10 20 150 145 ] + /TrimBox [ 35 30 140 145 ] /ArtBox [ 65 75 140 148 ] /Resources << /Font << @@ -86,6 +92,8 @@ endobj /Parent 2 0 R /MediaBox [ 0 0 200 200 ] /CropBox [ 150 150 60 60 ] + /BleedBox [ 160 165 0 10 ] + /TrimBox [ 155 165 25 30 ] /ArtBox [ 140 145 65 70 ] /Resources << /Font << |