org.xhtmlrenderer.pdf
Class ITextRenderer
java.lang.Object
org.xhtmlrenderer.pdf.ITextRenderer
public class ITextRenderer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITextRenderer
public ITextRenderer()
ITextRenderer
public ITextRenderer(float dotsPerPoint,
int dotsPerPixel)
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 Home