public abstract class AbstractTextCell extends AbstractCell
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractTextCell.AbstractTextCellBuilder<C extends AbstractTextCell,B extends AbstractTextCell.AbstractTextCellBuilder<C,B>> |
AbstractCell.AbstractCellBuilder<C extends AbstractCell,B extends AbstractCell.AbstractCellBuilder<C,B>>| Modifier and Type | Field and Description |
|---|---|
protected float |
lineSpacing |
protected Color |
textColor |
drawer, settings| Constructor and Description |
|---|
AbstractTextCell() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pdfbox.pdmodel.font.PDFont |
getFont() |
Integer |
getFontSize() |
float |
getMaxWidth() |
float |
getMinHeight() |
abstract String |
getText() |
Color |
getTextColor() |
float |
getTextHeight()
Calculates the cell's text's height in respect when horizontally printed/rendered.
|
float |
getWidthOfText() |
assertIsRendered, calculateHeightForRowSpan, createDefaultDrawer, getBackgroundColor, getBorderColor, getBorderStyleBottom, getBorderStyleLeft, getBorderStyleRight, getBorderStyleTop, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getDrawer, getHeight, getHorizontalPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getVerticalPadding, hasBackgroundColor, hasBorderBottom, hasBorderLeft, hasBorderRight, hasBorderTop, isHorizontallyAligned, isVerticallyAligned, isWordBreakprotected Color textColor
protected float lineSpacing
public org.apache.pdfbox.pdmodel.font.PDFont getFont()
public Integer getFontSize()
public Color getTextColor()
public abstract String getText()
public float getMinHeight()
public float getTextHeight()
public float getWidthOfText()
public float getMaxWidth()
Copyright © 2021. All rights reserved.