componentId |
string |
- |
LayoutItemBase.componentId |
direction? |
"ltr" | "rtl" |
Resolved base direction of the text (style.direction, with auto decided by the first strong character). Renderers reorder each line with the Unicode bidi algorithm on this base. When absent it is derived from style.direction and the text. |
- |
error? |
boolean |
True when an expression failed and the text shows an error marker. |
- |
format? |
ValueFormat |
The component’s value format, used by exporters for typed cells. |
- |
height |
number |
- |
LayoutItemBase.height |
kind |
"text" |
- |
- |
lineHeight |
number |
Distance between baselines, in points. |
- |
lines |
string[] |
Wrapped lines in logical order; renderers must not re-wrap. |
- |
richText? |
LayoutTextRun[] |
The unwrapped styled runs of text (with allowHtml), e.g. for Excel rich text. |
- |
runs? |
LayoutTextRun[][] |
Styled runs per wrapped line, present when the component has allowHtml. lines[i] is the plain text of runs[i]. |
- |
style |
ResolvedStyle |
- |
LayoutItemBase.style |
text |
string |
Full text after interpolation and formatting. |
- |
value |
unknown |
Raw value when the text is a single {{ expression }}, so exporters such as Excel can keep numbers and dates typed. Otherwise equal to text. |
- |
width |
number |
- |
LayoutItemBase.width |
x |
number |
Position and size on the page, in points. |
LayoutItemBase.x |
y |
number |
- |
LayoutItemBase.y |