IfcTextStyleTextModel

BACnet MVD

#### IfcTextStyleTextModel

Natural language names

| Textstil - Text - Modell
| Text Style Text Model
| Modèle de style de texte

##### Semantic definitions at the entity

Entity 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.

> 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 IFC2x3.

Attribute definitions

# | Attribute | Type | Cardinality | Description | B
--- | --- | --- | --- | --- | ---

1

TextIndent

IfcSizeSelect

?

The property specifies the indentation that appears before the first formatted line.

> NOTE It has been introduced for later compliance to full CSS support.

X

2 | TextAlign | IfcTextAlignment | ? | This property describes how text is aligned horizontally within the element. The actual justification algorithm used is dependent on the rendering algorithm. |  | X
3 | TextDecoration | IfcTextDecoration | ? | This property describes decorations that are added to the text of an element. |  | X

4

LetterSpacing

IfcSizeSelect

?

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

> NOTE The following values are allowed, IfcDescriptiveMeasure with value='normal', IfcRatioMeasure, or IfcLengthMeasure, where the length unit is globally defined at IfcUnitAssignment.

X

5

WordSpacing

IfcSizeSelect

?

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

> NOTE It has been introduced for later compliance to full CSS support.

X

6

TextTransform

IfcTextTransformation

?

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 CSS support.

X

7

LineHeight

IfcSizeSelect

?

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.

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

X

##### Inherited definitions from supertypes

Entity inheritance
Attribute inheritance

# | Attribute | Type | Cardinality | Description | B
--- | --- | --- | --- | --- | ---
IfcPresentationItem
IfcTextStyleTextModel

1

TextIndent

IfcSizeSelect

?

The property specifies the indentation that appears before the first formatted line.

> NOTE It has been introduced for later compliance to full CSS support.

X

2 | TextAlign | IfcTextAlignment | ? | This property describes how text is aligned horizontally within the element. The actual justification algorithm used is dependent on the rendering algorithm. |  | X
3 | TextDecoration | IfcTextDecoration | ? | This property describes decorations that are added to the text of an element. |  | X

4

LetterSpacing

IfcSizeSelect

?

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

> NOTE The following values are allowed, IfcDescriptiveMeasure with value='normal', IfcRatioMeasure, or IfcLengthMeasure, where the length unit is globally defined at IfcUnitAssignment.

X

5

WordSpacing

IfcSizeSelect

?

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

> NOTE It has been introduced for later compliance to full CSS support.

X

6

TextTransform

IfcTextTransformation

?

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 CSS support.

X

7

LineHeight

IfcSizeSelect

?

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.

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

X

##### Formal representations

XML Specification
`<xs:element name="IfcTextStyleTextModel" type="ifc:IfcTextStyleTextModel" substitutionGroup="ifc:IfcPresentationItem" nillable="true"/>
<xs:complexType name="IfcTextStyleTextModel">
<xs:complexContent>
<xs:extension base="ifc:IfcPresentationItem">
<xs:sequence>
<xs:element name="TextIndent" nillable="true" minOccurs="0">
<xs:complexType>
<xs:group ref="ifc:IfcSizeSelect"/>
</xs:complexType>
</xs:element>
<xs:element name="LetterSpacing" nillable="true" minOccurs="0">
<xs:complexType>
<xs:group ref="ifc:IfcSizeSelect"/>
</xs:complexType>
</xs:element>
<xs:element name="WordSpacing" nillable="true" minOccurs="0">
<xs:complexType>
<xs:group ref="ifc:IfcSizeSelect"/>
</xs:complexType>
</xs:element>
<xs:element name="LineHeight" nillable="true" minOccurs="0">
<xs:complexType>
<xs:group ref="ifc:IfcSizeSelect"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="TextAlign" type="ifc:IfcTextAlignment" use="optional"/>
<xs:attribute name="TextDecoration" type="ifc:IfcTextDecoration" use="optional"/>
<xs:attribute name="TextTransform" type="ifc:IfcTextTransformation" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
`
EXPRESS Specification
`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;

EXPRESS-G diagram

`

References: IfcTextStyle

Link to this page