public class ITextRenderer extends Object
| Constructor and Description |
|---|
ITextRenderer() |
ITextRenderer(float dotsPerPoint,
int dotsPerPixel) |
public ITextRenderer()
public ITextRenderer(float dotsPerPoint,
int dotsPerPixel)
public Document getDocument()
public ITextFontResolver getFontResolver()
public void setDocument(String uri)
public void setDocument(File file) throws IOException
IOExceptionpublic void setDocumentFromString(String content)
public void setDocument(Document doc, String url, NamespaceHandler nsh)
public PDFEncryption getPDFEncryption()
public void setPDFEncryption(PDFEncryption pdfEncryption)
public void setPDFVersion(char _v)
public char getPDFVersion()
public void layout()
public void createPDF(OutputStream os) throws com.itextpdf.text.DocumentException, IOException
com.itextpdf.text.DocumentExceptionIOExceptionpublic void writeNextDocument()
throws com.itextpdf.text.DocumentException,
IOException
com.itextpdf.text.DocumentExceptionIOExceptionpublic void writeNextDocument(int initialPageNo)
throws com.itextpdf.text.DocumentException,
IOException
com.itextpdf.text.DocumentExceptionIOExceptionpublic void finishPDF()
public void createPDF(OutputStream os, boolean finish) throws com.itextpdf.text.DocumentException, IOException
com.itextpdf.text.DocumentExceptionIOExceptionpublic void createPDF(OutputStream os, boolean finish, int initialPageNo) throws com.itextpdf.text.DocumentException, IOException
IOExceptioncom.itextpdf.text.DocumentExceptionpublic ITextOutputDevice getOutputDevice()
public SharedContext getSharedContext()
public void exportText(Writer writer) throws IOException
IOExceptionpublic BlockBox getRootBox()
public float getDotsPerPoint()
public PDFCreationListener getListener()
public void setListener(PDFCreationListener listener)
public com.itextpdf.text.pdf.PdfWriter getWriter()
public boolean isScaleToFit()
public boolean setScaleToFit(boolean scaleToFit)
Copyright © 2017. All rights reserved.