Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
6 / 6
100.00% covered (success)
100.00%
6 / 6
CRAP
100.00% covered (success)
100.00%
1 / 1
PdfEProfile
100.00% covered (success)
100.00%
6 / 6
100.00% covered (success)
100.00%
6 / 6
6
100.00% covered (success)
100.00%
1 / 1
 getFamily
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getLevel
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getPdfVersion
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getXmpNamespace
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getXmpPrefix
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getXmpProperties
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Pdf\Conformance\Profile;
6
7use Phpdftk\Pdf\Core\PdfVersion;
8
9/**
10 * PDF/E conformance profiles (ISO 24517).
11 *
12 * PDF/E is designed for engineering document exchange, supporting
13 * 3D content, geospatial data, and other engineering workflows.
14 *
15 * PDF/E-1 (ISO 24517-1): based on PDF 1.6
16 */
17enum PdfEProfile: string implements ConformanceProfile
18{
19    case E1 = 'E-1';
20
21    public function getFamily(): string
22    {
23        return 'PDF/E';
24    }
25
26    public function getLevel(): string
27    {
28        return $this->value;
29    }
30
31    public function getPdfVersion(): PdfVersion
32    {
33        return PdfVersion::V1_6;
34    }
35
36    public function getXmpNamespace(): string
37    {
38        return 'http://www.aiim.org/pdfe/ns/id/';
39    }
40
41    public function getXmpPrefix(): string
42    {
43        return 'pdfeid';
44    }
45
46    public function getXmpProperties(): array
47    {
48        return ['part' => '1'];
49    }
50}