Laxkit
0.0.7.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
lax
papersizes.h
1
#ifndef _LAX_PAPERSIZES_H
2
#define _LAX_PAPERSIZES_H
3
4
5
namespace
Laxkit {
6
7
8
//-------------------------------- GetBuiltinPaperSizes ------------------
9
10
//
11
// The category is p for paper, c for custom, s for screen, and * for special "whatever" paper.
12
//
13
// PAPERSIZE Width Height Units Category
14
// ------------------------------------------
15
const
char
*BuiltinPaperSizes[60*5]=
16
{
17
"Letter"
,
"8.5"
,
"11"
,
"in"
,
"p"
,
// 0
18
"Legal"
,
"8.5"
,
"14"
,
"in"
,
"p"
,
// 1
19
"Tabloid"
,
"11"
,
"17"
,
"in"
,
"p"
,
// 2
20
"A4"
,
"210"
,
"297"
,
"mm"
,
"p"
,
// 3
21
"A3"
,
"297"
,
"420"
,
"mm"
,
"p"
,
// 4
22
"A2"
,
"420"
,
"594"
,
"mm"
,
"p"
,
// 5
23
"A1"
,
"594"
,
"841"
,
"mm"
,
"p"
,
// 6
24
"A0"
,
"841"
,
"1189"
,
"mm"
,
"p"
,
// 7
25
"A5"
,
"148"
,
"210"
,
"mm"
,
"p"
,
// 8
26
"A6"
,
"105"
,
"148"
,
"mm"
,
"p"
,
// 9
27
"A7"
,
"74"
,
"105"
,
"mm"
,
"p"
,
// 10
28
"A8"
,
"52"
,
"74"
,
"mm"
,
"p"
,
// 11
29
"A9"
,
"37"
,
"52"
,
"mm"
,
"p"
,
// 12
30
"A10"
,
"26"
,
"37"
,
"mm"
,
"p"
,
// 13
31
"B0"
,
"1000"
,
"1414"
,
"mm"
,
"p"
,
// 14
32
"B1"
,
"707"
,
"1000"
,
"mm"
,
"p"
,
// 15
33
"B2"
,
"500"
,
"707"
,
"mm"
,
"p"
,
// 16
34
"B3"
,
"353"
,
"500"
,
"mm"
,
"p"
,
// 17
35
"B4"
,
"250"
,
"353"
,
"mm"
,
"p"
,
// 18
36
"B5"
,
"176"
,
"250"
,
"mm"
,
"p"
,
// 19
37
"B6"
,
"125"
,
"176"
,
"mm"
,
"p"
,
// 20
38
"B7"
,
"88"
,
"125"
,
"mm"
,
"p"
,
// 21
39
"B8"
,
"62"
,
"88"
,
"mm"
,
"p"
,
// 22
40
"B9"
,
"44"
,
"62"
,
"mm"
,
"p"
,
// 23
41
"B10"
,
"31"
,
"44"
,
"mm"
,
"p"
,
// 24
42
"C0"
,
"917"
,
"1297"
,
"mm"
,
"p"
,
// 25
43
"C1"
,
"648"
,
"917"
,
"mm"
,
"p"
,
// 26
44
"C2"
,
"458"
,
"648"
,
"mm"
,
"p"
,
// 27
45
"C3"
,
"324"
,
"458"
,
"mm"
,
"p"
,
// 28
46
"C4"
,
"229"
,
"324"
,
"mm"
,
"p"
,
// 29
47
"C5"
,
"162"
,
"229"
,
"mm"
,
"p"
,
// 30
48
"C6"
,
"114"
,
"162"
,
"mm"
,
"p"
,
// 31
49
"C7"
,
"81"
,
"114"
,
"mm"
,
"p"
,
// 32
50
"C8"
,
"57"
,
"81"
,
"mm"
,
"p"
,
// 33
51
"C9"
,
"40"
,
"57"
,
"mm"
,
"p"
,
// 34
52
"C10"
,
"28"
,
"40"
,
"mm"
,
"p"
,
// 35
53
"ArchA"
,
"9"
,
"12"
,
"in"
,
"p"
,
// 36
54
"ArchB"
,
"12"
,
"18"
,
"in"
,
"p"
,
// 37
55
"ArchC"
,
"18"
,
"24"
,
"in"
,
"p"
,
// 38
56
"ArchD"
,
"24"
,
"36"
,
"in"
,
"p"
,
// 39
57
"ArchE"
,
"36"
,
"48"
,
"in"
,
"p"
,
// 40
58
"Flsa"
,
"8.5"
,
"13"
,
"in"
,
"p"
,
// 41
59
"Flse"
,
"8.5"
,
"13"
,
"in"
,
"p"
,
// 42
60
"Index"
,
"3"
,
"5"
,
"in"
,
"p"
,
// 43
61
"Executive"
,
"7.25"
,
"10.5"
,
"in"
,
"p"
,
// 44
62
"Ledger"
,
"17"
,
"11"
,
"in"
,
"p"
,
// 45
63
"Halfletter"
,
"5.5"
,
"8.5"
,
"in"
,
"p"
,
// 46
64
"Note"
,
"7.5"
,
"10"
,
"in"
,
"p"
,
// 47
65
"4:3"
,
"4"
,
"3"
,
"in"
,
"p"
,
// 48
66
"16:9"
,
"16"
,
"9"
,
"in"
,
"p"
,
// 49
67
"640x480"
,
"640"
,
"480"
,
"px"
,
"s"
,
// 50
68
"800x600"
,
"800"
,
"600"
,
"px"
,
"s"
,
// 51
69
"1024x768"
,
"1024"
,
"768"
,
"px"
,
"s"
,
// 52
70
"1280x1024"
,
"1280"
,
"1024"
,
"px"
,
"s"
,
// 53
71
"1600x1200"
,
"1600"
,
"1200"
,
"px"
,
"s"
,
// 54
72
"1920x1080"
,
"1920"
,
"1080"
,
"px"
,
"s"
,
// 55
73
"1920x1200"
,
"1920"
,
"1200"
,
"px"
,
"s"
,
// 56
74
"Custom"
,
"8.5"
,
"11"
,
"in"
,
"c"
,
// 57
75
"Whatever"
,
"8.5"
,
"11"
,
"in"
,
"*"
,
// 58
76
NULL,NULL,NULL,NULL,NULL
// 59
77
};
78
79
}
//namespace Laxkit;
80
81
82
83
84
#endif
85
Mon Feb 17 2014 11:52:57, Laxkit