Navigation
Navigate Navigate Navigate Navigate Navigate Navigate Navigate Navigate

IfcTextStyleTextModel

Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs.

Definition from IAI: The IfcTextStyleTextModel combines all text style properties, that affect the presentation of a text literal within a given extent. It includes the spacing between characters and words, the horizontal and vertical alignment of the text within the planar box of the extent, decorations (like underline), transformations of the literal (like uppercase), and the height of each text line within a multi-line text block.

NOTE  Corresponding CSS1 definitions are Text properties (word-spacing, letter-spacing, text-decoration, vertical-align, text-transform, text-align, text-indent, line-height).
HISTORY  New entity in Release IFC2x Edition 3.

EXPRESS specification:

ENTITY IfcTextStyleTextModel;
TextIndent  :  OPTIONAL IfcSizeSelect;
TextAlign  :  OPTIONAL IfcTextAlignment;
TextDecoration  :  OPTIONAL IfcTextDecoration;
LetterSpacing  :  OPTIONAL IfcSizeSelect;
WordSpacing  :  OPTIONAL IfcSizeSelect;
TextTransform  :  OPTIONAL IfcTextTransformation;
LineHeight  :  OPTIONAL IfcSizeSelect;
END_ENTITY;

Attribute definitions:

TextIndent  :  The property specifies the indentation that appears before the first formatted line.
NOTE  It has been introduced for later compliance to full CSS1 support.
TextAlign  :  This property describes how text is aligned horizontally within the element. The actual justification algorithm used is dependent on the rendering algorithm.
TextDecoration  :  This property describes decorations that are added to the text of an element.
LetterSpacing  :  The length unit indicates an addition to the default space between characters. Values can be negative, but there may be implementation-specific limits. The user agent is free to select the exact spacing algorithm. The letter spacing may also be influenced by justification (which is a value of the 'align' property).
NOTE  The following values are allowed, IfcDescriptiveMeasure with value='normal', or IfcLengthMeasure, the length unit is globally defined at IfcUnitAssignment.
WordSpacing  :  The length unit indicates an addition to the default space between words. Values can be negative, but there may be implementation-specific limits. The user agent is free to select the exact spacing algorithm. The word spacing may also be influenced by justification (which is a value of the 'text-align' property).
NOTE  It has been introduced for later compliance to full CSS1 support.
TextTransform  :  This property describes how text characters may transform to upper case, lower case, or capitalized case, independent of the character case used in the text literal.
NOTE  It has been introduced for later compliance to full CSS1 support.
LineHeight  :  The property sets the distance between two adjacent lines' baselines.
When a ratio value is specified, the line height is given by the font size of the current element multiplied with the numerical value. A value of 'normal' sets the line height to a reasonable value for the element's font. It is suggested that user agents set the 'normal' value to be a ratio number in the range of 1.0 to 1.2.
NOTE  The following values are allowed:
IfcDescriptiveMeasure with value='normal', or
IfcLengthMeasure, with non-negative values, the length unit is globally defined at IfcUnitAssignment, or
IfcRatioMeasure.

Inheritance graph

ENTITY IfcTextStyleTextModel;
ENTITY IfcTextStyleTextModel;
TextIndent  :  OPTIONAL IfcSizeSelect;
TextAlign  :  OPTIONAL IfcTextAlignment;
TextDecoration  :  OPTIONAL IfcTextDecoration;
LetterSpacing  :  OPTIONAL IfcSizeSelect;
WordSpacing  :  OPTIONAL IfcSizeSelect;
TextTransform  :  OPTIONAL IfcTextTransformation;
LineHeight  :  OPTIONAL IfcSizeSelect;
END_ENTITY;