The text literal with extent is a text literal with the additional explicit information of the planar extent. An alignment attribute defines how the text box is aligned to the placement and how it may expand if additional lines of text need to be added.
Figure 1 shows the use of planar extent and box alignment to position the text string
The planar extent defines the box model within which the text is placed. Padding maybe defined in the text style that offsets the text from the box to its inside.
NOTE Entity adapted from text_literal_with_extent defined in ISO10303-46
HISTORY New entity in IFC2x2.
IFC2x3 CHANGE The IfcTextLiteralWithExtent has been changed by adding BoxAlignment.
|LayerAssignment||SET [0:1] OF IfcPresentationLayerAssignment FOR AssignedItems||Assignment of the representation item to a single or multiple layer(s). The LayerAssignments can override a LayerAssignments of the IfcRepresentation it is used within the list of Items.|
> IFC2x3 CHANGE The inverse attribute LayerAssignments has been added.
> IFC4 CHANGE The inverse attribute LayerAssignment has been restricted to max 1. Upward compatibility for file based exchange is guaranteed.
|StyledByItem||SET [0:1] OF IfcStyledItem FOR Item||Reference to the IfcStyledItem that provides presentation information to the representation, e.g. a curve style, including colour and thickness to a geometric curve.|
> IFC2x3 CHANGE The inverse attribute StyledByItem has been added.
|1||Literal||IfcPresentableText||The text literal to be presented.|
|2||Placement||IfcAxis2Placement||An IfcAxis2Placement that determines the placement and orientation of the presented string.|
|3||Path||IfcTextPath||The writing direction of the text literal.|
|4||Extent||IfcPlanarExtent||The extent in the x and y direction of the text literal.|
|5||BoxAlignment||IfcBoxAlignment||The alignment of the text literal relative to its position.|
ENTITY IfcTextLiteralWithExtent SUBTYPE OF (IfcTextLiteral); Extent : IfcPlanarExtent; BoxAlignment : IfcBoxAlignment; WHERE WR31 : NOT('IFC4X3_DEV_a1492713.IFCPLANARBOX' IN TYPEOF(Extent)); END_ENTITY;