public class ReportPadding extends AbstractReportElement implements ReportElement
IMPORTANT: Although this class is publicly visible, it is subject to change and may not be implemented by clients!
| Constructor and Description |
|---|
ReportPadding(float padding) |
| Modifier and Type | Method and Description |
|---|---|
float |
getHeight(float allowedWidth)
Height of this segment
|
float |
getPadding() |
float |
print(org.apache.pdfbox.pdmodel.PDDocument document,
org.apache.pdfbox.pdmodel.PDPageContentStream stream,
int pageNumber,
float startX,
float startY,
float allowedWidth) |
getFirstSegmentHeight, getHeightOfElementToSplit, getImageIntents, isSplitable, split, splitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFirstSegmentHeight, getHeightOfElementToSplit, getImageIntents, isSplitable, split, splitpublic float getPadding()
public float print(org.apache.pdfbox.pdmodel.PDDocument document,
org.apache.pdfbox.pdmodel.PDPageContentStream stream,
int pageNumber,
float startX,
float startY,
float allowedWidth)
throws java.io.IOException
print in interface ReportElementdocument - PdfBox documentstream - PdfBox streampageNumber - current page number (0 based)startX - starting xstartY - starting yallowedWidth - maximal width of segmentjava.io.IOException - in case something happens during printingpublic float getHeight(float allowedWidth)
ReportElementgetHeight in interface ReportElementallowedWidth - allowed with of the segment