public abstract class TextElementFactory extends ElementFactory
Modifier and Type | Method and Description |
---|---|
Boolean |
getBold()
Returns the state of the bold flag for the font.
|
Boolean |
getEmbedFont()
Returns the font embedding flag for the new text elements.
|
String |
getEncoding()
Returns the font encoding used to write the text.
|
String |
getFontName()
Returns the name of the font that should be used to print the text.
|
Integer |
getFontSize()
Returns the font size in points.
|
Boolean |
getItalic()
Returns the state of the italic flag for the font.
|
Float |
getLineHeight()
Returns the lineheight defined for the text element.
|
Float |
getMaximumLetterSpacing()
Returns the defined maximum letter spacing for a text element.
|
Float |
getMinimumLetterSpacing()
Returns the defined minimum letter spacing for a text element.
|
Float |
getOptimumLetterSpacing()
Return optimum letter spacing for a text element.
|
String |
getReservedLiteral()
Returns the defined reserved literal, which should be appended to the text to signal text, which was not completly
printed.
|
Boolean |
getStrikethrough()
Returns the state of the strike through flag for the font.
|
Boolean |
getTrimTextContent()
Returns, whether the text lines should be trimmed.
|
Boolean |
getUnderline()
Returns the state of the underline flag for the font.
|
VerticalTextAlign |
getVerticalTextAlignment()
Returns the defined vertical text alignment for this element.
|
WhitespaceCollapse |
getWhitespaceCollapse()
Returns how the layouter treats whitespaces in the text of a text-element.
|
TextWrap |
getWrap()
Returns how and when text-wrapping should occur inside a text element.
|
Boolean |
getWrapText()
Returns, whether the text should be wrapped in Excel-cells.
|
void |
setBold(Boolean bold)
Defines the state of the bold flag for the font.
|
void |
setEmbedFont(Boolean embedFont)
Defines that the font should be embedded if possible.
|
void |
setEncoding(String encoding)
Defines the font encoding used to write the text.
|
void |
setFontName(String fontName)
Defines the name of the font that should be used to print the text.
|
void |
setFontSize(Integer fontSize)
Returns the font size in points.
|
void |
setItalic(Boolean italic)
Defines the state of the italic flag for the font.
|
void |
setLineHeight(Float lineHeight)
Defines the lineheight defined for the text element.
|
void |
setMaximumLetterSpacing(Float maximumLetterSpacing)
Defines the maximum letter spacing for a text element.
|
void |
setMinimumLetterSpacing(Float minimumLetterSpacing)
Defines the minimum letter spacing for a text element.
|
void |
setOptimumLetterSpacing(Float optimumLetterSpacing)
Defines the optimum letter spacing for a text element.
|
void |
setReservedLiteral(String reservedLiteral)
Defines the defined reserved literal, which should be appended to the text to signal text, which was not completly
printed.
|
void |
setStrikethrough(Boolean strikethrough)
Defines the state of the strike through flag for the font.
|
void |
setTrimTextContent(Boolean trimTextContent)
Defines, whether the text lines should be trimmed.
|
void |
setUnderline(Boolean underline)
Defines the state of the underline flag for the font.
|
void |
setVerticalTextAlignment(VerticalTextAlign verticalTextAlignment)
Defines the vertical text alignment for this element.
|
void |
setWhitespaceCollapse(WhitespaceCollapse whitespaceCollapse)
Defines how to treat whitespaces in the text of a text-element.
|
void |
setWrap(TextWrap wrap)
Defines how and when text-wrapping should occur inside a text element.
|
void |
setWrapText(Boolean wrapText)
Defines, whether the text should be wrapped in excel cells.
|
createElement, getAbsolutePosition, getAvoidPagebreaks, getBackgroundColor, getBorderBottomColor, getBorderBottomLeftRadius, getBorderBottomLeftRadiusHeight, getBorderBottomLeftRadiusWidth, getBorderBottomRightRadius, getBorderBottomRightRadiusHeight, getBorderBottomRightRadiusWidth, getBorderBottomStyle, getBorderBottomWidth, getBorderBreakColor, getBorderBreakStyle, getBorderBreakWidth, getBorderColor, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRadius, getBorderRadiusHeight, getBorderRadiusWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderStyle, getBorderTopColor, getBorderTopLeftRadius, getBorderTopLeftRadiusHeight, getBorderTopLeftRadiusWidth, getBorderTopRightRadius, getBorderTopRightRadiusHeight, getBorderTopRightRadiusWidth, getBorderTopStyle, getBorderTopWidth, getBorderWidth, getColor, getDynamicHeight, getFontSmooth, getHeight, getHorizontalAlignment, getHRefTarget, getHRefTitle, getHRefWindow, getLayoutCachable, getMaximumHeight, getMaximumSize, getMaximumWidth, getMinimumHeight, getMinimumSize, getMinimumWidth, getName, getOrphans, getOverflowX, getOverflowY, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPreferredSize, getUseMinChunkWidth, getVerticalAlignment, getVisible, getWidowOrphanOptOut, getWidows, getWidth, getX, getY, setAbsolutePosition, setAvoidPagebreaks, setBackgroundColor, setBorderBottomColor, setBorderBottomLeftRadius, setBorderBottomLeftRadiusHeight, setBorderBottomLeftRadiusWidth, setBorderBottomRightRadius, setBorderBottomRightRadiusHeight, setBorderBottomRightRadiusWidth, setBorderBottomStyle, setBorderBottomWidth, setBorderBreakColor, setBorderBreakStyle, setBorderBreakWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRadius, setBorderRadiusHeight, setBorderRadiusWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopLeftRadius, setBorderTopLeftRadiusHeight, setBorderTopLeftRadiusWidth, setBorderTopRightRadius, setBorderTopRightRadiusHeight, setBorderTopRightRadiusWidth, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setColor, setDynamicHeight, setFontSmooth, setHeight, setHorizontalAlignment, setHRefTarget, setHRefTitle, setHRefWindow, setLayoutCachable, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setName, setOrphans, setOverflowX, setOverflowY, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPreferredSize, setUseMinChunkWidth, setVerticalAlignment, setVisible, setWidowOrphanOptOut, setWidows, setWidth, setX, setY
public VerticalTextAlign getVerticalTextAlignment()
public void setVerticalTextAlignment(VerticalTextAlign verticalTextAlignment)
verticalTextAlignment
- the vertical text alignment property or null, if the property should not be defined.public TextWrap getWrap()
TextWrap
public void setWrap(TextWrap wrap)
wrap
- the defined text-wrap property.TextWrap
public WhitespaceCollapse getWhitespaceCollapse()
WhitespaceCollapse
public void setWhitespaceCollapse(WhitespaceCollapse whitespaceCollapse)
whitespaceCollapse
- the white space collapse constant or null, if undefined.WhitespaceCollapse
public Float getMaximumLetterSpacing()
public void setMaximumLetterSpacing(Float maximumLetterSpacing)
maximumLetterSpacing
- the maximum letter spacing.public Float getMinimumLetterSpacing()
public void setMinimumLetterSpacing(Float minimumLetterSpacing)
minimumLetterSpacing
- the minimum letter spacing or null, if undefined.public Float getOptimumLetterSpacing()
public void setOptimumLetterSpacing(Float optimumLetterSpacing)
optimumLetterSpacing
- the optimum letter spacing or null, if undefined.public Boolean getEmbedFont()
public void setEmbedFont(Boolean embedFont)
embedFont
- embedds the font if possible.public String getFontName()
public void setFontName(String fontName)
fontName
- the name of the font.public Boolean getBold()
public void setBold(Boolean bold)
bold
- the bold-flag.public Boolean getItalic()
public void setItalic(Boolean italic)
italic
- the italic-flag.public Boolean getUnderline()
public void setUnderline(Boolean underline)
underline
- the underline-flag.public Boolean getStrikethrough()
public void setStrikethrough(Boolean strikethrough)
strikethrough
- the strikethrough-flag.public Integer getFontSize()
public void setFontSize(Integer fontSize)
fontSize
- the font size.public Float getLineHeight()
public void setLineHeight(Float lineHeight)
lineHeight
- the line height.public String getEncoding()
public void setEncoding(String encoding)
encoding
- the font encoding.public String getReservedLiteral()
public void setReservedLiteral(String reservedLiteral)
reservedLiteral
- the reserved literal.public Boolean getTrimTextContent()
public void setTrimTextContent(Boolean trimTextContent)
trimTextContent
- Boolean.TRUE, if the text should be trimmed, Boolean.FALSE if the text should never be trimmed or null, if
the default should be applied.public Boolean getWrapText()
public void setWrapText(Boolean wrapText)
wrapText
- the wrap text flag.