| 1 | <?php |
||
| 15 | class PdfSettings |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file |
||
| 19 | */ |
||
| 20 | const __DEFAULT = 'default'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Low-resolution output similar to the Acrobat Distiller "Screen Optimized" setting |
||
| 24 | */ |
||
| 25 | const SCREEN = 'screen'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Medium-resolution output similar to the Acrobat Distiller "eBook" setting |
||
| 29 | */ |
||
| 30 | const EBOOK = 'ebook'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Output similar to the Acrobat Distiller "Print Optimized" setting |
||
| 34 | */ |
||
| 35 | const PRINTER = 'printer'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Output similar to Acrobat Distiller "Prepress Optimized" setting |
||
| 39 | */ |
||
| 40 | const PREPRESS = 'prepress'; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Available PDF settings values |
||
| 44 | * |
||
| 45 | * @var string[] $values |
||
| 46 | */ |
||
| 47 | private static $values = [ |
||
| 48 | self::__DEFAULT, |
||
| 49 | self::SCREEN, |
||
| 50 | self::EBOOK, |
||
| 51 | self::PRINTER, |
||
| 52 | self::PREPRESS |
||
| 53 | ]; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get available PDF settings values |
||
| 57 | * |
||
| 58 | * @return string[] |
||
| 59 | */ |
||
| 60 | public static function values() |
||
| 64 | } |
||
| 65 |