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

//! Dictionary keys common to all annotation types.
//!
//! Corresponds to `pdfium::annotation` namespace.
//! PDF 1.7 spec, table 8.15.

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

/// `/Subtype` — annotation subtype name.
pub const K_SUBTYPE: &[u8] = b"Subtype";

/// `/Rect` — annotation rectangle.
pub const K_RECT: &[u8] = b"Rect";

/// `/Contents` — annotation text contents.
pub const K_CONTENTS: &[u8] = b"Contents";

/// `/P` — indirect reference to page the annotation is on.
pub const K_P: &[u8] = b"P";

/// `/NM` — annotation name (unique identifier).
pub const K_NM: &[u8] = b"NM";

/// `/M` — date and time of last modification.
pub const K_M: &[u8] = b"M";

/// `/F` — annotation flags.
pub const K_F: &[u8] = b"F";

/// `/AP` — appearance dictionary.
pub const K_AP: &[u8] = b"AP";

/// `/AS` — appearance state.
pub const K_AS: &[u8] = b"AS";

/// `/Border` — border style.
pub const K_BORDER: &[u8] = b"Border";

/// `/C` — annotation color.
pub const K_C: &[u8] = b"C";

/// `/StructParent` — structural parent key.
pub const K_STRUCT_PARENT: &[u8] = b"StructParent";

/// `/OC` — optional content group.
pub const K_OC: &[u8] = b"OC";

/// `/Vertices` — array of vertex coordinates (polygon/polyline).
pub const K_VERTICES: &[u8] = b"Vertices";

/// `/InkList` — array of stroked paths (ink annotation).
pub const K_INK_LIST: &[u8] = b"InkList";

/// `/L` — endpoints of a line annotation.
pub const K_L: &[u8] = b"L";
