public class PDFUtils
extends java.lang.Object
| Constructor and Description |
|---|
PDFUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.pdfbox.pdmodel.common.PDRectangle |
getColSize(IPDMeasurable... objects) |
protected static PDTableTextCell.PDTextPart[] |
getParts(PDStyledString text) |
static org.apache.pdfbox.pdmodel.common.PDRectangle |
getRowSize(IPDMeasurable... objects) |
static float |
maxHeightOf(IPDMeasurable... objects) |
static float |
maxWidthOf(IPDMeasurable... objects) |
protected static PDTableTextCell.CellLine[] |
toCell(PDStyledString... textLines) |
static float |
totalHeight(IPDMeasurable... objects) |
static float |
totalWidth(IPDMeasurable... objects) |
protected static java.util.Collection<PDTableTextCell.CellLine> |
wrapLine(float desiredWidth,
PDStyledString textLine) |
protected static PDTableTextCell.CellLine[] |
wrapLines(float desiredWidth,
PDStyledString... textLines) |
protected static PDTableTextCell.CellLine[] wrapLines(float desiredWidth, PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionprotected static PDTableTextCell.CellLine[] toCell(PDStyledString... textLines) throws java.io.IOException
java.io.IOExceptionprotected static PDTableTextCell.PDTextPart[] getParts(PDStyledString text)
protected static java.util.Collection<PDTableTextCell.CellLine> wrapLine(float desiredWidth, PDStyledString textLine) throws java.io.IOException
java.io.IOExceptionpublic static float maxHeightOf(IPDMeasurable... objects) throws java.io.IOException
java.io.IOExceptionpublic static float maxWidthOf(IPDMeasurable... objects) throws java.io.IOException
java.io.IOExceptionpublic static float totalHeight(IPDMeasurable... objects) throws java.io.IOException
java.io.IOExceptionpublic static float totalWidth(IPDMeasurable... objects) throws java.io.IOException
java.io.IOExceptionpublic static org.apache.pdfbox.pdmodel.common.PDRectangle getRowSize(IPDMeasurable... objects) throws java.io.IOException
java.io.IOExceptionpublic static org.apache.pdfbox.pdmodel.common.PDRectangle getColSize(IPDMeasurable... objects) throws java.io.IOException
java.io.IOException