1 // Copyright 2020 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_ACCESS_PERMISSIONS_H_ 6 #define CONSTANTS_ACCESS_PERMISSIONS_H_ 7 8 namespace pdfium { 9 namespace access_permissions { 10 11 // PDF 1.7 spec, table 3.20. 12 // User access permissions. 13 constexpr uint32_t kModifyContent = 1 << 3; 14 constexpr uint32_t kModifyAnnotation = 1 << 5; 15 constexpr uint32_t kFillForm = 1 << 8; 16 constexpr uint32_t kExtractForAccessibility = 1 << 9; 17 18 } // namespace access_permissions 19 } // namespace pdfium 20 21 #endif // CONSTANTS_ACCESS_PERMISSIONS_H_ 22