1 // Copyright 2021 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "constants/annotation_common.h" 6 7 namespace pdfium { 8 namespace annotation { 9 10 // PDF 1.7 spec, table 8.15. 11 // Entries common to all annotation dictionaries. 12 const char kType[] = "Type"; 13 const char kSubtype[] = "Subtype"; 14 const char kRect[] = "Rect"; 15 const char kContents[] = "Contents"; 16 const char kP[] = "P"; 17 const char kNM[] = "NM"; 18 const char kM[] = "M"; 19 const char kF[] = "F"; 20 const char kAP[] = "AP"; 21 const char kAS[] = "AS"; 22 const char kBorder[] = "Border"; 23 const char kC[] = "C"; 24 const char kStructParent[] = "StructParent"; 25 const char kOC[] = "OC"; 26 27 // Entries for polygon and polyline annotations. 28 const char kVertices[] = "Vertices"; 29 30 // Entries for ink annotations 31 const char kInkList[] = "InkList"; 32 33 // Entries for line annotations 34 const char kL[] = "L"; 35 36 } // namespace annotation 37 } // namespace pdfium 38