Application module: Text appearance ISO/TS 10303-1136:2014-02(E)
© ISO

Cover page
Table of contents
Copyright
Foreword
Introduction
1 Scope
2 Normative references
3 Terms, definitions and abbreviated terms
    3.1 Terms and definitions
    3.2 Abbreviated terms

4 Information requirements
   4.1 Required AM ARM
   4.2 ARM type definitions
   4.3 ARM entity definitions
   4.4 ARM subtype constraint definition
5 Module interpreted model
   5.1 Mapping specification
   5.2 MIM EXPRESS short listing
     5.2.1 MIM rule definition

A MIM short names
B Information object registration
C ARM EXPRESS-G   EXPRESS-G
D MIM EXPRESS-G   EXPRESS-G
E Computer interpretable listings
F Change history
Bibliography
Index

5.2 MIM EXPRESS short listing

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:

EXPRESS specification:

*)
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.

5.2.1 MIM rule definition

This subclause specifies the MIM rule for this module. The MIM rule and definition is specified below.

5.2.1.1 text_font_usage

The text_font_usage rule ensures that every instance of externally_defined_text_font and of pre_defined_text_font is referred to by at least an instance of text_literal, of which it specifies the font.

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