org.docx4j.org.xhtmlrenderer.pdf
Class ITextRenderer
java.lang.Object
org.docx4j.org.xhtmlrenderer.pdf.ITextRenderer
public class ITextRenderer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, 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(String uri)
setDocument
public void setDocument(Document doc,
String url)
setDocument
public void setDocument(File file)
throws IOException
- Throws:
IOException
setDocumentFromString
public void setDocumentFromString(String content)
setDocumentFromString
public void setDocumentFromString(String content,
String baseUrl)
setDocument
public void setDocument(Document doc,
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(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(OutputStream os,
boolean finish)
throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
createPDF
public void createPDF(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(Writer writer)
throws IOException
- Throws:
IOException
getRootBox
public BlockBox getRootBox()
getDotsPerPoint
public float getDotsPerPoint()
findPagePositionsByID
public List findPagePositionsByID(Pattern pattern)
getListener
public PDFCreationListener getListener()
setListener
public void setListener(PDFCreationListener listener)
getWriter
public com.lowagie.text.pdf.PdfWriter getWriter()
Copyright © 2011-2012. All Rights Reserved.