xref: /aosp_15_r20/external/pdfium/constants/annotation_flags.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2019 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 #ifndef CONSTANTS_ANNOTATION_FLAGS_H_
6 #define CONSTANTS_ANNOTATION_FLAGS_H_
7 
8 #include <stdint.h>
9 
10 namespace pdfium {
11 namespace annotation_flags {
12 
13 // PDF 1.7 spec, table 8.16.
14 constexpr uint32_t kInvisible = 1 << 0;
15 constexpr uint32_t kHidden = 1 << 1;
16 constexpr uint32_t kPrint = 1 << 2;
17 constexpr uint32_t kNoZoom = 1 << 3;
18 constexpr uint32_t kNoRotate = 1 << 4;
19 constexpr uint32_t kNoView = 1 << 5;
20 constexpr uint32_t kReadOnly = 1 << 6;
21 constexpr uint32_t kLocked = 1 << 7;
22 constexpr uint32_t kToggleNoView = 1 << 8;
23 constexpr uint32_t kLockedContents = 1 << 9;
24 
25 }  // namespace annotation_flags
26 }  // namespace pdfium
27 
28 #endif  // CONSTANTS_ANNOTATION_FLAGS_H_
29