Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
Permission
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Pdf\Toolkit\Encryption;
6
7use Phpdftk\Pdf\Core\Security\PdfEncryptor;
8
9/**
10 * PDF permission flags — mirrors PdfEncryptor constants for convenience.
11 */
12final class Permission
13{
14    public const PRINT = PdfEncryptor::PERM_PRINT;
15    public const MODIFY = PdfEncryptor::PERM_MODIFY;
16    public const COPY = PdfEncryptor::PERM_COPY;
17    public const ANNOTATE = PdfEncryptor::PERM_ANNOTATE;
18    public const FILL_FORMS = PdfEncryptor::PERM_FILL_FORMS;
19    public const ACCESSIBILITY = PdfEncryptor::PERM_ACCESSIBILITY;
20    public const ASSEMBLE = PdfEncryptor::PERM_ASSEMBLE;
21    public const PRINT_HIGH = PdfEncryptor::PERM_PRINT_HIGH;
22    public const ALL = PdfEncryptor::PERM_ALL;
23}