xref: /aosp_15_r20/external/pdfium/constants/form_fields.cpp (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
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/form_fields.h"
6 
7 namespace pdfium {
8 namespace form_fields {
9 
10 // ISO 32000-1:2008 table 220.
11 // Entries common to all field dictionaries.
12 const char kFT[] = "FT";
13 const char kParent[] = "Parent";
14 const char kKids[] = "Kids";
15 const char kT[] = "T";
16 const char kTU[] = "TU";
17 const char kTM[] = "TM";
18 const char kFf[] = "Ff";
19 const char kV[] = "V";
20 const char kDV[] = "DV";
21 const char kAA[] = "AA";
22 
23 // ISO 32000-1:2008 table 220.
24 // Values for FT keyword.
25 const char kBtn[] = "Btn";
26 const char kTx[] = "Tx";
27 const char kCh[] = "Ch";
28 const char kSig[] = "Sig";
29 
30 // ISO 32000-1:2008 table 222.
31 // Entries common to fields containing variable text.
32 const char kDA[] = "DA";
33 const char kQ[] = "Q";
34 const char kDS[] = "DS";
35 const char kRV[] = "RV";
36 
37 }  // namespace form_fields
38 }  // namespace pdfium
39