public class TextBlock extends FontBlock
Block.PdfElementalign, CONDITION_REGEXP, spacingAfter| Constructor and Description |
|---|
TextBlock() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText() |
void |
render(PJsonObject params,
Block.PdfElement target,
RenderingContext context)
Called when the block is rendered.
|
void |
setText(java.lang.String text) |
void |
validate()
Called just after the config has been loaded to check it is valid.
|
getFont, getFontColorVal, getFontSize, getPdfFont, setFont, setFontColor, setFontEncoding, setFontSize, setFontSizegetAlign, getBackgroundColorVal, getMap, getMaxValueIfZero, getMaxValueIfZero, getVertAlign, isAbsolute, isVisible, setAlign, setBackgroundColor, setCondition, setSpacingAfter, setVertAlign, testConditionpublic void render(PJsonObject params, Block.PdfElement target, RenderingContext context) throws com.itextpdf.text.DocumentException
Blockpublic void setText(java.lang.String text)
public java.lang.String getText()