summaryrefslogtreecommitdiff
path: root/constants/page_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'constants/page_object.h')
-rw-r--r--constants/page_object.h26
1 files changed, 26 insertions, 0 deletions
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_