Text Alignment | |
Alignement de texte |
The IfcTextAlignment describes how text is aligned within the element. Values are:
NOTE Definition according to Cascading Style Sheets, level 1
The actual justification algorithm used is user agent and human language dependent. If 'justify' is not supported, the user agent will supply a replacement. Typically, this will be 'left' for western languages.
NOTE Type adopted from text-align defined in CSS-1.
HISTORY New type in IFC2x3.
Rule | Description |
---|---|
WR1 | Allowable values for text alignment. |
<xs:simpleType name="IfcTextAlignment">
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:element name="IfcTextAlignment-wrapper" nillable="true">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="ifc:IfcTextAlignment">
<xs:attributeGroup ref="ifc:instanceAttributes"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
TYPE IfcTextAlignment = STRING;
WHERE
WR1 : SELF IN ['left', 'right', 'center', 'justify']
END_TYPE;