org.umber.crucible.pdf
Interface IPdfDocument

All Known Implementing Classes:
CachedPdfDocument, PdfDocument

public interface IPdfDocument


Method Summary
 void addImage(java.lang.String imagePath, int x, int y)
           
 double getVersion()
           
 void newPage()
           
 void newPage(int width, int height)
           
 void setDefaultFont(PdfFont font)
           
 void writePdf(java.io.OutputStream out)
           
 void writePdf(java.io.OutputStream out, boolean compress)
           
 void writeText(java.lang.String text)
           
 void writeText(java.lang.String text, PdfFont font)
           
 

Method Detail

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