IfcTextStyle
Definition
from ISO/CD 10303-46:1992: The
text style is a presentation style for annotation text..
Definition
from IAI: 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:
- TextCharacterAppearance::
IfcTextStyleForDefinedFont
- TextStyle::
IfcTextStyleTextModel
- TextFontStyle::
IfcTextStyleFontModel
An IfcTextStyle
can be
assigned to IfcTextLiteral
via the IfcPresentationStyleAssignment
through an intermediate IfcAnnotationTextOccurrence.
NOTE Corresponding
STEP 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
Release IFC2x
Edition 2.
IFC2x
Edition 3
CHANGE The IfcTextStyle
has been changed
by adding TextFontStyle
and different data types for TextStyle
and IfcCharacterStyleSelect.
EXPRESS specification:
Attribute definitions:
TextCharacterAppearance
|
:
|
A character style to be used for presented text.
|
TextStyle
|
:
|
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.
|
TextFontStyle
|
:
|
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.
|
Inheritance graph