public class Page
extends java.lang.Object
Constructor and Description |
---|
Page(PDFDocument document) |
Modifier and Type | Method and Description |
---|---|
void |
addImage(int fromLeft,
int fromBottom,
int width,
int height,
XObjectImage xImage,
java.lang.String transformation) |
void |
addLine(int fromLeft,
int fromBottom,
int toLeft,
int toBottom) |
void |
addRawContent(java.lang.String rawContent) |
void |
addRectangle(int fromLeft,
int fromBottom,
int toLeft,
int toBottom) |
void |
addText(int leftPosition,
int topPositionFromBottom,
int fontSize,
java.lang.String text) |
void |
addText(int leftPosition,
int topPositionFromBottom,
int fontSize,
java.lang.String text,
java.lang.String transformation) |
void |
addTextAsHex(int leftPosition,
int topPositionFromBottom,
int fontSize,
java.lang.String hex) |
void |
addTextAsHex(int leftPosition,
int topPositionFromBottom,
int fontSize,
java.lang.String hex,
java.lang.String transformation) |
IndirectObject |
getIndirectObject() |
void |
render(java.lang.String pagesIndirectReference) |
void |
setFont(java.lang.String subType,
java.lang.String baseFont) |
void |
setFont(java.lang.String subType,
java.lang.String baseFont,
java.lang.String encoding) |
public Page(PDFDocument document)
public IndirectObject getIndirectObject()
public void render(java.lang.String pagesIndirectReference)
public void setFont(java.lang.String subType, java.lang.String baseFont)
public void setFont(java.lang.String subType, java.lang.String baseFont, java.lang.String encoding)
public void addRawContent(java.lang.String rawContent)
public void addText(int leftPosition, int topPositionFromBottom, int fontSize, java.lang.String text)
public void addText(int leftPosition, int topPositionFromBottom, int fontSize, java.lang.String text, java.lang.String transformation)
public void addTextAsHex(int leftPosition, int topPositionFromBottom, int fontSize, java.lang.String hex)
public void addTextAsHex(int leftPosition, int topPositionFromBottom, int fontSize, java.lang.String hex, java.lang.String transformation)
public void addLine(int fromLeft, int fromBottom, int toLeft, int toBottom)
public void addRectangle(int fromLeft, int fromBottom, int toLeft, int toBottom)
public void addImage(int fromLeft, int fromBottom, int width, int height, XObjectImage xImage, java.lang.String transformation)