public interface ITextStyleBuilder
ITextStyle
according to the given settingsModifier and Type | Method and Description |
---|---|
ITextStyle |
build() |
ITextStyleBuilder |
from(ITextStyle source)
Fills in the properties of the future
ITextStyle , which are copied from the source parameter |
IStyleBuilder |
getStyleBuilder() |
static ITextStyleBuilder |
resolve(IScellApiResolver resolver)
Resolves a new instance of
ITextStyleBuilder with the given resolver |
ITextStyleBuilder |
setHorizontalAlignment(HorizontalAlignment source)
Sets the
HorizontalAlignment value |
ITextStyleBuilder |
setIndent(Integer source)
Sets the indent value
|
ITextStyleBuilder |
setRotation(Double source)
Sets the rotation
|
ITextStyleBuilder |
setVerticalAlignment(VerticalAlignment source)
Sets the
VerticalAlignment value |
ITextStyleBuilder |
setWrapText(Boolean source)
Sets the wrap attribute
|
static ITextStyleBuilder resolve(IScellApiResolver resolver)
ITextStyleBuilder
with the given resolverresolver
- the given resolverITextStyleBuilder
ITextStyle build()
ITextStyle
ITextStyleBuilder from(ITextStyle source)
ITextStyle
, which are copied from the source parametersource
- the ITextStyle
for copyingITextStyleBuilder setRotation(Double source)
source
- the rotation valueITextStyleBuilder setWrapText(Boolean source)
source
- if the value is true
the text will be wrappedITextStyleBuilder setIndent(Integer source)
source
- the value to be setITextStyleBuilder setHorizontalAlignment(HorizontalAlignment source)
HorizontalAlignment
valuesource
- the value to be setITextStyleBuilder setVerticalAlignment(VerticalAlignment source)
VerticalAlignment
valuesource
- the value to be setIStyleBuilder getStyleBuilder()
IStyleBuilder
with the values.
Note: if it wasn't set, a new one will be created
Copyright © 2024. All rights reserved.