Creates a simple text frame that can be used for rendering and/or measuring.
Optional
allowWrap: booleanIf true then will try to wrap on natural breaks.
Returns the alignment for the style.
Returns the best fit size assuming no content.
Returns the border style.
Returns the font for the style.
Returns insets used for content. This does not taking into account indent because this is alignment and type specific.
A boolean value indicating whether the text string in a cell should be prefixed by a single quote mark (e.g., 'text). In these cases, the quote is not stored in the Shared Strings Part.
This is used to determine if the style has rendering artifacts even if there is no content. (For example borders or background)
Returns true
if the CellStyle is the normal style
Measure the text using the styling properties
The text to measure.
Optional
size: numberSize
Optional
family: stringFamily
Optional
options: MetricOptionsOptions for the measurement.
The
IStyle
interface combines user-applied styles with dynamic styles, such as those from tables or conditional formatting, to deliver the current appearance.