public class ImageCell<T extends org.apache.pdfbox.pdmodel.PDPage> extends Cell<T>
| Modifier and Type | Method and Description |
|---|---|
float |
getHorizontalFreeSpace()
Gets free horizontal space of cell.
|
Image |
getImage()
Method which retrieve
Image |
float |
getTextHeight()
Gets
Paragraph's height |
float |
getVerticalFreeSpace()
Gets free vertical space of cell.
|
void |
scaleToFit() |
copyCellStyle, getAlign, getBottomBorder, getBottomPadding, getCellHeight, getExtraWidth, getFillColor, getFont, getFontBold, getFontSize, getHeight, getInnerHeight, getInnerWidth, getLeftBorder, getLeftPadding, getLineSpacing, getParagraph, getRightBorder, getRightPadding, getText, getTextColor, getTextWidth, getTopBorder, getTopPadding, getValign, getWidth, getWrappingFunction, hasSameStyle, isColspanCell, isHeaderCell, isTextRotated, setAlign, setBorderStyle, setBottomBorderStyle, setBottomPadding, setColspanCell, setFillColor, setFont, setFontBold, setFontSize, setHeaderCell, setHeight, setLeftBorderStyle, setLeftPadding, setLineSpacing, setRightBorderStyle, setRightPadding, setText, setTextColor, setTextRotated, setTopBorderStyle, setTopPadding, setValign, setWidth, setWrappingFunctionpublic void scaleToFit()
public float getTextHeight()
Cell
Gets Paragraph's height
getTextHeight in class Cell<T extends org.apache.pdfbox.pdmodel.PDPage>Paragraph's heightpublic float getHorizontalFreeSpace()
CellGets free horizontal space of cell.
If cell has rotated value then free horizontal space is equal cell's
inner width (Cell.getInnerWidth()) subtracted to the
Paragraph's height otherwise it's just cell's
Cell.getInnerWidth() subtracted with width of longest line in normal
Paragraph.
getHorizontalFreeSpace in class Cell<T extends org.apache.pdfbox.pdmodel.PDPage>public float getVerticalFreeSpace()
CellGets free vertical space of cell.
If cell has rotated value then free vertical space is equal inner cell's
height (Cell.getInnerHeight()) subtracted to the longest line of
rotated Paragraph otherwise it's just cell's inner height (
Cell.getInnerHeight()) subtracted with width of the normal
Paragraph.
getVerticalFreeSpace in class Cell<T extends org.apache.pdfbox.pdmodel.PDPage>Copyright © 2020. All rights reserved.