Defined in File Ifc4x3_rc1.h
IfcTextStyle: public Ifc4x3_rc1::IfcPresentationStyle¶
Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text.
The IfcTextStyle provides the text style table for presentation information assigned to text literals. The style is defined by color, text font characteristics, and text box characteristics. The definitions are based upon:
definitions from ISO/IS 10303-46:1994 for (old) vector based and monospace text. definitions from Cascading Style Sheets, level 1, W3C Recommendation 17 Dec 1996, revised 11 Jan 1999, CSS1, for all true type text. The use of the CSS1 definitions is the preferred way to represent text styles.
An IfcTextStyle, when representing (old) vector based and monospace text, is instantiated with:
TextCharacterAppearance:: IfcTextStyleForDefinedFont (with BackgroundColour = NIL) TextStyle:: IfcTextStyleWithBoxCharacteristics TextFontStyle:: IfcDraughtingPreDefinedTextFont or IfcExternallyDefinedTextFont
An IfcTextStyle, when representing (new) true type text, based on CSS1 definitions, is instantiated with:
NOTE Corresponding ISO 10303 name: text_style. Please refer to ISO/IS 10303-46:1994 for the final definition of the formal standard. In order to avoid ANDOR subtype relationships, the IfcTextBlockStyleSelect has been introduced that allows the combination of a text style as having box characteristic, and/or having spacing, or having none of those additional properties.
NOTE Corresponding CSS1 definitions are: 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).
HISTORY New entity in IFC2x2.
IFC2x3 CHANGE The IfcTextStyle has been changed by adding TextFontStyle and different data types for TextStyle and IfcCharacterStyleSelect.
Whether the optional attribute TextCharacterAppearance is defined for this IfcTextStyle.
A character style to be used for presented text.
Whether the optional attribute TextStyle is defined for this IfcTextStyle.
The style applied to the text block for its visual appearance. It defines the text block characteristics, either for vector based or monospace text fonts (see select item IfcTextStyleWithBoxCharacteristics), or for true type text fonts (see select item IfcTextStyleTextModel.
IFC2x Edition 3 CHANGE The attribute TextBlockStyle has been changed from SET[1:?] to a non-aggregated optional, it has been renamed from TextStyles.
The style applied to the text font for its visual appearance. It defines the font family, font style, weight and size.
IFC2x Edition 2 Addendum 2 CHANGE The attribute TextFontStyle is a new attribute attached to IfcTextStyle.
Whether the optional attribute ModelOrDraughting is defined for this IfcTextStyle.