Application module: Text appearance | ISO/TS 10303-1136:2014-02(E) © ISO |
This clause specifies the information requirements for the Text appearance application module. The information requirements are specified as the Application Reference Model (ARM) of this application module.
NOTE 1 A graphical representation of the information requirements is given in Annex C.
NOTE 2 The mapping specification is specified in 5.1. It shows how the information requirements are met by using common resources and constructs defined or imported in the MIM schema of this application module.
This clause defines the information requirements to which implementations shall conform using the EXPRESS language as defined in ISO 10303-11. The following begins the Text_appearance_arm schema and identifies the necessary external references.
EXPRESS specification:
*)
SCHEMA Text_appearance_arm;
(*
The following EXPRESS interface statement specifies the elements imported from the ARM of another application module.
EXPRESS specification:
*)
USE FROM
Basic_geometry_arm;
--
ISO/TS 10303-1652
(*
NOTE 1 The schemas referenced above are specified in the following part of ISO 10303:
Basic_geometry_arm ISO/TS 10303-1652
NOTE 2 See Annex C, Figures C.1and C.2 for a graphical representation of this schema.
This subclause specifies the ARM types for this application module. The ARM types and definitions are specified below.
The composite_text_element_select type is an extensible list of alternate data types that allows for the designation of the data types Composite_presentable_text, Defined_character_glyph and Text_literal.
NOTE The list of entity data types may be extended in application modules that use the constructs of this module.
EXPRESS specification:
*)
TYPE
composite_text_element_select =
EXTENSIBLE
GENERIC_ENTITY
SELECT
(Composite_presentable_text,
Defined_character_glyph,
Text_literal);
END_TYPE;
(*
The font_select type is an extensible list of alternate data types that allows for the designation of the data types Draughting_pre_defined_text_font and Externally_defined_text_font.
NOTE The list of entity data types may be extended in application modules that use the constructs of this module.
EXPRESS specification:
*)
TYPE
font_select =
EXTENSIBLE
GENERIC_ENTITY
SELECT
(Draughting_pre_defined_text_font,
Externally_defined_text_font);
END_TYPE;
(*
EXPRESS specification:
*)
TYPE
text_alignment =
EXTENSIBLE
ENUMERATION
OF
(top_right,
top_centre,
top_left,
centre_right,
centre_centre,
centre_left,
bottom_right,
bottom_centre,
bottom_left);
END_TYPE;
(*
Enumerated item definitions:
top_right: the text alignment is top right.
top_centre: the text alignment is top centre.
top_left: the text alignment is top left.
centre_right: the text alignment is centre right.
centre_centre: the text alignment is centre centre.
centre_left: the text alignment is centre left.
bottom_right: the text alignment is bottom right.
bottom_centre: the text alignment is bottom centre.
bottom_left: the text alignment is bottom left.
EXPRESS specification:
*)
TYPE
text_delineation =
EXTENSIBLE
ENUMERATION
OF
(underline,
overline);
END_TYPE;
(*
Enumerated item definitions:
underline: the text delineation is underline.
overline: the text delineation is overline.
EXPRESS specification:
*)
TYPE
text_path =
ENUMERATION
OF
(left,
right,
up,
down);
END_TYPE;
(*
Enumerated item definitions:
left: the text path is left.
right: the text path is right.
up: the text path is up.
down: the text path is down.
This subclause specifies the ARM entities for this module. Each ARM application entity is an atomic element that embodies a unique application concept and contains attributes specifying the data elements of the entity. The ARM entities and definitions are specified below.
EXPRESS specification:
*)
ENTITY Composite_presentable_text
SUBTYPE OF (Detailed_geometric_model_element);
collected_text : LIST[2:?] OF composite_text_element_select;
END_ENTITY;
(*
Attribute definitions:
collected_text: a set of two or more instances of Composite_presentable_text or Text_literal that identifies the aggregated texts.
EXPRESS specification:
*)
ENTITY Defined_character_glyph
SUBTYPE OF (Detailed_geometric_model_element);
placement : Axis_placement;
END_ENTITY;
(*
Attribute definitions:
placement: specifies the role of the Axis_placement for the Defined_character_glyph.
EXPRESS specification:
*)
ENTITY Draughting_pre_defined_text_font;
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Externally_defined_text_font;
name : STRING;
END_ENTITY;
(*
Attribute definitions:
name: the words by which the Externally_defined_text_font is known.
EXPRESS specification:
*)
ENTITY Text_literal
SUPERTYPE OF (Text_literal_with_extent
ANDOR Text_literal_with_delineation
ANDOR Text_literal_with_associated_curves
ANDOR Text_literal_with_blanking_box)
SUBTYPE OF (Detailed_geometric_model_element);
alignment : text_alignment;
font : font_select;
literal : STRING;
path : text_path;
placement : Axis_placement;
END_ENTITY;
(*
Attribute definitions:
alignment: specifies the text_alignment for the Text_literal.
font: specifies the font_select for the Text_literal.
literal: specifies a STRING value.
path: specifies the text_path for the Text_literal.
placement: specifies a role of the Axis_placement for the Text_literal.
EXPRESS specification:
*)
ENTITY Text_literal_with_associated_curves
SUBTYPE OF (Text_literal);
associated_curves : SET[1:?] OF Curve;
END_ENTITY;
(*
Attribute definitions:
associated_curves: specifies a role of the Curve for the Text_literal_with_associated_curves. There shall exist one or more Curves for the Text_literal_with_associated_curves.
EXPRESS specification:
*)
ENTITY Text_literal_with_blanking_box
SUBTYPE OF (Text_literal);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Text_literal_with_delineation
SUBTYPE OF (Text_literal);
delineation : text_delineation;
END_ENTITY;
(*
Attribute definitions:
delineation: specifies the text_delineation for the Text_literal_with_delineation.
A Text_literal_with_extent is a type of Text_literal. A Text_literal_with_extent is a text literal whose extent is explicitly specified.
NOTE This entity is partially modelled in the ARM. However, in the MIM, details about the extent are given. Detailed information about these characteristics can be obtained in ISO 10303-46.
EXPRESS specification:
*)
ENTITY Text_literal_with_extent
SUBTYPE OF (Text_literal);
width : length_measure;
height : length_measure;
END_ENTITY;
(*
Attribute definitions:
width: specifies the length_measure for the Text_literal_with_extent.
height: specifies the length_measure for the Text_literal_with_extent.
This subclause specifies the ARM subtype constraint for this module. The subtype constraint places a constraint on the possible super-type / subtype instantiations. The ARM subtype constraint and definition is specified below.
EXPRESS specification:
*)
SUBTYPE_CONSTRAINT ta_detailed_geometric_model_element_subtypes FOR Detailed_geometric_model_element;
ONEOF (Composite_presentable_text,
Text_literal,
Defined_character_glyph);
END_SUBTYPE_CONSTRAINT;
(*
*)
END_SCHEMA; -- Text_appearance_arm
(*
© ISO 2014 — All rights reserved