Application module: Text appearance | ISO/TS 10303-1136:2014-02(E) © ISO |
This clause specifies the EXPRESS schema derived from the mapping table. It uses elements from the common resources or from other application modules and defines the EXPRESS constructs that are specific to this part of ISO 10303.
This clause constitutes the Module Interpreted Module (MIM) of the application module.
This clause also specifies the modifications that apply to the constructs imported from the common resources.
The following restrictions apply to the use, in this schema, of constructs defined in common resources or in application modules:
*)
SCHEMA Text_appearance_mim;
USE FROM
Basic_geometry_mim;
--
ISO/TS 10303-1652
USE FROM
presentation_appearance_schema
--
ISO 10303-46
(box_height,
box_width,
box_slant_angle,
box_rotate_angle,
character_glyph_style_stroke,
character_glyph_style_outline,
text_style,
text_style_with_spacing);
USE FROM
presentation_definition_schema
--
ISO 10303-46
(composite_text_with_extent,
composite_text_with_delineation,
composite_text_with_blanking_box,
defined_character_glyph,
pre_defined_character_glyph,
externally_defined_character_glyph,
text_literal,
text_literal_with_extent,
text_literal_with_delineation,
text_literal_with_blanking_box);
USE FROM
presentation_resource_schema
--
ISO 10303-46
(colour_rgb,
draughting_pre_defined_text_font,
externally_defined_text_font,
font_select,
pre_defined_colour,
pre_defined_text_font);
(*
NOTE 1 The schemas referenced above are specified in the following part of ISO 10303:
Basic_geometry_mim ISO/TS 10303-1652 presentation_appearance_schema ISO 10303-46 presentation_definition_schema ISO 10303-46 presentation_resource_schema ISO 10303-46
NOTE 2 See Annex D, Figure D.1 for a graphical representation of this schema.
This subclause specifies the MIM rule for this module. The MIM rule and definition is specified below.
EXPRESS specification:
*)
RULE text_font_usage FOR
(externally_defined_text_font, pre_defined_text_font);
WHERE
WR1: SIZEOF (QUERY (pdtf <* pre_defined_text_font | SIZEOF (USEDIN (pdtf, 'PRESENTATION_DEFINITION_SCHEMA.TEXT_LITERAL.FONT'))
= 0 )) = 0;
WR2: SIZEOF (QUERY (edtf <* externally_defined_text_font | SIZEOF (USEDIN (edtf, 'PRESENTATION_DEFINITION_SCHEMA.TEXT_LITERAL.FONT'))
= 0 )) = 0;
END_RULE;
(*
Argument definitions:
externally_defined_text_font : the set of all instances of externally_defined_text_font.
pre_defined_text_font : the set of all instances of pre_defined_text_font.
Formal propositions:
WR1: There shall not be any instance of externally_defined_text_font that is not referred to by any instance of text_literal.
WR2: There shall not be any instance of pre_defined_text_font that is not referred to by any instance of text_literal.
*)
END_SCHEMA; -- Text_appearance_mim
(*
© ISO 2014 — All rights reserved