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 /constants | |
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 'constants')
-rw-r--r-- | constants/page_object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/constants/page_object.h b/constants/page_object.h index b7f927b56f..8a41b8cf5d 100644 --- a/constants/page_object.h +++ b/constants/page_object.h @@ -16,6 +16,8 @@ constexpr char kParent[] = "Parent"; constexpr char kResources[] = "Resources"; constexpr char kMediaBox[] = "MediaBox"; constexpr char kCropBox[] = "CropBox"; +constexpr char kBleedBox[] = "BleedBox"; +constexpr char kTrimBox[] = "TrimBox"; constexpr char kArtBox[] = "ArtBox"; constexpr char kContents[] = "Contents"; constexpr char kRotate[] = "Rotate"; |