Noeud:Collection of Regions, Noeud « Next »:Callout List, Noeud « Previous »:Program Listing With Areas, Noeud « Up »:Program Listing With Areas
Attributes : Units
, OtherUnits
, Coords
.
A collection of regions AreaSpec
is composed of one or several of the
following elements, in any order:
Area
,
AreaSet
.
A set of regions AreaSet
is composed of one or several regions
Area
.
The AreaSpec
, AreaSet
and Area
elements accept the
Units
and OtherUnits
attributes, defining in which unit are
defined the coordinates specified by the included Area
element.
The Units
attribute can get the following values:
CALSPair x1,y1 x2,y2
ProgramListing
or Screen
.
LineColumn line column
LineRange start_line end_line
LineColumnPair line1 column1 line2 coumn2
Other
OtherUnits
attribute defines the unit for the coordinates.
The default value for the Units
attribute depends on the parent
element. For ProgramListingCO
or ScreenCO
elements, the
default value is LineColumn
.
The OtherUnits
attribute is used when the value of Units
is
Other
. The possible values for OtherUnits
are defined by the
processing system.
If the Units
and OtherUnits
attributes are not defined in
AreaSet
or Area
elements, their values are inherited from
AreaSpec
or AreaSet
parent elements.
The Area
element is used to define the Coords
attribute, giving
the area coordinates, in the unit defined by the Units
attribute of
the current or parent element.
The AreaSet
element must also contain a Coords
attribute, but
the value of this attribute is not used. As a matter of fact, the
Coords
attribute has to be redefined in the Area
elements
contained in an AreaSet
.
Last, an ID
attribute must be defined for the AreaSet
and
Area
elements. This ID
will permit to reference the
corresponding area or the area set from the CalloutList
element
included in the same ProgramListingCO
or ScreenCO
element.
When the ProgramListing
element is found inside a
ProgramListingCO
element, it is better to use an area specification
AreaSpec
instead of CO
elements to define areas inside the
program listing.