public class ITextRenderer
extends java.lang.Object
| Constructor and Description |
|---|
ITextRenderer() |
ITextRenderer(float dotsPerPoint,
int dotsPerPixel) |
| Modifier and Type | Method and Description |
|---|---|
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() |
org.w3c.dom.Document |
getDocument() |
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 |
setDocumentFromString(java.lang.String content,
java.lang.String baseUrl) |
void |
setListener(PDFCreationListener listener) |
void |
setPDFEncryption(PDFEncryption pdfEncryption) |
void |
setPDFVersion(char _v) |
void |
writeNextDocument() |
void |
writeNextDocument(int initialPageNo) |
public ITextRenderer()
public ITextRenderer(float dotsPerPoint,
int dotsPerPixel)
public org.w3c.dom.Document getDocument()
public ITextFontResolver getFontResolver()
public void setDocument(java.lang.String uri)
public void setDocument(org.w3c.dom.Document doc,
java.lang.String url)
public void setDocument(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic void setDocumentFromString(java.lang.String content)
public void setDocumentFromString(java.lang.String content,
java.lang.String baseUrl)
public void setDocument(org.w3c.dom.Document doc,
java.lang.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(java.io.OutputStream os)
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionpublic void writeNextDocument()
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionpublic void writeNextDocument(int initialPageNo)
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionpublic void finishPDF()
public void createPDF(java.io.OutputStream os,
boolean finish)
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionpublic void createPDF(java.io.OutputStream os,
boolean finish,
int initialPageNo)
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionpublic ITextOutputDevice getOutputDevice()
public SharedContext getSharedContext()
public void exportText(java.io.Writer writer)
throws java.io.IOException
java.io.IOExceptionpublic BlockBox getRootBox()
public float getDotsPerPoint()
public java.util.List findPagePositionsByID(java.util.regex.Pattern pattern)
public PDFCreationListener getListener()
public void setListener(PDFCreationListener listener)
public com.lowagie.text.pdf.PdfWriter getWriter()
Copyright © 2014. All Rights Reserved.