public class PDTableTextCell extends APDTableCell
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PDTableTextCell.CellLine |
protected static class |
PDTableTextCell.PDTextPart
22.04.2016 16:52
|
DEFAULT_PADDING, padding| Constructor and Description |
|---|
PDTableTextCell(float desiredWidth,
float textSpacing,
PDInsets padding,
HorizontalAlign horizontalTextAlign,
VerticalAlign verticalTextAlign,
VerticalAlign verticalTextLineAlign,
PDTableTextCell.CellLine... cellLines) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawCell(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
float x,
float y,
float rowHeight) |
protected IOffsetAdjuster |
getHorizontalOffsetAdjuster() |
float |
getInnerWidth() |
protected IOffsetAdjuster |
getLineVerticalOffsetAdjuster() |
java.lang.String |
getText() |
float |
getTextSpacing() |
protected float |
measureHeight() |
protected float |
measureWidth() |
static PDTableTextCell |
toCell(float textSpacing,
PDInsets padding,
HorizontalAlign horizontalTextAlign,
VerticalAlign verticalTextAlign,
VerticalAlign verticalTextLineAlign,
PDStyledString... textLines) |
static PDTableTextCell |
toCell(float textSpacing,
PDStyledString... textLines) |
static PDTableTextCell |
toCell(PDInsets padding,
PDStyledString... textLines) |
static PDTableTextCell |
toCell(PDStyledString... textLines) |
static PDTableTextCell |
toFixedWidthCell(float textSpacing,
float desiredWidth,
PDStyledString... textLines) |
static PDTableTextCell |
toFixedWidthCell(float textSpacing,
PDInsets padding,
float desiredWidth,
HorizontalAlign horizontalTextAlign,
VerticalAlign verticalTextAlign,
VerticalAlign verticalTextLineAlign,
PDStyledString... textLines) |
static PDTableTextCell |
toFixedWidthCell(float desiredWidth,
PDStyledString... textLines) |
static PDTableTextCell |
toFixedWidthCell(PDInsets padding,
float desiredWidth,
PDStyledString... textLines) |
java.lang.String |
toString() |
getPaddinggetHeight, getWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeight, getWidthpublic PDTableTextCell(float desiredWidth,
float textSpacing,
PDInsets padding,
HorizontalAlign horizontalTextAlign,
VerticalAlign verticalTextAlign,
VerticalAlign verticalTextLineAlign,
PDTableTextCell.CellLine... cellLines)
public static PDTableTextCell toFixedWidthCell(PDInsets padding, float desiredWidth, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionpublic static PDTableTextCell toFixedWidthCell(float textSpacing, float desiredWidth, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionpublic static PDTableTextCell toFixedWidthCell(float desiredWidth, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionpublic static PDTableTextCell toFixedWidthCell(float textSpacing, PDInsets padding, float desiredWidth, HorizontalAlign horizontalTextAlign, VerticalAlign verticalTextAlign, VerticalAlign verticalTextLineAlign, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionpublic static PDTableTextCell toCell(PDInsets padding, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionpublic static PDTableTextCell toCell(float textSpacing, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionpublic static PDTableTextCell toCell(PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionpublic static PDTableTextCell toCell(float textSpacing, PDInsets padding, HorizontalAlign horizontalTextAlign, VerticalAlign verticalTextAlign, VerticalAlign verticalTextLineAlign, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionprotected float measureWidth()
throws java.io.IOException
measureWidth in class APDMeasurablejava.io.IOExceptionprotected float measureHeight()
throws java.io.IOException
measureHeight in class APDMeasurablejava.io.IOExceptionpublic void drawCell(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
float x,
float y,
float rowHeight)
throws java.io.IOException
java.io.IOExceptionprotected IOffsetAdjuster getHorizontalOffsetAdjuster()
protected IOffsetAdjuster getLineVerticalOffsetAdjuster()
public float getInnerWidth()
throws java.io.IOException
java.io.IOExceptionpublic float getTextSpacing()
public java.lang.String getText()
public java.lang.String toString()
toString in class java.lang.Object