public class PDFWriter
extends java.lang.Object
Constructor and Description |
---|
PDFWriter() |
PDFWriter(int pageWidth,
int pageHeight) |
Modifier and Type | Method and Description |
---|---|
void |
addImage(int fromLeft,
int fromBottom,
Image Image) |
void |
addImage(int fromLeft,
int fromBottom,
Image Image,
java.lang.String transformation) |
void |
addImage(int fromLeft,
int fromBottom,
int toLeft,
int toBottom,
Image Image) |
void |
addImage(int fromLeft,
int fromBottom,
int toLeft,
int toBottom,
Image Image,
java.lang.String transformation) |
void |
addImageKeepRatio(int fromLeft,
int fromBottom,
int width,
int height,
Image Image) |
void |
addImageKeepRatio(int fromLeft,
int fromBottom,
int width,
int height,
Image Image,
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) |
java.lang.String |
asString() |
int |
getPageCount() |
void |
newPage() |
void |
setCurrentPage(int pageNumber) |
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 PDFWriter()
public PDFWriter(int pageWidth, int pageHeight)
public void newPage()
public void setCurrentPage(int pageNumber)
public int getPageCount()
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, Image Image) throws IOException
IOException
public void addImage(int fromLeft, int fromBottom, Image Image, java.lang.String transformation) throws IOException
IOException
public void addImage(int fromLeft, int fromBottom, int toLeft, int toBottom, Image Image) throws IOException
IOException
public void addImage(int fromLeft, int fromBottom, int toLeft, int toBottom, Image Image, java.lang.String transformation) throws IOException
IOException
public void addImageKeepRatio(int fromLeft, int fromBottom, int width, int height, Image Image) throws IOException
IOException
public void addImageKeepRatio(int fromLeft, int fromBottom, int width, int height, Image Image, java.lang.String transformation) throws IOException
IOException
public java.lang.String asString()