Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.pdf
Class ITextRenderer

java.lang.Object
  extended by org.xhtmlrenderer.pdf.ITextRenderer

public class ITextRenderer
extends java.lang.Object


Constructor Summary
ITextRenderer()
           
ITextRenderer(float dotsPerPoint, int dotsPerPixel)
           
 
Method Summary
 void createPDF(java.io.OutputStream os)
           
 void createPDF(java.io.OutputStream os, boolean finish)
           
 void createPDF(java.io.OutputStream os, boolean finish, int initialPageNo)
          NOTE: Caller is responsible for cleaning up the OutputStream if something goes wrong.
 void exportText(java.io.Writer writer)
           
 java.util.List findPagePositionsByID(java.util.regex.Pattern pattern)
           
 void finishPDF()
           
 float getDotsPerPoint()
           
 ITextFontResolver getFontResolver()
           
 PDFCreationListener getListener()
           
 ITextOutputDevice getOutputDevice()
           
 PDFEncryption getPDFEncryption()
           
 char getPDFVersion()
           
 BlockBox getRootBox()
           
 SharedContext getSharedContext()
           
 com.lowagie.text.pdf.PdfWriter getWriter()
           
 void layout()
           
 void setDocument(org.w3c.dom.Document doc, java.lang.String url)
           
 void setDocument(org.w3c.dom.Document doc, java.lang.String url, NamespaceHandler nsh)
           
 void setDocument(java.io.File file)
           
 void setDocument(java.lang.String uri)
           
 void setDocumentFromString(java.lang.String content)
           
 void setListener(PDFCreationListener listener)
           
 void setPDFEncryption(PDFEncryption pdfEncryption)
           
 void setPDFVersion(char _v)
           
 void writeNextDocument()
           
 void writeNextDocument(int initialPageNo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITextRenderer

public ITextRenderer()

ITextRenderer

public ITextRenderer(float dotsPerPoint,
                     int dotsPerPixel)
Method Detail

getFontResolver

public ITextFontResolver getFontResolver()

setDocument

public void setDocument(java.lang.String uri)

setDocument

public void setDocument(org.w3c.dom.Document doc,
                        java.lang.String url)

setDocument

public void setDocument(java.io.File file)
                 throws java.io.IOException
Throws:
java.io.IOException

setDocumentFromString

public void setDocumentFromString(java.lang.String content)

setDocument

public void setDocument(org.w3c.dom.Document doc,
                        java.lang.String url,
                        NamespaceHandler nsh)

getPDFEncryption

public PDFEncryption getPDFEncryption()

setPDFEncryption

public void setPDFEncryption(PDFEncryption pdfEncryption)

setPDFVersion

public void setPDFVersion(char _v)

getPDFVersion

public char getPDFVersion()

layout

public void layout()

createPDF

public void createPDF(java.io.OutputStream os)
               throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

writeNextDocument

public void writeNextDocument()
                       throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

writeNextDocument

public void writeNextDocument(int initialPageNo)
                       throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

finishPDF

public void finishPDF()

createPDF

public void createPDF(java.io.OutputStream os,
                      boolean finish)
               throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

createPDF

public void createPDF(java.io.OutputStream os,
                      boolean finish,
                      int initialPageNo)
               throws com.lowagie.text.DocumentException
NOTE: Caller is responsible for cleaning up the OutputStream if something goes wrong.

Throws:
com.lowagie.text.DocumentException

getOutputDevice

public ITextOutputDevice getOutputDevice()

getSharedContext

public SharedContext getSharedContext()

exportText

public void exportText(java.io.Writer writer)
                throws java.io.IOException
Throws:
java.io.IOException

getRootBox

public BlockBox getRootBox()

getDotsPerPoint

public float getDotsPerPoint()

findPagePositionsByID

public java.util.List findPagePositionsByID(java.util.regex.Pattern pattern)

getListener

public PDFCreationListener getListener()

setListener

public void setListener(PDFCreationListener listener)

getWriter

public com.lowagie.text.pdf.PdfWriter getWriter()

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home