Lei Zhang | 85549b4 | 2019-02-02 00:40:19 +0000 | [diff] [blame] | 1 | // Copyright 2019 PDFium Authors. All rights reserved. |
| 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 | namespace pdfium { |
| 9 | namespace annotation_flags { |
| 10 | |
| 11 | // PDF 1.7 spec, table 8.16. |
| 12 | constexpr uint32_t kInvisible = 1 << 0; |
| 13 | constexpr uint32_t kHidden = 1 << 1; |
| 14 | constexpr uint32_t kPrint = 1 << 2; |
| 15 | constexpr uint32_t kNoZoom = 1 << 3; |
| 16 | constexpr uint32_t kNoRotate = 1 << 4; |
| 17 | constexpr uint32_t kNoView = 1 << 5; |
| 18 | constexpr uint32_t kReadOnly = 1 << 6; |
| 19 | constexpr uint32_t kLocked = 1 << 7; |
| 20 | constexpr uint32_t kToggleNoView = 1 << 8; |
| 21 | constexpr uint32_t kLockedContents = 1 << 9; |
| 22 | |
| 23 | } // namespace annotation_flags |
| 24 | } // namespace pdfium |
| 25 | |
| 26 | #endif // CONSTANTS_ANNOTATION_FLAGS_H_ |