public static interface AbstractReportBuilder.IPageCanvas
Modifier and Type | Method and Description |
---|---|
AbstractReportBuilder.IPageCanvas |
drawTextAtLeftTopCorner(java.lang.String text,
org.apache.pdfbox.pdmodel.font.PDFont font,
float fontSize,
float lineWidth,
float x,
float y)
Draw the provided text at (x, y) upper left corner
|
AbstractReportBuilder.IPageCanvas |
drawTextAtRightTopCorner(java.lang.String text,
org.apache.pdfbox.pdmodel.font.PDFont font,
float fontSize,
float lineWidth,
float x,
float y)
Draw the provided text aligned right at y upper level
|
AbstractReportBuilder.IPageCanvas |
drawTextCentered(java.lang.String text,
org.apache.pdfbox.pdmodel.font.PDFont font,
float fontSize,
float lineWidth,
float width,
float x,
float y)
Draw the provided text centered at y upper level
|
java.util.LinkedList<AbstractReportBuilder.ColumnInfo<?>> |
getColumnRange()
Gets the current column range that have been drawn on this page canvas already
|
int |
getPageNumber()
Gets the page number.
|
AbstractReportBuilder.PageState |
getState()
Gets the current page state.
|
AbstractReportBuilder.IPageCanvas |
strokeHorizontal(float x,
float y,
float width,
float lineWidth)
Draws the horizontal starting at (x, y) upper left corner provided with its width
and its line width.
|
AbstractReportBuilder.IPageCanvas |
strokeRectangle(float x,
float y,
float width,
float height)
Draws the shape of a rectangle provided by its (x, y) upper left corner and its size.
|
AbstractReportBuilder.IPageCanvas |
strokeVertical(float x,
float y,
float height,
float lineWidth)
Draws the vertical starting at (x, y) upper left corner provided with its height
and its line width.
|
int getPageNumber()
AbstractReportBuilder.PageState getState()
java.util.LinkedList<AbstractReportBuilder.ColumnInfo<?>> getColumnRange()
AbstractReportBuilder.IPageCanvas strokeRectangle(float x, float y, float width, float height) throws java.io.IOException
x
- The rectangle's left side coordinatey
- The rectangle's top side coordinatewidth
- The rectangle's widthheight
- The rectangle's heightjava.io.IOException
- The IO exception if there is a failed output operationAbstractReportBuilder.IPageCanvas strokeVertical(float x, float y, float height, float lineWidth) throws java.io.IOException
x
- The vertical's left side coordinatey
- The vertical's top side coordinateheight
- The height of the verticallineWidth
- The line widthjava.io.IOException
- The IO exception if there is a failed output operationAbstractReportBuilder.IPageCanvas strokeHorizontal(float x, float y, float width, float lineWidth) throws java.io.IOException
x
- The horizontal's left side coordinatey
- The horizontal's top side coordinatewidth
- The width of the horizontallineWidth
- The line widthjava.io.IOException
- The IO exception if there is a failed output operationAbstractReportBuilder.IPageCanvas drawTextAtLeftTopCorner(java.lang.String text, org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize, float lineWidth, float x, float y) throws java.io.IOException
text
- The textfont
- The fontfontSize
- The font sizelineWidth
- The line widthx
- The left side text positiony
- The top side text positionjava.io.IOException
- The IO exception if there is a failed output operationAbstractReportBuilder.IPageCanvas drawTextCentered(java.lang.String text, org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize, float lineWidth, float width, float x, float y) throws java.io.IOException
text
- The textfont
- The fontfontSize
- The font sizelineWidth
- The line widthx
- The left side text positiony
- The top side text positionjava.io.IOException
- The IO exception if there is a failed output operationAbstractReportBuilder.IPageCanvas drawTextAtRightTopCorner(java.lang.String text, org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize, float lineWidth, float x, float y) throws java.io.IOException
text
- The textfont
- The fontfontSize
- The font sizelineWidth
- The line widthx
- The left side text positiony
- The top side text positionjava.io.IOException
- The IO exception if there is a failed output operation