line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PDF::API2::Resource::PaperSizes; |
2
|
|
|
|
|
|
|
|
3
|
38
|
|
|
38
|
|
297
|
use strict; |
|
38
|
|
|
|
|
98
|
|
|
38
|
|
|
|
|
1715
|
|
4
|
38
|
|
|
38
|
|
248
|
use warnings; |
|
38
|
|
|
|
|
86
|
|
|
38
|
|
|
|
|
6501
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '2.044'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub get_paper_sizes { |
9
|
|
|
|
|
|
|
return ( |
10
|
|
|
|
|
|
|
# Metric sizes |
11
|
38
|
|
|
38
|
0
|
1301
|
'4a' => [ 4760, 6716 ], # deprecated, non-standard name |
12
|
|
|
|
|
|
|
'2a' => [ 3368, 4760 ], # deprecated, non-standard name |
13
|
|
|
|
|
|
|
'4a0' => [ 4760, 6716 ], |
14
|
|
|
|
|
|
|
'2a0' => [ 3368, 4760 ], |
15
|
|
|
|
|
|
|
'a0' => [ 2380, 3368 ], |
16
|
|
|
|
|
|
|
'a1' => [ 1684, 2380 ], |
17
|
|
|
|
|
|
|
'a2' => [ 1190, 1684 ], |
18
|
|
|
|
|
|
|
'a3' => [ 842, 1190 ], |
19
|
|
|
|
|
|
|
'a4' => [ 595, 842 ], |
20
|
|
|
|
|
|
|
'a5' => [ 421, 595 ], |
21
|
|
|
|
|
|
|
'a6' => [ 297, 421 ], |
22
|
|
|
|
|
|
|
'4b' => [ 5656, 8000 ], # deprecated, non-standard name |
23
|
|
|
|
|
|
|
'2b' => [ 4000, 5656 ], # deprecated, non-standard name |
24
|
|
|
|
|
|
|
'4b0' => [ 5656, 8000 ], |
25
|
|
|
|
|
|
|
'2b0' => [ 4000, 5656 ], |
26
|
|
|
|
|
|
|
'b0' => [ 2828, 4000 ], |
27
|
|
|
|
|
|
|
'b1' => [ 2000, 2828 ], |
28
|
|
|
|
|
|
|
'b2' => [ 1414, 2000 ], |
29
|
|
|
|
|
|
|
'b3' => [ 1000, 1414 ], |
30
|
|
|
|
|
|
|
'b4' => [ 707, 1000 ], |
31
|
|
|
|
|
|
|
'b5' => [ 500, 707 ], |
32
|
|
|
|
|
|
|
'b6' => [ 353, 500 ], |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# US sizes |
35
|
|
|
|
|
|
|
'letter' => [ 612, 792 ], |
36
|
|
|
|
|
|
|
'broadsheet' => [ 1296, 1584 ], |
37
|
|
|
|
|
|
|
'ledger' => [ 1224, 792 ], |
38
|
|
|
|
|
|
|
'tabloid' => [ 792, 1224 ], |
39
|
|
|
|
|
|
|
'legal' => [ 612, 1008 ], |
40
|
|
|
|
|
|
|
'executive' => [ 522, 756 ], |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
# Other |
43
|
|
|
|
|
|
|
'36x36' => [ 2592, 2592 ], |
44
|
|
|
|
|
|
|
); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |