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