1
2
3
4
5 dcl max_image_lines
6 fixed static options (constant) init (1000);
7 dcl max_cols fixed static options (constant) init (20);
8
9 dcl page_version fixed bin static options (constant) init (5);
10
11 dcl 1 page aligned based (const.page_ptr),
12 2 version fixed bin,
13 2 parms aligned like page_parms,
14
15 2 hdr aligned like page_header,
16
17 2 image_ptr ptr,
18 2 column_ptr (0:20) ptr,
19 2 col_image_ptr
20 (-2:21) ptr;
21
22
23
24
25
26
27 dcl 1 page_header aligned based (const.page_header_ptr),
28 2 sws,
29 3 art bit (1) unal,
30 3 blankpage
31 bit (1) unal,
32 3 frontpage
33 bit (1) unal,
34 3 headed bit (1) unal,
35 3 modified bit (1) unal,
36 3 overflow bit (1) unal,
37 3 MBZ bit (12) unal,
38 3 dot_addltr
39 char (1) unal,
40 3 pgc_select
41 char (1) unal,
42 2 baldepth fixed bin (31),
43 2 balusd fixed bin (31),
44 2 col_count fixed bin,
45 2 col_index fixed bin,
46 2 depth fixed bin (31),
47 2 hdspc fixed bin (31),
48 2 lmarg fixed bin (31),
49 2 net fixed bin (31),
50 2 pageno char (32) var,
51 2 used fixed bin (31);
52
53 dcl page_image_version
54 fixed bin (35) static options (constant) init (2);
55
56 dcl 1 page_image aligned based (page.image_ptr),
57 2 version fixed bin (35),
58 2 count fixed bin,
59 2 file_id char (32) var,
60 2 func fixed bin,
61
62 2 text_ptr ptr,
63
64 2 line (max_image_lines),
65 3 sws,
66 4 quad bit (6) unal,
67 4 art bit (1) unal,
68 4 cbar bit (1) unal,
69 4 mrgtxt bit (1) unal, note
70 4 white bit (1) unal,
71 4 MBZ bit (26) unal,
72 3 depth fixed bin (31),
73 3 gaps fixed bin,
74 3 info like text_entry.info,
75
76 3 lead fixed bin (31),
77 3 lfnt fixed bin,
78 3 lmarg fixed bin (31),
79 3 lsize fixed bin (31),
80 3 net fixed bin (31),
81 3 pos fixed bin (31),
82 3 ptr ptr,
83 3 rmarg fixed bin (31),
84 3 width fixed bin (31);
85
86 dcl 1 page_parms aligned based (const.page_parms_ptr),
87 2 init_page_depth
88 fixed bin (31),
89 2 length fixed bin (31),
90 2 lmarg,
91 3 even fixed bin (31),
92 3 odd fixed bin (31),
93 2 margin,
94 3 top fixed bin (31),
95 3 header fixed bin (31),
96 3 footer fixed bin (31),
97 3 bottom fixed bin (31),
98 2 measure fixed bin (31),
99 2 net,
100 3 even fixed bin (31),
101 3 odd fixed bin (31),
102
103 2 cols,
104 3 bal bit (1) unal,
105 3 MBZ bit (17) unal,
106 3 count fixed bin unal;
107
108 dcl 1 init_page_parms
109 aligned like page_parms
110 based (const.init_page_parms_ptr);
111
112