org.umber.crucible.pdf
Interface IPdfDocument
- All Known Implementing Classes:
- CachedPdfDocument, PdfDocument
- public interface IPdfDocument
getVersion
public double getVersion()
newPage
public void newPage()
throws CruciblePdfException
- Throws:
CruciblePdfException
newPage
public void newPage(int width,
int height)
throws CruciblePdfException
- Throws:
CruciblePdfException
setDefaultFont
public void setDefaultFont(PdfFont font)
throws CruciblePdfException
- Throws:
CruciblePdfException
writeText
public void writeText(java.lang.String text)
throws CruciblePdfException
- Throws:
CruciblePdfException
writeText
public void writeText(java.lang.String text,
PdfFont font)
throws CruciblePdfException
- Throws:
CruciblePdfException
addImage
public void addImage(java.lang.String imagePath,
int x,
int y)
throws CruciblePdfException
- Throws:
CruciblePdfException
writePdf
public void writePdf(java.io.OutputStream out)
throws CruciblePdfWriteException
- Throws:
CruciblePdfWriteException
writePdf
public void writePdf(java.io.OutputStream out,
boolean compress)
throws CruciblePdfWriteException
- Throws:
CruciblePdfWriteException