info.informatica.doc.pdf.itext
Class PDFRenderer

java.lang.Object
  extended by info.informatica.doc.pdf.itext.PDFRenderer

public class PDFRenderer
extends Object


Field Summary
protected  com.itextpdf.text.Document pdf
           
 
Constructor Summary
PDFRenderer()
           
PDFRenderer(com.itextpdf.text.Document pdf)
           
 
Method Summary
protected  void addNativeObject(Object nativeContainer, com.itextpdf.text.Element child)
           
 void close()
           
protected  void format(Object o, CSSContainerBox box)
           
protected  com.itextpdf.text.pdf.PdfWriter getPdfWriter()
           
protected  CSSContainerBox getRootBox()
           
 PDFStyleFormatter getStyleFormatter()
           
static void main(String[] args)
           
protected  com.itextpdf.text.Element nativePeer(CSSContainerBox box)
           
protected  Object nativePeer(ReplacedElementBox<com.itextpdf.text.Image> box)
           
 void open(OutputStream out)
           
 void print()
           
protected  com.itextpdf.text.Phrase renderInlineBox(CSSInlineBox box)
           
protected  void renderStaticBlockBox(Object nativeContainer, CSSContainerBox box)
           
 void setDocument(XHTMLDocument xdoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pdf

protected com.itextpdf.text.Document pdf
Constructor Detail

PDFRenderer

public PDFRenderer()

PDFRenderer

public PDFRenderer(com.itextpdf.text.Document pdf)
Method Detail

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.