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(PDInsets padding,
PDTableTextCell.CellLine... lines) |
PDTableTextCell(PDTableTextCell.CellLine... lines) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawCell(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
float x,
float y) |
java.lang.String |
getText() |
float |
getTextSpacing() |
protected float |
measureHeight() |
protected float |
measureWidth() |
static PDTableTextCell |
toCell(float textSpacing,
PDInsets padding,
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,
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(PDTableTextCell.CellLine... lines)
public PDTableTextCell(PDInsets padding, PDTableTextCell.CellLine... lines)
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, 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, 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)
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