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

4 Information requirements

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;
(*

4.1 Required AM 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.

4.2 ARM type definitions

This subclause specifies the ARM types for this application module. The ARM types and definitions are specified below.

4.2.1 composite_text_element_select   EXPRESS-G

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;
(*

4.2.2 font_select   EXPRESS-G

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;
(*

4.2.3 text_alignment   EXPRESS-G

The text_alignment presents the list of text allignments.

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.

4.2.4 text_delineation   EXPRESS-G

The text_delineation presents the list of text delineations.

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.

4.2.5 text_path   EXPRESS-G

The text_path presents the list of text pathes.

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.

4.3 ARM entity definitions

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.

4.3.1 Composite_presentable_text   EXPRESS-GMapping table

A Composite_presentable_text is a type of Detailed_geometric_model_element that identifies a collection of presentable texts.

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.

4.3.2 Defined_character_glyph   EXPRESS-GMapping table

A Defined_character_glyph is a type of Detailed_geometric_model_element for the definition of a single character.

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.

4.3.3 Draughting_pre_defined_text_font   EXPRESS-GMapping table

A Draughting_pre_defined_text_font is a pre defined text font for draughting purposes as defined in ISO 3098.

EXPRESS specification:

*)
ENTITY Draughting_pre_defined_text_font;
END_ENTITY;
(*

4.3.4 Externally_defined_text_font   EXPRESS-GMapping table

An Externally_defined_text_font is an external reference to a text font.

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.

4.3.5 Text_literal   EXPRESS-GMapping table

A Text_literal is a type of Detailed_geometric_model_element. A Text_literal may be a Text_literal_with_extent and/or Text_literal_with_delineation and/or Text_literal_with_associated_curves and/or Text_literal_with_blanking_box.

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.

4.3.6 Text_literal_with_associated_curves   EXPRESS-GMapping table

A Text_literal_with_associated_curves is a type of 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.

4.3.7 Text_literal_with_blanking_box   EXPRESS-GMapping table

A Text_literal_with_blanking_box is a type of Text_literal.

EXPRESS specification:

*)
ENTITY Text_literal_with_blanking_box
  SUBTYPE OF (Text_literal);
END_ENTITY;
(*

4.3.8 Text_literal_with_delineation   EXPRESS-GMapping table

A Text_literal_with_delineation is a type of Text_literal.

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.

4.3.9 Text_literal_with_extent   EXPRESS-GMapping table

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.

4.4 ARM subtype constraint definition

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.

4.4.1 ta_detailed_geometric_model_element_subtypes   EXPRESS-GMapping table

The ta_detailed_geometric_model_element_subtypes constraint specifies a constraint that applies to instances of subtypes of Detailed_geometric_model_element.

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