line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Parse::AFP::Record; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
1327
|
use base 'Parse::AFP::Base'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
233
|
|
4
|
1
|
|
|
|
|
76
|
use constant FORMAT => ( |
5
|
|
|
|
|
|
|
CC => 'H2', |
6
|
|
|
|
|
|
|
Length => 'n', # length() + 2 |
7
|
|
|
|
|
|
|
Type => 'H6', |
8
|
|
|
|
|
|
|
FlagByte => 'a', |
9
|
|
|
|
|
|
|
_ => 'n', |
10
|
|
|
|
|
|
|
Data => 'a*', |
11
|
1
|
|
|
1
|
|
6
|
); |
|
1
|
|
|
|
|
3
|
|
12
|
1
|
|
|
1
|
|
6
|
use constant DISPATCH_FIELD => 'Type'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
407
|
|
13
|
1
|
|
|
|
|
202
|
use constant DISPATCH_TABLE => ( |
14
|
|
|
|
|
|
|
d3a088 => 'MFC', # Medium Finishing Control |
15
|
|
|
|
|
|
|
d3a090 => 'TLE', # Tag Logical Element |
16
|
|
|
|
|
|
|
d3a288 => 'MCC', # Medium Copy Count |
17
|
|
|
|
|
|
|
d3a66b => 'OBD', # Object Area Descriptor |
18
|
|
|
|
|
|
|
d3a67b => 'IID', # IM Image Input Descriptor (C) |
19
|
|
|
|
|
|
|
d3a688 => 'MDD', # Medium Descriptor |
20
|
|
|
|
|
|
|
d3a692 => 'CDD', # Container Data Descriptor |
21
|
|
|
|
|
|
|
d3a69b => 'PTD1', # Presentation Text Descriptor Format-1 (C) |
22
|
|
|
|
|
|
|
d3a6af => 'PGD', # Page Descriptor |
23
|
|
|
|
|
|
|
d3a6bb => 'GDD', # Graphics Data Descriptor |
24
|
|
|
|
|
|
|
d3a6c5 => 'FGD', # Form Environment Group Descriptor (O) |
25
|
|
|
|
|
|
|
d3a6e3 => 'DXD', # Data Map Transmission Subcase Descriptor |
26
|
|
|
|
|
|
|
d3a6e7 => 'LND', # Line Descriptor |
27
|
|
|
|
|
|
|
d3a6eb => 'BDD', # Bar Code Data Descriptor |
28
|
|
|
|
|
|
|
d3a6fb => 'IDD', # Image Data Descriptor |
29
|
|
|
|
|
|
|
d3a77b => 'IOC', # IM Image Output Control (C) |
30
|
|
|
|
|
|
|
d3a788 => 'MMC', # Medium Modification Control |
31
|
|
|
|
|
|
|
d3a79b => 'CTC', # Composed Text Control (O) |
32
|
|
|
|
|
|
|
d3a7af => 'PMC', # Page Modification Control |
33
|
|
|
|
|
|
|
d3a85f => 'BPS', # Begin Page Segment |
34
|
|
|
|
|
|
|
d3a877 => 'BCA', # Begin Color Attribute Table |
35
|
|
|
|
|
|
|
d3a87b => 'BII', # Begin IM Image (C) |
36
|
|
|
|
|
|
|
d3a892 => 'BOC', # Begin Object Container |
37
|
|
|
|
|
|
|
d3a89b => 'BPT', # Begin Presentation Text Object |
38
|
|
|
|
|
|
|
d3a8a7 => 'BDI', # Begin Document Index |
39
|
|
|
|
|
|
|
d3a8a8 => 'BDT', # Begin Document |
40
|
|
|
|
|
|
|
d3a8ad => 'BNG', # Begin Named Page Group |
41
|
|
|
|
|
|
|
d3a8af => 'BPG', # Begin Page |
42
|
|
|
|
|
|
|
d3a8bb => 'BGR', # Begin Graphics Object |
43
|
|
|
|
|
|
|
d3a8c4 => 'BDG', # Begin Document Environment Group |
44
|
|
|
|
|
|
|
d3a8c5 => 'BFG', # Begin Form Environment Group (O) |
45
|
|
|
|
|
|
|
d3a8c6 => 'BRG', # Begin Resource Group |
46
|
|
|
|
|
|
|
d3a8c7 => 'BOG', # Begin Object Environment Group |
47
|
|
|
|
|
|
|
d3a8c9 => 'BAG', # Begin Active Environment Group |
48
|
|
|
|
|
|
|
d3a8ca => 'BDM', # Begin Data Map |
49
|
|
|
|
|
|
|
d3a8cb => 'BPM', # Begin Page Map |
50
|
|
|
|
|
|
|
d3a8cc => 'BMM', # Begin Medium Map |
51
|
|
|
|
|
|
|
d3a8cd => 'BFM', # Begin Form Map |
52
|
|
|
|
|
|
|
d3a8ce => 'BR', # Begin Resource (R) |
53
|
|
|
|
|
|
|
d3a8d9 => 'BSG', # Begin Resource Environment Group |
54
|
|
|
|
|
|
|
d3a8df => 'BMO', # Begin Overlay |
55
|
|
|
|
|
|
|
d3a8e3 => 'BDX', # Begin Data Map Transmission Subcase |
56
|
|
|
|
|
|
|
d3a8eb => 'BBC', # Begin Bar Code Object |
57
|
|
|
|
|
|
|
d3a8fb => 'BIM', # Begin Image Object |
58
|
|
|
|
|
|
|
d3a95f => 'EPS', # End Page Segment |
59
|
|
|
|
|
|
|
d3a977 => 'ECA', # End Color Attribute Table |
60
|
|
|
|
|
|
|
d3a97b => 'EII', # End IM Image (C) |
61
|
|
|
|
|
|
|
d3a992 => 'EOC', # End Object Container |
62
|
|
|
|
|
|
|
d3a99b => 'EPT', # End Presentation Text Object |
63
|
|
|
|
|
|
|
d3a9a7 => 'EDI', # End Document Index |
64
|
|
|
|
|
|
|
d3a9a8 => 'EDT', # End Document |
65
|
|
|
|
|
|
|
d3a9ad => 'ENG', # End Named Page Group |
66
|
|
|
|
|
|
|
d3a9af => 'EPG', # End Page |
67
|
|
|
|
|
|
|
d3a9bb => 'EGR', # End Graphics Object |
68
|
|
|
|
|
|
|
d3a9c4 => 'EDG', # End Document Environment Group |
69
|
|
|
|
|
|
|
d3a9c5 => 'EFG', # End Form Environment Group (O) |
70
|
|
|
|
|
|
|
d3a9c6 => 'ERG', # End Resource Group |
71
|
|
|
|
|
|
|
d3a9c7 => 'EOG', # End Object Environment Group |
72
|
|
|
|
|
|
|
d3a9c9 => 'EAG', # End Active Environment Group |
73
|
|
|
|
|
|
|
d3a9ca => 'EDM', # End Data Map |
74
|
|
|
|
|
|
|
d3a9cb => 'EPM', # End Page Map |
75
|
|
|
|
|
|
|
d3a9cc => 'EMM', # End Medium Map |
76
|
|
|
|
|
|
|
d3a9cd => 'EFM', # End Form Map |
77
|
|
|
|
|
|
|
d3a9ce => 'ER', # End Resource (R) |
78
|
|
|
|
|
|
|
d3a9d9 => 'ESG', # End Resource Environment Group |
79
|
|
|
|
|
|
|
d3a9df => 'EMO', # End Overlay |
80
|
|
|
|
|
|
|
d3a9e3 => 'EDX', # End Data Map Transmission Subcase |
81
|
|
|
|
|
|
|
d3a9eb => 'EBC', # End Bar Code Object |
82
|
|
|
|
|
|
|
d3a9fb => 'EIM', # End Image Object |
83
|
|
|
|
|
|
|
d3aae7 => 'LNC', # Line Descriptor Count |
84
|
|
|
|
|
|
|
d3ab77 => 'MCA', # Map Color Attribute Table |
85
|
|
|
|
|
|
|
d3ab88 => 'MMT', # Map Media Type |
86
|
|
|
|
|
|
|
d3ab8a => 'MCF', # Map Coded Font |
87
|
|
|
|
|
|
|
d3ab92 => 'MCD', # Map Container Data |
88
|
|
|
|
|
|
|
d3abaf => 'MPG', # Map Page |
89
|
|
|
|
|
|
|
d3abbb => 'MGO', # Map Graphics Object |
90
|
|
|
|
|
|
|
d3abc3 => 'MDR', # Map Data Resource |
91
|
|
|
|
|
|
|
d3abcc => 'IMM', # Invoke Medium Map |
92
|
|
|
|
|
|
|
d3abd8 => 'MPO', # Map Page Overlay |
93
|
|
|
|
|
|
|
d3abea => 'MSU', # Map Suppression |
94
|
|
|
|
|
|
|
d3abeb => 'MBC', # Map Bar Code Object |
95
|
|
|
|
|
|
|
d3abfb => 'MIO', # Map Image Object |
96
|
|
|
|
|
|
|
d3ac6b => 'OBP', # Object Area Position |
97
|
|
|
|
|
|
|
d3ac7b => 'ICP', # IM Image Cell Position (C) |
98
|
|
|
|
|
|
|
d3acaf => 'PGP1', # Page Position Format-1 (C) |
99
|
|
|
|
|
|
|
d3af5f => 'IPS', # Include Page Segment |
100
|
|
|
|
|
|
|
d3afaf => 'IPG', # Include Page |
101
|
|
|
|
|
|
|
d3afc3 => 'IOB', # Include Object |
102
|
|
|
|
|
|
|
d3afd8 => 'IPO', # Include Page Overlay |
103
|
|
|
|
|
|
|
d3b077 => 'CAT', # Color Attribute Table |
104
|
|
|
|
|
|
|
d3b15f => 'MPS', # Map Page Segment |
105
|
|
|
|
|
|
|
d3b18a => 'MCF1', # Map Coded Font Format-1 (C) |
106
|
|
|
|
|
|
|
d3b19b => 'PTD', # Presentation Text Data Descriptor |
107
|
|
|
|
|
|
|
d3b1af => 'PGP', # Page Position |
108
|
|
|
|
|
|
|
d3b1df => 'MMO', # Map Medium Overlay |
109
|
|
|
|
|
|
|
d3b288 => 'PFC', # Presentation Fidelity Control |
110
|
|
|
|
|
|
|
d3b2a7 => 'IEL', # Index Element |
111
|
|
|
|
|
|
|
d3b490 => 'LLE', # Link Logical Element |
112
|
|
|
|
|
|
|
d3ee7b => 'IRD', # IM Image Raster Data (C) |
113
|
|
|
|
|
|
|
d3ee92 => 'OCD', # Object Container Data |
114
|
|
|
|
|
|
|
d3ee9b => 'PTX', # Presentation Text Data |
115
|
|
|
|
|
|
|
d3eebb => 'GAD', # Graphics Data |
116
|
|
|
|
|
|
|
d3eeeb => 'BDA', # Bar Code Data |
117
|
|
|
|
|
|
|
d3eeee => 'NOP', # No Operation |
118
|
|
|
|
|
|
|
d3eefb => 'IPD', # Image Picture Data |
119
|
|
|
|
|
|
|
d3a88a => 'BCF', # Begin Coded Font |
120
|
|
|
|
|
|
|
d3a887 => 'BCP', # Begin Code Page |
121
|
|
|
|
|
|
|
d3a889 => 'BFN', # Begin Font |
122
|
|
|
|
|
|
|
d3a78a => 'CFC', # Coded Font Control |
123
|
|
|
|
|
|
|
d38c8a => 'CFI', # Coded Font Index |
124
|
|
|
|
|
|
|
d3a787 => 'CPC', # Code Page Control |
125
|
|
|
|
|
|
|
d3a687 => 'CPD', # Code Page Descriptor |
126
|
|
|
|
|
|
|
d38c87 => 'CPI', # Code Page Index |
127
|
|
|
|
|
|
|
d3a98a => 'ECF', # End Coded Font |
128
|
|
|
|
|
|
|
d3a987 => 'ECP', # End Code Page |
129
|
|
|
|
|
|
|
d3a989 => 'EFN', # End Font |
130
|
|
|
|
|
|
|
d3a789 => 'FNC', # Font Control |
131
|
|
|
|
|
|
|
d3a689 => 'FND', # Font Descriptor |
132
|
|
|
|
|
|
|
d3ee89 => 'FNG', # Font Patterns |
133
|
|
|
|
|
|
|
d38c89 => 'FNI', # Font Index |
134
|
|
|
|
|
|
|
d3a289 => 'FNM', # Font Patterns Map |
135
|
|
|
|
|
|
|
d3ab89 => 'FNN', # Font Names (Outline Fonts Only) |
136
|
|
|
|
|
|
|
d3ae89 => 'FNO', # Font Orientation |
137
|
|
|
|
|
|
|
d3ac89 => 'FNP', # Font Position |
138
|
1
|
|
|
1
|
|
6
|
); |
|
1
|
|
|
|
|
2
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
1; |