From fc615c63d34037896963f636e4b5d9e05efd41de Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 8 Jun 2018 20:40:15 +0000 Subject: Add constants for PDF 1.7 spec, table 3.27. BUG=pdfium:1049 Change-Id: Ie8bdb893d2af8d63420027a7ef95baf58cd97aa6 Reviewed-on: https://pdfium-review.googlesource.com/34691 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- constants/page_object.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 constants/page_object.h (limited to 'constants') diff --git a/constants/page_object.h b/constants/page_object.h new file mode 100644 index 0000000000..b7f927b56f --- /dev/null +++ b/constants/page_object.h @@ -0,0 +1,26 @@ +// Copyright 2018 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONSTANTS_PAGE_OBJECT_H_ +#define CONSTANTS_PAGE_OBJECT_H_ + +namespace pdfium { +namespace page_object { + +// PDF 1.7 spec, table 3.27. +// Entries in a page object. + +constexpr char kType[] = "Type"; +constexpr char kParent[] = "Parent"; +constexpr char kResources[] = "Resources"; +constexpr char kMediaBox[] = "MediaBox"; +constexpr char kCropBox[] = "CropBox"; +constexpr char kArtBox[] = "ArtBox"; +constexpr char kContents[] = "Contents"; +constexpr char kRotate[] = "Rotate"; + +} // namespace page_object +} // namespace pdfium + +#endif // CONSTANTS_PAGE_OBJECT_H_ -- cgit v1.2.3