IFC 4.3.x development

8.12.3.35 IfcTextStyle

Change log

IFC4

additions attributes ModelOrDraughting
modificationsattributes TextCharacterAppearance definitionChanged from IfcCharacterStyleSelect to IfcTextStyleForDefinedFont
modificationsattributes TextStyle definition Changed from IfcTextStyleSelect to IfcTextStyleTextModel

8.12.3.35.1 Semantic definitions at the entity

The IfcTextStyle is a presentation style for annotations that place a text in model space. The IfcTextStyle provides the text style for presentation information assigned to IfcTextLiteral's. The style is defined by color, text font characteristics, and text box characteristics.

An IfcTextStyle is instantiated with:

An IfcTextStyle is assigned to IfcTextLiteral through the IfcStyledItem entity.

NOTE  Entity adopted from font properties (font-family, font-style, font-variant, font-weight, font-size), Color and background properties (color, background-color) and text properties (word-spacing, letter-spacing, text-decoration, text-transform, text-align, text-indent, line-height) defined in CSS-1.

HISTORY  New entity in IFC2x2.

IFC2x3 CHANGE  The IfcTextStyle has been changed by adding TextFontStyle and different data types for TextStyle and IfcTextCharacterAppearance.

IFC4 CHANGE  The IfcTextStyle has been simplified by removing old vector based text style definitions.

8.12.3.35.1 Attributes

#Attribute Type Description
IfcPresentationStyle
1Name OPTIONAL IfcLabel Name of the presentation style.
IfcTextStyle
2TextCharacterAppearanceOPTIONAL IfcTextStyleForDefinedFontA character style to be used for presented text.

> IFC4 CHANGE  Superfluous select type IfcCharacterStyleSelect has been removed.
3TextStyle OPTIONAL IfcTextStyleTextModel The style applied to the text block for its visual appearance.

> IFC2x3 CHANGE  The attribute TextBlockStyle has been changed from SET[1:?] to a non-aggregated optional and renamed into TextStyles.

> IFC4 CHANGE  The IfcTextStyleWithBoxCharacteristics and the now superfluous select type IfcTextStyleSelect have been removed.
4TextFontStyle IfcTextFontSelect The style applied to the text font for its visual appearance. It defines the font family, font style, weight and size.



> IFC2x2 Add2 CHANGE The attribute TextFontStyle is a new attribute attached to IfcTextStyle.
5ModelOrDraughting OPTIONAL IfcBoolean Indication whether the length measures provided for the presentation style are model based, or draughting based.

> IFC4 CHANGE  New attribute.

8.12.3.35.2 Entity inheritance

dot_inheritance IfcTextStyle IfcTextStyle IfcPresentationStyle IfcPresentationStyle IfcTextStyle->IfcPresentationStyle IfcPresentationStyle_children 3 more... IfcPresentationStyle_children->IfcPresentationStyle

8.12.3.35.3 Formal representations

ENTITY IfcTextStyle
 SUBTYPE OF (IfcPresentationStyle);
	TextCharacterAppearance : OPTIONAL IfcTextStyleForDefinedFont;
	TextStyle : OPTIONAL IfcTextStyleTextModel;
	TextFontStyle : IfcTextFontSelect;
	ModelOrDraughting : OPTIONAL IfcBoolean;
END_ENTITY;