18.104.22.168.1 Semantic definition
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.
Definition according to W3C for Cascading Style Sheets: The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs.
22.214.171.124.2 Entity inheritance
The property specifies the indentation that appears before the first formatted line.
This property describes how text is aligned horizontally within the element. The actual justification algorithm used is dependent on the rendering algorithm.
This property describes decorations that are added to the text of an element.
The length unit indicates an addition to the default space between characters. Values can be negative, but there may be implementation-specific limits. The importing application is free to select the exact spacing algorithm. The letter spacing may also be influenced by justification (which is a value of the TextAlign attribute).
The length unit indicates an addition to the default space between words. Values can be negative, but there may be implementation-specific limits. The importing application 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).
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.
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 importing applications set the 'normal' value to be a ratio number in the range of 1.0 to 1.2.
126.96.36.199.4 Formal representation
ENTITY IfcTextStyleTextModel SUBTYPE OF (IfcPresentationItem); TextIndent : OPTIONAL IfcSizeSelect; TextAlign : OPTIONAL IfcTextAlignment; TextDecoration : OPTIONAL IfcTextDecoration; LetterSpacing : OPTIONAL IfcSizeSelect; WordSpacing : OPTIONAL IfcSizeSelect; TextTransform : OPTIONAL IfcTextTransformation; LineHeight : OPTIONAL IfcSizeSelect; END_ENTITY;