public class TextCellDrawer<T extends AbstractTextCell> extends AbstractCellDrawer<AbstractTextCell>
cell| Constructor and Description |
|---|
TextCellDrawer(T cell) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
calculateAndGetLines(org.apache.pdfbox.pdmodel.font.PDFont currentFont,
int currentFontSize,
float maxWidth) |
protected float |
calculateCharSpacingFor(String line) |
protected float |
calculateInnerHeight() |
void |
drawContent(DrawingContext drawingContext) |
protected void |
drawText(DrawingContext drawingContext,
PositionedStyledText positionedStyledText) |
calculateOuterHeight, drawBackground, drawBorders, getAdaptionForVerticalAlignment, getRowSpanAdaption, rowHeightIsBiggerThanOrEqualToCellHeight, withCellpublic TextCellDrawer(T cell)
public void drawContent(DrawingContext drawingContext)
drawContent in interface DrawerdrawContent in class AbstractCellDrawer<AbstractTextCell>protected float calculateInnerHeight()
calculateInnerHeight in class AbstractCellDrawer<AbstractTextCell>protected float calculateCharSpacingFor(String line)
protected List<String> calculateAndGetLines(org.apache.pdfbox.pdmodel.font.PDFont currentFont, int currentFontSize, float maxWidth)
protected void drawText(DrawingContext drawingContext, PositionedStyledText positionedStyledText) throws IOException
IOExceptionCopyright © 2021. All rights reserved.