// Derived from PDFium's constants/page_object.h
// Original: Copyright 2018 The PDFium Authors
// Licensed under BSD-3-Clause / Apache-2.0
// See pdfium-upstream/LICENSE for the original license.

//! Entries in a page object dictionary.
//!
//! Corresponds to `pdfium::page_object` namespace.
//! PDF 1.7 spec, table 3.27.

/// `/Type` — object type name.
pub const K_TYPE: &[u8] = b"Type";

/// `/Parent` — indirect reference to the page tree node that is the parent of this page.
pub const K_PARENT: &[u8] = b"Parent";

/// `/Resources` — the resources required by the page.
pub const K_RESOURCES: &[u8] = b"Resources";

/// `/MediaBox` — the media box defining the boundaries of the physical medium.
pub const K_MEDIA_BOX: &[u8] = b"MediaBox";

/// `/CropBox` — the crop box defining the region to which the page contents are clipped.
pub const K_CROP_BOX: &[u8] = b"CropBox";

/// `/BleedBox` — the bleed box defining the region to which page contents may be clipped when output in a production environment.
pub const K_BLEED_BOX: &[u8] = b"BleedBox";

/// `/TrimBox` — the trim box defining the intended dimensions of the finished page after trimming.
pub const K_TRIM_BOX: &[u8] = b"TrimBox";

/// `/ArtBox` — the art box defining the extent of the page's meaningful content.
pub const K_ART_BOX: &[u8] = b"ArtBox";

/// `/Contents` — stream or array of streams containing the page's content.
pub const K_CONTENTS: &[u8] = b"Contents";

/// `/Rotate` — the number of degrees by which the page should be rotated clockwise.
pub const K_ROTATE: &[u8] = b"Rotate";
