line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Parse::AFP::Triplet; |
2
|
1
|
|
|
1
|
|
1411
|
use base 'Parse::AFP::Base'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
99
|
|
3
|
1
|
|
|
|
|
66
|
use constant FORMAT => ( |
4
|
|
|
|
|
|
|
Length => 'C', # length() + 2 |
5
|
|
|
|
|
|
|
Type => 'H2', |
6
|
|
|
|
|
|
|
Data => 'a*', |
7
|
1
|
|
|
1
|
|
6
|
); |
|
1
|
|
|
|
|
3
|
|
8
|
1
|
|
|
1
|
|
6
|
use constant DISPATCH_FIELD => 'Type'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
260
|
|
9
|
1
|
|
|
|
|
117
|
use constant DISPATCH_TABLE => ( |
10
|
|
|
|
|
|
|
'01' => 'Triplet::CGCSGI', # Coded Graphic Character Set Global ID |
11
|
|
|
|
|
|
|
'02' => 'Triplet::FQN', # Fully Qualified Name |
12
|
|
|
|
|
|
|
'04' => 'Triplet::MO', # Mapping Option |
13
|
|
|
|
|
|
|
'10' => 'Triplet::OCL', # Object Classification |
14
|
|
|
|
|
|
|
'18' => 'Triplet::MIS', # MO:DCA Interchange Set |
15
|
|
|
|
|
|
|
'1d' => 'Triplet::TO', # Text Orientation (R) |
16
|
|
|
|
|
|
|
'1f' => 'Triplet::FDS', # Font Descriptor Specification |
17
|
|
|
|
|
|
|
'20' => 'Triplet::FCGCSGI', # Font Coded Graphic Character Set Global Identifier |
18
|
|
|
|
|
|
|
'21' => 'Triplet::OFSS', # Object Function Set Specification |
19
|
|
|
|
|
|
|
'21' => 'Triplet::ROT', # Resource Object Type (R) |
20
|
|
|
|
|
|
|
'22' => 'Triplet::ERLI', # Extended Resource Local ID |
21
|
|
|
|
|
|
|
'24' => 'Triplet::RLI', # Resource Local ID |
22
|
|
|
|
|
|
|
'25' => 'Triplet::RSN', # Resource Section Number |
23
|
|
|
|
|
|
|
'26' => 'Triplet::CR', # Character Rotation |
24
|
|
|
|
|
|
|
'27' => 'Triplet::LDOPM', # Line Data Object Position Migration (R) |
25
|
|
|
|
|
|
|
'2d' => 'Triplet::OBO', # Object Byte Offset |
26
|
|
|
|
|
|
|
'36' => 'Triplet::AV', # Attribute Value |
27
|
|
|
|
|
|
|
'43' => 'Triplet::DP', # Descriptor Position |
28
|
|
|
|
|
|
|
'45' => 'Triplet::MEC', # Media Eject Control |
29
|
|
|
|
|
|
|
'46' => 'Triplet::POCP', # Page Overlay Conditional Processing |
30
|
|
|
|
|
|
|
'47' => 'Triplet::RUA', # Resource Usage Attribute |
31
|
|
|
|
|
|
|
'4b' => 'Triplet::OAMU', # Object Area Measurement Units |
32
|
|
|
|
|
|
|
'4c' => 'Triplet::OAS', # Object Area Size |
33
|
|
|
|
|
|
|
'4d' => 'Triplet::AD', # Area Definition |
34
|
|
|
|
|
|
|
'4e' => 'Triplet::CS', # Color Specification |
35
|
|
|
|
|
|
|
'50' => 'Triplet::ESI', # Encoding Scheme ID |
36
|
|
|
|
|
|
|
'56' => 'Triplet::MMPN', # Medium Map Page Number |
37
|
|
|
|
|
|
|
'57' => 'Triplet::OBE', # Object Byte Extent |
38
|
|
|
|
|
|
|
'58' => 'Triplet::OSFO', # Object Structured Field Offset |
39
|
|
|
|
|
|
|
'59' => 'Triplet::OSFE', # Object Structured Field Extent |
40
|
|
|
|
|
|
|
'5a' => 'Triplet::OO', # Object Offset |
41
|
|
|
|
|
|
|
'5d' => 'Triplet::FHSF', # Font Horizontal Scale Factor |
42
|
|
|
|
|
|
|
'5e' => 'Triplet::OCO', # Object Count |
43
|
|
|
|
|
|
|
'62' => 'Triplet::LDTS', # Local Date and Time Stamp |
44
|
|
|
|
|
|
|
'63' => 'Triplet::OCH', # Object Checksum (R) |
45
|
|
|
|
|
|
|
'64' => 'Triplet::OOI', # Object Origin Identifier (R) |
46
|
|
|
|
|
|
|
'65' => 'Triplet::C', # Comment |
47
|
|
|
|
|
|
|
'68' => 'Triplet::MOR', # Medium Orientation |
48
|
|
|
|
|
|
|
'6c' => 'Triplet::ROI', # Resource Object Include |
49
|
|
|
|
|
|
|
'70' => 'Triplet::PSRM', # Presentation Space Reset Mixing |
50
|
|
|
|
|
|
|
'71' => 'Triplet::PSMR', # Presentation Space Mixing Rules |
51
|
|
|
|
|
|
|
'72' => 'Triplet::UDTS', # Universal Date and Time Stamp |
52
|
|
|
|
|
|
|
'73' => 'Triplet::II', # IMM Insertion (R) |
53
|
|
|
|
|
|
|
'74' => 'Triplet::TS', # Toner Saver |
54
|
|
|
|
|
|
|
'75' => 'Triplet::CF', # Color Fidelity |
55
|
|
|
|
|
|
|
'78' => 'Triplet::FF', # Font Fidelity |
56
|
|
|
|
|
|
|
'80' => 'Triplet::AQ', # Attribute Qualifier |
57
|
|
|
|
|
|
|
'81' => 'Triplet::PPI', # Page Position Information |
58
|
|
|
|
|
|
|
'82' => 'Triplet::PV', # Parameter Value |
59
|
|
|
|
|
|
|
'83' => 'Triplet::PC', # Presentation Control |
60
|
|
|
|
|
|
|
'84' => 'Triplet::FRMT', # Font Resolution and Metric Technology |
61
|
|
|
|
|
|
|
'85' => 'Triplet::FO', # Finishing Operation |
62
|
|
|
|
|
|
|
'87' => 'Triplet::MF', # Media Fidelity |
63
|
|
|
|
|
|
|
'63' => 'Triplet::T1CRMT', # Type 1 - CRC Resource Management Triplet |
64
|
|
|
|
|
|
|
'63' => 'Triplet::T2FRMT', # Type 2 - Font Resource Management Triplet |
65
|
|
|
|
|
|
|
'6d' => 'Triplet::EF', # Extension Font |
66
|
|
|
|
|
|
|
'79' => 'Triplet::MA', # Metric Adjustment |
67
|
1
|
|
|
1
|
|
7
|
); |
|
1
|
|
|
|
|
2
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
1; |