• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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::annotation {
8 
9 // PDF 1.7 spec, table 8.15.
10 // Entries common to all annotation dictionaries.
11 const char kType[] = "Type";
12 const char kSubtype[] = "Subtype";
13 const char kRect[] = "Rect";
14 const char kContents[] = "Contents";
15 const char kP[] = "P";
16 const char kNM[] = "NM";
17 const char kM[] = "M";
18 const char kF[] = "F";
19 const char kAP[] = "AP";
20 const char kAS[] = "AS";
21 const char kBorder[] = "Border";
22 const char kC[] = "C";
23 const char kStructParent[] = "StructParent";
24 const char kOC[] = "OC";
25 
26 // Entries for polygon and polyline annotations.
27 const char kVertices[] = "Vertices";
28 
29 // Entries for ink annotations
30 const char kInkList[] = "InkList";
31 
32 // Entries for line annotations
33 const char kL[] = "L";
34 
35 }  // namespace pdfium::annotation
36