1-- Module Layout-Descriptors (T.415:03/1993)
2
3Layout-Descriptors {2 8 1 5 8} DEFINITIONS ::=
4BEGIN
5
6EXPORTS
7  Layout-Object-Descriptor, Layout-Class-Descriptor, Layout-Object-Type,
8    Transparency, Comment-String, Binding-Pair, One-Of-Four-Angles,
9    Measure-Pair, Dimension-Pair, Medium-Type, Colour, Border,
10    Content-Background-Colour, Content-Foreground-Colour, Enciphered,
11    Sealed;
12
13IMPORTS
14  Object-or-Class-Identifier, Style-Identifier, Protected-Part-Identifier,
15    Category-Name, Resource-Name, Binding-Name, Construction-Expression,
16    Object-Id-Expression, Numeric-Expression, String-Expression
17    FROM Identifiers-and-Expressions --  see 7.8
18
19  Presentation-Attributes
20    FROM Style-Descriptors --  see 7.11
21
22  Default-Value-Lists-Layout
23    FROM Default-Value-Lists --  see 7.12
24
25  Colour-Expression, Colour-Table
26    FROM Colour-Attributes --  see 7.14
27
28  Presentation-Time
29    FROM Temporal-Relationships {2 8 1 14 0};
30
31--  See ITU-T Rec. T.424 | ISO/IEC 8613-14
32Position-Spec ::= SET {
33  offset
34    [0] IMPLICIT SET {leading     [0] IMPLICIT INTEGER OPTIONAL,
35                      trailing    [1] IMPLICIT INTEGER OPTIONAL,
36                      left-hand   [2] IMPLICIT INTEGER OPTIONAL,
37                      right-hand  [3] IMPLICIT INTEGER OPTIONAL} OPTIONAL,
38  separation
39    [1] IMPLICIT SET {leading   [0] IMPLICIT INTEGER OPTIONAL,
40                      trailing  [1] IMPLICIT INTEGER OPTIONAL,
41                      centre    [2] IMPLICIT INTEGER OPTIONAL} OPTIONAL,
42  alignment
43    [2] IMPLICIT INTEGER {right-hand(0), centred(1), left-hand(2)} OPTIONAL,
44  fill-order  [3] IMPLICIT INTEGER {normal(0), reverse(1)} OPTIONAL
45}
46
47Dimension-Pair ::= SEQUENCE {
48  horizontal
49    CHOICE {fixed        [0] IMPLICIT INTEGER,
50            not-present  [4] IMPLICIT NULL},
51  vertical
52    CHOICE {fixed        [0] IMPLICIT INTEGER,
53            variable     [1] IMPLICIT INTEGER,
54            not-present  [4] IMPLICIT NULL}
55}
56
57--  the choice 'not-present' indicates that the parameter is not present
58Dimension-Spec ::= SEQUENCE {horizontal  Dimension,
59                             vertical    Dimension
60}
61
62Dimension ::= CHOICE {
63  fixed         [0] IMPLICIT INTEGER,
64  rule-a
65    [1] IMPLICIT SET {minimum  [0] IMPLICIT INTEGER OPTIONAL,
66                      maximum  [1] IMPLICIT INTEGER OPTIONAL},
67  rule-b
68    [2] IMPLICIT SET {minimum  [0] IMPLICIT INTEGER OPTIONAL,
69                      maximum  [1] IMPLICIT INTEGER OPTIONAL},
70  maximum-size  [3] IMPLICIT NULL,
71  not-present   [4] IMPLICIT NULL
72}
73
74--  the choice 'not-present' indicates that the parameter is not present
75Transparency ::= INTEGER {transparent(0), opaque(1)}
76
77Comment-String ::= OCTET STRING
78
79--  string of characters from the sets designated by
80--  the document profile attribute "comments character sets",
81--  plus code extension control functions,
82--  space, carriage return and line feed
83Binding-Pair ::= SET {
84  binding-identifier  [0] IMPLICIT Binding-Name,
85  binding-value
86    CHOICE {a  [1]  Object-Id-Expression,
87            b  [2]  Numeric-Expression,
88            c  [3]  String-Expression,
89            d  [4] IMPLICIT Object-or-Class-Identifier,
90            e  [5] IMPLICIT INTEGER,
91            f  [6] IMPLICIT OCTET STRING}
92}
93
94One-Of-Four-Angles ::= INTEGER {d0(0), d90(1), d180(2), d270(3)}
95
96Measure-Pair ::= SEQUENCE {
97  horizontal
98    CHOICE {fixed        [0] IMPLICIT INTEGER,
99            not-present  [4] IMPLICIT NULL},
100  vertical
101    CHOICE {fixed        [0] IMPLICIT INTEGER,
102            not-present  [4] IMPLICIT NULL}
103}
104
105--  the choice 'not-present' indicates that the parameter is not present
106Medium-Type ::= SEQUENCE {
107  nominal-page-size  Measure-Pair OPTIONAL,
108  side-of-sheet      INTEGER {unspecified(0), recto(1), verso(2)} OPTIONAL,
109  colour-of-medium   [3]  Colour-Of-Medium OPTIONAL
110}
111
112Colour ::= INTEGER {colour-of-media(0), coloured(1)}
113
114Border ::= SET {
115  left-hand-edge   [0] IMPLICIT Border-Edge OPTIONAL,
116  right-hand-edge  [1] IMPLICIT Border-Edge OPTIONAL,
117  trailing-edge    [2] IMPLICIT Border-Edge OPTIONAL,
118  leading-edge     [3] IMPLICIT Border-Edge OPTIONAL
119}
120
121Border-Edge ::= SET {
122  line-width          [0] IMPLICIT INTEGER OPTIONAL,
123  line-type
124    [1] IMPLICIT INTEGER {invisible(0), solid(1), dashed(2), dot(3),
125                          dash-dot(4), dash-dot-dot(5)} OPTIONAL,
126  freespace-width     [2] IMPLICIT INTEGER OPTIONAL,
127  border-line-colour  [3]  Border-Line-Colour OPTIONAL
128}
129
130--  a 'null' border edge is represented by an empty set
131Colour-Of-Medium ::= CHOICE {
132  unspecified-colour  [3] IMPLICIT NULL,
133  specified-colour    Colour-Expression
134}
135
136Border-Line-Colour ::= CHOICE {
137  implementation-defined  [3] IMPLICIT NULL,
138  colour-expression       Colour-Expression
139}
140
141Content-Background-Colour ::= CHOICE {
142  content-background-transparency  [2] IMPLICIT NULL,
143  colour-expression                Colour-Expression
144}
145
146Content-Foreground-Colour ::= CHOICE {
147  implementation-defined           [3] IMPLICIT NULL,
148  content-foreground-transparency  [2] IMPLICIT NULL,
149  colour-expression                Colour-Expression
150}
151
152Enciphered ::= SEQUENCE {
153  enciphered-subordinates
154    CHOICE {none-all  [0] IMPLICIT INTEGER {none(0), all(1)},
155            partial   [1] IMPLICIT SEQUENCE OF NumericString},
156  protected-part-id        [2] IMPLICIT Protected-Part-Identifier OPTIONAL
157}
158
159Sealed ::= SEQUENCE {
160  sealed-status  [0] IMPLICIT INTEGER {no(0), yes(1)},
161  seal-ids       [1] IMPLICIT SET OF INTEGER OPTIONAL
162}
163
164Layout-Object-Descriptor ::= SEQUENCE {
165  object-type      Layout-Object-Type OPTIONAL,
166  descriptor-body  Layout-Object-Descriptor-Body OPTIONAL
167}
168
169Layout-Object-Type ::= INTEGER {
170  document-layout-root(0), page-set(1), page(2), frame(3), block(4)}
171
172Layout-Object-Descriptor-Body ::= SET {
173  object-identifier             Object-or-Class-Identifier OPTIONAL,
174  subordinates                  [0] IMPLICIT SEQUENCE OF NumericString OPTIONAL,
175  content-portions              [1] IMPLICIT SEQUENCE OF NumericString OPTIONAL,
176  object-class
177    [2] IMPLICIT Object-or-Class-Identifier OPTIONAL,
178  position                      [3] IMPLICIT Measure-Pair OPTIONAL,
179  dimensions                    [4] IMPLICIT Dimension-Pair OPTIONAL,
180  transparency                  [5] IMPLICIT Transparency OPTIONAL,
181  presentation-attributes       [6] IMPLICIT Presentation-Attributes OPTIONAL,
182  default-value-lists
183    [7] IMPLICIT Default-Value-Lists-Layout OPTIONAL,
184  user-readable-comments        [8] IMPLICIT Comment-String OPTIONAL,
185  bindings                      [9] IMPLICIT SET OF Binding-Pair OPTIONAL,
186  layout-path                   [11] IMPLICIT One-Of-Four-Angles OPTIONAL,
187  imaging-order
188    [12] IMPLICIT SEQUENCE OF NumericString OPTIONAL,
189  layout-stream-categories      [36] IMPLICIT SET OF Category-Name OPTIONAL,
190  layout-stream-sub-categories  [37] IMPLICIT SET OF Category-Name OPTIONAL,
191  permitted-categories          [13] IMPLICIT SET OF Category-Name OPTIONAL,
192  --  a 'null' value is represented by an empty set
193  user-visible-name             [14] IMPLICIT Comment-String OPTIONAL,
194  page-position                 [15] IMPLICIT Measure-Pair OPTIONAL,
195  medium-type                   [16] IMPLICIT Medium-Type OPTIONAL,
196  presentation-style            [17] IMPLICIT Style-Identifier OPTIONAL,
197  balance
198    [21] IMPLICIT SEQUENCE OF Object-or-Class-Identifier OPTIONAL,
199  --  a 'null' value is represented by an empty sequence
200  colour                        [22] IMPLICIT Colour OPTIONAL,
201  colour-of-layout-object       [29]  Colour-Expression OPTIONAL,
202  object-colour-table           [30] IMPLICIT Colour-Table OPTIONAL,
203  content-background-colour     [31]  Content-Background-Colour OPTIONAL,
204  content-foreground-colour     [32]  Content-Foreground-Colour OPTIONAL,
205  content-colour-table          [33] IMPLICIT Colour-Table OPTIONAL,
206  border                        [23] IMPLICIT Border OPTIONAL,
207  application-comments          [25] IMPLICIT OCTET STRING OPTIONAL,
208  primary
209    [27] IMPLICIT Object-or-Class-Identifier OPTIONAL,
210  alternative
211    [28] IMPLICIT Object-or-Class-Identifier OPTIONAL,
212  enciphered                    [34] IMPLICIT Enciphered OPTIONAL,
213  sealed                        [35] IMPLICIT Sealed OPTIONAL,
214  presentation-time             [52] IMPLICIT Presentation-Time OPTIONAL
215}
216
217Layout-Class-Descriptor ::= SEQUENCE {
218  object-type      Layout-Object-Type,
219  descriptor-body  Layout-Class-Descriptor-Body
220}
221
222Layout-Class-Descriptor-Body ::= SET {
223  object-class-identifier       Object-or-Class-Identifier,
224  generator-for-subordinates    [0]  Construction-Expression OPTIONAL,
225  content-portions              [1] IMPLICIT SEQUENCE OF NumericString OPTIONAL,
226  position
227    CHOICE {fixed-position     [3] IMPLICIT Measure-Pair,
228            variable-position  [26] IMPLICIT Position-Spec} OPTIONAL,
229  dimensions                    [4] IMPLICIT Dimension-Spec OPTIONAL,
230  transparency                  [5] IMPLICIT Transparency OPTIONAL,
231  presentation-attributes       [6] IMPLICIT Presentation-Attributes OPTIONAL,
232  default-value-lists
233    [7] IMPLICIT Default-Value-Lists-Layout OPTIONAL,
234  user-readable-comments        [8] IMPLICIT Comment-String OPTIONAL,
235  bindings                      [9] IMPLICIT SET OF Binding-Pair OPTIONAL,
236  content-generator             [10] IMPLICIT String-Expression OPTIONAL,
237  layout-path                   [11] IMPLICIT One-Of-Four-Angles OPTIONAL,
238  layout-stream-categories      [36] IMPLICIT SET OF Category-Name OPTIONAL,
239  layout-stream-sub-categories  [37] IMPLICIT SET OF Category-Name OPTIONAL,
240  permitted-categories          [13] IMPLICIT SET OF Category-Name OPTIONAL,
241  --  a 'null' value is represented by an empty set
242  user-visible-name             [14] IMPLICIT Comment-String OPTIONAL,
243  page-position                 [15] IMPLICIT Measure-Pair OPTIONAL,
244  medium-type                   [16] IMPLICIT Medium-Type OPTIONAL,
245  presentation-style            [17] IMPLICIT Style-Identifier OPTIONAL,
246  logical-source
247    [18] IMPLICIT Object-or-Class-Identifier OPTIONAL,
248  balance
249    [21] IMPLICIT SEQUENCE OF Object-or-Class-Identifier OPTIONAL,
250  --  a 'null' value is represented by an empty sequence
251  colour                        [22] IMPLICIT Colour OPTIONAL,
252  colour-of-layout-object       [29]  Colour-Expression OPTIONAL,
253  object-colour-table           [30] IMPLICIT Colour-Table OPTIONAL,
254  content-background-colour     [31]  Content-Background-Colour OPTIONAL,
255  content-foreground-colour     [32]  Content-Foreground-Colour OPTIONAL,
256  content-colour-table          [33] IMPLICIT Colour-Table OPTIONAL,
257  border                        [23] IMPLICIT Border OPTIONAL,
258  resource                      [24] IMPLICIT Resource-Name OPTIONAL,
259  application-comments          [25] IMPLICIT OCTET STRING OPTIONAL,
260  enciphered                    [34] IMPLICIT Enciphered OPTIONAL,
261  sealed                        [35] IMPLICIT Sealed OPTIONAL,
262  presentation-time             [52] IMPLICIT Presentation-Time OPTIONAL
263}
264
265END
266
267-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
268
269