line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# Do not edit this file (it is autogenerated)! |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
##################### |
6
|
|
|
|
|
|
|
package PDF::PDFUnit; |
7
|
|
|
|
|
|
|
##################### |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# We want to make this stuff usable by just doing "use PDF::PDFUnit". |
10
|
|
|
|
|
|
|
# Therefore no different namespace here! |
11
|
|
|
|
|
|
|
|
12
|
4
|
|
|
4
|
|
12
|
use strict; |
|
4
|
|
|
|
|
3
|
|
|
4
|
|
|
|
|
118
|
|
13
|
4
|
|
|
4
|
|
14
|
use warnings; |
|
4
|
|
|
|
|
3
|
|
|
4
|
|
|
|
|
3937
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
require Exporter; |
16
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
17
|
|
|
|
|
|
|
push @PDF::PDFUnit::EXPORT, qw( |
18
|
|
|
|
|
|
|
A0_LANDSCAPE |
19
|
|
|
|
|
|
|
A0_PORTRAIT |
20
|
|
|
|
|
|
|
A1_LANDSCAPE |
21
|
|
|
|
|
|
|
A1_PORTRAIT |
22
|
|
|
|
|
|
|
A2_LANDSCAPE |
23
|
|
|
|
|
|
|
A2_PORTRAIT |
24
|
|
|
|
|
|
|
A3_LANDSCAPE |
25
|
|
|
|
|
|
|
A3_PORTRAIT |
26
|
|
|
|
|
|
|
A4_LANDSCAPE |
27
|
|
|
|
|
|
|
A4_PORTRAIT |
28
|
|
|
|
|
|
|
A5_LANDSCAPE |
29
|
|
|
|
|
|
|
A5_PORTRAIT |
30
|
|
|
|
|
|
|
A6_LANDSCAPE |
31
|
|
|
|
|
|
|
A6_PORTRAIT |
32
|
|
|
|
|
|
|
ALLOW_SCREENREADERS |
33
|
|
|
|
|
|
|
ANY_PAGE |
34
|
|
|
|
|
|
|
ASSEMBLE_DOCUMENTS |
35
|
|
|
|
|
|
|
AS_DATE |
36
|
|
|
|
|
|
|
AS_DATETIME |
37
|
|
|
|
|
|
|
AS_RESULTTYPE_BOOLEAN |
38
|
|
|
|
|
|
|
AS_RESULTTYPE_NODE |
39
|
|
|
|
|
|
|
AS_RESULTTYPE_NODESET |
40
|
|
|
|
|
|
|
AS_RESULTTYPE_NUMBER |
41
|
|
|
|
|
|
|
AS_RESULTTYPE_STRING |
42
|
|
|
|
|
|
|
CHECKBOX |
43
|
|
|
|
|
|
|
CHOICE |
44
|
|
|
|
|
|
|
COMBO |
45
|
|
|
|
|
|
|
COMPARED_BY_CONTENT |
46
|
|
|
|
|
|
|
COMPARED_BY_NAME |
47
|
|
|
|
|
|
|
DEGREES_180 |
48
|
|
|
|
|
|
|
DEGREES_270 |
49
|
|
|
|
|
|
|
DEGREES_90 |
50
|
|
|
|
|
|
|
EACH_PAGE |
51
|
|
|
|
|
|
|
EVEN_PAGES |
52
|
|
|
|
|
|
|
EVERY_PAGE |
53
|
|
|
|
|
|
|
EXTRACT_CONTENT |
54
|
|
|
|
|
|
|
FILL_IN |
55
|
|
|
|
|
|
|
FIRST_PAGE |
56
|
|
|
|
|
|
|
FONTTYPE_CID |
57
|
|
|
|
|
|
|
FONTTYPE_CID_TYPE0 |
58
|
|
|
|
|
|
|
FONTTYPE_CID_TYPE2 |
59
|
|
|
|
|
|
|
FONTTYPE_MMTYPE1 |
60
|
|
|
|
|
|
|
FONTTYPE_OPENTYPE |
61
|
|
|
|
|
|
|
FONTTYPE_TRUETYPE |
62
|
|
|
|
|
|
|
FONTTYPE_TYPE0 |
63
|
|
|
|
|
|
|
FONTTYPE_TYPE1 |
64
|
|
|
|
|
|
|
FONTTYPE_TYPE3 |
65
|
|
|
|
|
|
|
FORM_FILLING |
66
|
|
|
|
|
|
|
FORM_FILLING_AND_ANNOTATIONS |
67
|
|
|
|
|
|
|
HORIZONTALLY |
68
|
|
|
|
|
|
|
IDENTIFIEDBY_ALLPROPERTIES |
69
|
|
|
|
|
|
|
IDENTIFIEDBY_BASENAME |
70
|
|
|
|
|
|
|
IDENTIFIEDBY_EMBEDDED |
71
|
|
|
|
|
|
|
IDENTIFIEDBY_NAME |
72
|
|
|
|
|
|
|
IDENTIFIEDBY_NAME_TYPE |
73
|
|
|
|
|
|
|
IDENTIFIEDBY_TYPE |
74
|
|
|
|
|
|
|
IGNORE |
75
|
|
|
|
|
|
|
IGNORE_WHITESPACES |
76
|
|
|
|
|
|
|
KEEP |
77
|
|
|
|
|
|
|
KEEP_WHITESPACES |
78
|
|
|
|
|
|
|
LAST_PAGE |
79
|
|
|
|
|
|
|
LETTER_LANDSCAPE |
80
|
|
|
|
|
|
|
LETTER_PORTRAIT |
81
|
|
|
|
|
|
|
LIST |
82
|
|
|
|
|
|
|
MILLIMETER |
83
|
|
|
|
|
|
|
MILLIMETERS |
84
|
|
|
|
|
|
|
MODIFY_ANNOTATIONS |
85
|
|
|
|
|
|
|
MODIFY_CONTENT |
86
|
|
|
|
|
|
|
NORMALIZE |
87
|
|
|
|
|
|
|
NORMALIZE_WHITESPACES |
88
|
|
|
|
|
|
|
NO_CHANGES_ALLOWED |
89
|
|
|
|
|
|
|
ODD_PAGES |
90
|
|
|
|
|
|
|
ON_ANY_PAGE |
91
|
|
|
|
|
|
|
ON_EACH_PAGE |
92
|
|
|
|
|
|
|
ON_EVEN_PAGES |
93
|
|
|
|
|
|
|
ON_EVERY_PAGE |
94
|
|
|
|
|
|
|
ON_FIRST_PAGE |
95
|
|
|
|
|
|
|
ON_LAST_PAGE |
96
|
|
|
|
|
|
|
ON_ODD_PAGES |
97
|
|
|
|
|
|
|
PDFA_1A |
98
|
|
|
|
|
|
|
PDFA_1B |
99
|
|
|
|
|
|
|
PDFVERSION_11 |
100
|
|
|
|
|
|
|
PDFVERSION_12 |
101
|
|
|
|
|
|
|
PDFVERSION_13 |
102
|
|
|
|
|
|
|
PDFVERSION_14 |
103
|
|
|
|
|
|
|
PDFVERSION_15 |
104
|
|
|
|
|
|
|
PDFVERSION_16 |
105
|
|
|
|
|
|
|
PDFVERSION_17 |
106
|
|
|
|
|
|
|
POINTS |
107
|
|
|
|
|
|
|
PRINT_DEGRADED_ONLY |
108
|
|
|
|
|
|
|
PRINT_IN_HIGHQUALITY |
109
|
|
|
|
|
|
|
PUSHBUTTON |
110
|
|
|
|
|
|
|
RADIOBUTTON |
111
|
|
|
|
|
|
|
SIGNATURE |
112
|
|
|
|
|
|
|
TEXT |
113
|
|
|
|
|
|
|
VERTICALLY |
114
|
|
|
|
|
|
|
); |
115
|
|
|
|
|
|
|
|
116
|
0
|
|
|
0
|
0
|
|
sub A0_LANDSCAPE { $com::pdfunit::Constants::A0_LANDSCAPE } |
117
|
0
|
|
|
0
|
0
|
|
sub A0_PORTRAIT { $com::pdfunit::Constants::A0_PORTRAIT } |
118
|
0
|
|
|
0
|
0
|
|
sub A1_LANDSCAPE { $com::pdfunit::Constants::A1_LANDSCAPE } |
119
|
0
|
|
|
0
|
0
|
|
sub A1_PORTRAIT { $com::pdfunit::Constants::A1_PORTRAIT } |
120
|
0
|
|
|
0
|
0
|
|
sub A2_LANDSCAPE { $com::pdfunit::Constants::A2_LANDSCAPE } |
121
|
0
|
|
|
0
|
0
|
|
sub A2_PORTRAIT { $com::pdfunit::Constants::A2_PORTRAIT } |
122
|
0
|
|
|
0
|
0
|
|
sub A3_LANDSCAPE { $com::pdfunit::Constants::A3_LANDSCAPE } |
123
|
0
|
|
|
0
|
0
|
|
sub A3_PORTRAIT { $com::pdfunit::Constants::A3_PORTRAIT } |
124
|
0
|
|
|
0
|
0
|
|
sub A4_LANDSCAPE { $com::pdfunit::Constants::A4_LANDSCAPE } |
125
|
0
|
|
|
0
|
0
|
|
sub A4_PORTRAIT { $com::pdfunit::Constants::A4_PORTRAIT } |
126
|
0
|
|
|
0
|
0
|
|
sub A5_LANDSCAPE { $com::pdfunit::Constants::A5_LANDSCAPE } |
127
|
0
|
|
|
0
|
0
|
|
sub A5_PORTRAIT { $com::pdfunit::Constants::A5_PORTRAIT } |
128
|
0
|
|
|
0
|
0
|
|
sub A6_LANDSCAPE { $com::pdfunit::Constants::A6_LANDSCAPE } |
129
|
0
|
|
|
0
|
0
|
|
sub A6_PORTRAIT { $com::pdfunit::Constants::A6_PORTRAIT } |
130
|
0
|
|
|
0
|
0
|
|
sub ALLOW_SCREENREADERS { $com::pdfunit::Constants::ALLOW_SCREENREADERS } |
131
|
0
|
|
|
0
|
0
|
|
sub ANY_PAGE { $com::pdfunit::Constants::ANY_PAGE } |
132
|
0
|
|
|
0
|
0
|
|
sub ASSEMBLE_DOCUMENTS { $com::pdfunit::Constants::ASSEMBLE_DOCUMENTS } |
133
|
0
|
|
|
0
|
0
|
|
sub AS_DATE { $com::pdfunit::Constants::AS_DATE } |
134
|
0
|
|
|
0
|
0
|
|
sub AS_DATETIME { $com::pdfunit::Constants::AS_DATETIME } |
135
|
0
|
|
|
0
|
0
|
|
sub AS_RESULTTYPE_BOOLEAN { $com::pdfunit::Constants::AS_RESULTTYPE_BOOLEAN } |
136
|
0
|
|
|
0
|
0
|
|
sub AS_RESULTTYPE_NODE { $com::pdfunit::Constants::AS_RESULTTYPE_NODE } |
137
|
0
|
|
|
0
|
0
|
|
sub AS_RESULTTYPE_NODESET { $com::pdfunit::Constants::AS_RESULTTYPE_NODESET } |
138
|
0
|
|
|
0
|
0
|
|
sub AS_RESULTTYPE_NUMBER { $com::pdfunit::Constants::AS_RESULTTYPE_NUMBER } |
139
|
0
|
|
|
0
|
0
|
|
sub AS_RESULTTYPE_STRING { $com::pdfunit::Constants::AS_RESULTTYPE_STRING } |
140
|
0
|
|
|
0
|
0
|
|
sub CHECKBOX { $com::pdfunit::Constants::CHECKBOX } |
141
|
0
|
|
|
0
|
0
|
|
sub CHOICE { $com::pdfunit::Constants::CHOICE } |
142
|
0
|
|
|
0
|
0
|
|
sub COMBO { $com::pdfunit::Constants::COMBO } |
143
|
0
|
|
|
0
|
0
|
|
sub COMPARED_BY_CONTENT { $com::pdfunit::Constants::COMPARED_BY_CONTENT } |
144
|
0
|
|
|
0
|
0
|
|
sub COMPARED_BY_NAME { $com::pdfunit::Constants::COMPARED_BY_NAME } |
145
|
0
|
|
|
0
|
0
|
|
sub DEGREES_180 { $com::pdfunit::Constants::DEGREES_180 } |
146
|
0
|
|
|
0
|
0
|
|
sub DEGREES_270 { $com::pdfunit::Constants::DEGREES_270 } |
147
|
0
|
|
|
0
|
0
|
|
sub DEGREES_90 { $com::pdfunit::Constants::DEGREES_90 } |
148
|
0
|
|
|
0
|
0
|
|
sub EACH_PAGE { $com::pdfunit::Constants::EACH_PAGE } |
149
|
0
|
|
|
0
|
0
|
|
sub EVEN_PAGES { $com::pdfunit::Constants::EVEN_PAGES } |
150
|
0
|
|
|
0
|
0
|
|
sub EVERY_PAGE { $com::pdfunit::Constants::EVERY_PAGE } |
151
|
0
|
|
|
0
|
0
|
|
sub EXTRACT_CONTENT { $com::pdfunit::Constants::EXTRACT_CONTENT } |
152
|
0
|
|
|
0
|
0
|
|
sub FILL_IN { $com::pdfunit::Constants::FILL_IN } |
153
|
0
|
|
|
0
|
0
|
|
sub FIRST_PAGE { $com::pdfunit::Constants::FIRST_PAGE } |
154
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_CID { $com::pdfunit::Constants::FONTTYPE_CID } |
155
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_CID_TYPE0 { $com::pdfunit::Constants::FONTTYPE_CID_TYPE0 } |
156
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_CID_TYPE2 { $com::pdfunit::Constants::FONTTYPE_CID_TYPE2 } |
157
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_MMTYPE1 { $com::pdfunit::Constants::FONTTYPE_MMTYPE1 } |
158
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_OPENTYPE { $com::pdfunit::Constants::FONTTYPE_OPENTYPE } |
159
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_TRUETYPE { $com::pdfunit::Constants::FONTTYPE_TRUETYPE } |
160
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_TYPE0 { $com::pdfunit::Constants::FONTTYPE_TYPE0 } |
161
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_TYPE1 { $com::pdfunit::Constants::FONTTYPE_TYPE1 } |
162
|
0
|
|
|
0
|
0
|
|
sub FONTTYPE_TYPE3 { $com::pdfunit::Constants::FONTTYPE_TYPE3 } |
163
|
0
|
|
|
0
|
0
|
|
sub FORM_FILLING { $com::pdfunit::Constants::FORM_FILLING } |
164
|
0
|
|
|
0
|
0
|
|
sub FORM_FILLING_AND_ANNOTATIONS { $com::pdfunit::Constants::FORM_FILLING_AND_ANNOTATIONS } |
165
|
0
|
|
|
0
|
0
|
|
sub HORIZONTALLY { $com::pdfunit::Constants::HORIZONTALLY } |
166
|
0
|
|
|
0
|
0
|
|
sub IDENTIFIEDBY_ALLPROPERTIES { $com::pdfunit::Constants::IDENTIFIEDBY_ALLPROPERTIES } |
167
|
0
|
|
|
0
|
0
|
|
sub IDENTIFIEDBY_BASENAME { $com::pdfunit::Constants::IDENTIFIEDBY_BASENAME } |
168
|
0
|
|
|
0
|
0
|
|
sub IDENTIFIEDBY_EMBEDDED { $com::pdfunit::Constants::IDENTIFIEDBY_EMBEDDED } |
169
|
0
|
|
|
0
|
0
|
|
sub IDENTIFIEDBY_NAME { $com::pdfunit::Constants::IDENTIFIEDBY_NAME } |
170
|
0
|
|
|
0
|
0
|
|
sub IDENTIFIEDBY_NAME_TYPE { $com::pdfunit::Constants::IDENTIFIEDBY_NAME_TYPE } |
171
|
0
|
|
|
0
|
0
|
|
sub IDENTIFIEDBY_TYPE { $com::pdfunit::Constants::IDENTIFIEDBY_TYPE } |
172
|
0
|
|
|
0
|
0
|
|
sub IGNORE { $com::pdfunit::Constants::IGNORE } |
173
|
0
|
|
|
0
|
0
|
|
sub IGNORE_WHITESPACES { $com::pdfunit::Constants::IGNORE_WHITESPACES } |
174
|
0
|
|
|
0
|
0
|
|
sub KEEP { $com::pdfunit::Constants::KEEP } |
175
|
0
|
|
|
0
|
0
|
|
sub KEEP_WHITESPACES { $com::pdfunit::Constants::KEEP_WHITESPACES } |
176
|
0
|
|
|
0
|
0
|
|
sub LAST_PAGE { $com::pdfunit::Constants::LAST_PAGE } |
177
|
0
|
|
|
0
|
0
|
|
sub LETTER_LANDSCAPE { $com::pdfunit::Constants::LETTER_LANDSCAPE } |
178
|
0
|
|
|
0
|
0
|
|
sub LETTER_PORTRAIT { $com::pdfunit::Constants::LETTER_PORTRAIT } |
179
|
0
|
|
|
0
|
0
|
|
sub LIST { $com::pdfunit::Constants::LIST } |
180
|
0
|
|
|
0
|
0
|
|
sub MILLIMETER { $com::pdfunit::Constants::MILLIMETER } |
181
|
0
|
|
|
0
|
0
|
|
sub MILLIMETERS { $com::pdfunit::Constants::MILLIMETERS } |
182
|
0
|
|
|
0
|
0
|
|
sub MODIFY_ANNOTATIONS { $com::pdfunit::Constants::MODIFY_ANNOTATIONS } |
183
|
0
|
|
|
0
|
0
|
|
sub MODIFY_CONTENT { $com::pdfunit::Constants::MODIFY_CONTENT } |
184
|
0
|
|
|
0
|
0
|
|
sub NORMALIZE { $com::pdfunit::Constants::NORMALIZE } |
185
|
0
|
|
|
0
|
0
|
|
sub NORMALIZE_WHITESPACES { $com::pdfunit::Constants::NORMALIZE_WHITESPACES } |
186
|
0
|
|
|
0
|
0
|
|
sub NO_CHANGES_ALLOWED { $com::pdfunit::Constants::NO_CHANGES_ALLOWED } |
187
|
0
|
|
|
0
|
0
|
|
sub ODD_PAGES { $com::pdfunit::Constants::ODD_PAGES } |
188
|
0
|
|
|
0
|
0
|
|
sub ON_ANY_PAGE { $com::pdfunit::Constants::ON_ANY_PAGE } |
189
|
0
|
|
|
0
|
0
|
|
sub ON_EACH_PAGE { $com::pdfunit::Constants::ON_EACH_PAGE } |
190
|
0
|
|
|
0
|
0
|
|
sub ON_EVEN_PAGES { $com::pdfunit::Constants::ON_EVEN_PAGES } |
191
|
0
|
|
|
0
|
0
|
|
sub ON_EVERY_PAGE { $com::pdfunit::Constants::ON_EVERY_PAGE } |
192
|
0
|
|
|
0
|
0
|
|
sub ON_FIRST_PAGE { $com::pdfunit::Constants::ON_FIRST_PAGE } |
193
|
0
|
|
|
0
|
0
|
|
sub ON_LAST_PAGE { $com::pdfunit::Constants::ON_LAST_PAGE } |
194
|
0
|
|
|
0
|
0
|
|
sub ON_ODD_PAGES { $com::pdfunit::Constants::ON_ODD_PAGES } |
195
|
0
|
|
|
0
|
0
|
|
sub PDFA_1A { $com::pdfunit::Constants::PDFA_1A } |
196
|
0
|
|
|
0
|
0
|
|
sub PDFA_1B { $com::pdfunit::Constants::PDFA_1B } |
197
|
0
|
|
|
0
|
0
|
|
sub PDFVERSION_11 { $com::pdfunit::Constants::PDFVERSION_11 } |
198
|
0
|
|
|
0
|
0
|
|
sub PDFVERSION_12 { $com::pdfunit::Constants::PDFVERSION_12 } |
199
|
0
|
|
|
0
|
0
|
|
sub PDFVERSION_13 { $com::pdfunit::Constants::PDFVERSION_13 } |
200
|
0
|
|
|
0
|
0
|
|
sub PDFVERSION_14 { $com::pdfunit::Constants::PDFVERSION_14 } |
201
|
0
|
|
|
0
|
0
|
|
sub PDFVERSION_15 { $com::pdfunit::Constants::PDFVERSION_15 } |
202
|
0
|
|
|
0
|
0
|
|
sub PDFVERSION_16 { $com::pdfunit::Constants::PDFVERSION_16 } |
203
|
0
|
|
|
0
|
0
|
|
sub PDFVERSION_17 { $com::pdfunit::Constants::PDFVERSION_17 } |
204
|
0
|
|
|
0
|
0
|
|
sub POINTS { $com::pdfunit::Constants::POINTS } |
205
|
0
|
|
|
0
|
0
|
|
sub PRINT_DEGRADED_ONLY { $com::pdfunit::Constants::PRINT_DEGRADED_ONLY } |
206
|
0
|
|
|
0
|
0
|
|
sub PRINT_IN_HIGHQUALITY { $com::pdfunit::Constants::PRINT_IN_HIGHQUALITY } |
207
|
0
|
|
|
0
|
0
|
|
sub PUSHBUTTON { $com::pdfunit::Constants::PUSHBUTTON } |
208
|
0
|
|
|
0
|
0
|
|
sub RADIOBUTTON { $com::pdfunit::Constants::RADIOBUTTON } |
209
|
0
|
|
|
0
|
0
|
|
sub SIGNATURE { $com::pdfunit::Constants::SIGNATURE } |
210
|
0
|
|
|
0
|
0
|
|
sub TEXT { $com::pdfunit::Constants::TEXT } |
211
|
0
|
|
|
0
|
0
|
|
sub VERTICALLY { $com::pdfunit::Constants::VERTICALLY } |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
1; |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
__END__ |