From 618edef2dfea870c34800dbf3f2fd3f7be819300 Mon Sep 17 00:00:00 2001 From: xlou Date: Fri, 12 Oct 2018 23:37:41 +0000 Subject: 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 Reviewed-by: Lei Zhang --- constants/page_object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'constants') 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"; -- cgit v1.2.3