info.informatica.doc.pdf.itext
Class PDFRenderer
java.lang.Object
info.informatica.doc.pdf.itext.PDFRenderer
public class PDFRenderer
- extends Object
|
Field Summary |
protected com.itextpdf.text.Document |
pdf
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pdf
protected com.itextpdf.text.Document pdf
PDFRenderer
public PDFRenderer()
PDFRenderer
public PDFRenderer(com.itextpdf.text.Document pdf)
setDocument
public void setDocument(XHTMLDocument xdoc)
throws CSSStyleException
- Throws:
CSSStyleException
getRootBox
protected CSSContainerBox getRootBox()
getPdfWriter
protected com.itextpdf.text.pdf.PdfWriter getPdfWriter()
open
public void open(OutputStream out)
throws RenderingException
- Throws:
RenderingException
close
public void close()
getStyleFormatter
public PDFStyleFormatter getStyleFormatter()
print
public void print()
throws RenderingException
- Throws:
RenderingException
renderStaticBlockBox
protected void renderStaticBlockBox(Object nativeContainer,
CSSContainerBox box)
renderInlineBox
protected com.itextpdf.text.Phrase renderInlineBox(CSSInlineBox box)
addNativeObject
protected void addNativeObject(Object nativeContainer,
com.itextpdf.text.Element child)
nativePeer
protected com.itextpdf.text.Element nativePeer(CSSContainerBox box)
nativePeer
protected Object nativePeer(ReplacedElementBox<com.itextpdf.text.Image> box)
format
protected void format(Object o,
CSSContainerBox box)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011 informatica.info. All Rights Reserved.