org.qi4j.envisage.print
Class PDFWriter

java.lang.Object
  extended by org.qi4j.envisage.print.PDFWriter

public class PDFWriter
extends java.lang.Object


Field Summary
protected  java.lang.String APPLICATION
           
protected  org.apache.pdfbox.pdmodel.edit.PDPageContentStream curContentStream
           
protected  org.apache.pdfbox.pdmodel.font.PDFont curFont
           
protected  float curFontSize
           
protected  org.apache.pdfbox.pdmodel.common.PDRectangle curPageSize
           
protected  float curY
           
protected  org.apache.pdfbox.pdmodel.PDDocument doc
           
protected  org.apache.pdfbox.pdmodel.font.PDFont header1Font
           
protected  float header1FontSize
           
protected  org.apache.pdfbox.pdmodel.font.PDFont header2Font
           
protected  float header2FontSize
           
protected  org.apache.pdfbox.pdmodel.font.PDFont header3Font
           
protected  float header3FontSize
           
protected  org.apache.pdfbox.pdmodel.font.PDFont header4Font
           
protected  float header4FontSize
           
protected  org.apache.pdfbox.pdmodel.font.PDFont header5Font
           
protected  float header5FontSize
           
protected  float headerLineSpace
           
protected  java.lang.String LAYER
           
protected  float lineSpace
           
protected  java.lang.String MODULE
           
protected  org.apache.pdfbox.pdmodel.font.PDFont normalFont
           
protected  float normalFontSize
           
protected  float startX
           
protected  float startY
           
 
Constructor Summary
PDFWriter()
           
 
Method Summary
 void write(java.awt.Component parent, ApplicationDetailDescriptor descriptor, java.util.List<GraphDisplay> graphDisplays)
           
 void write(java.io.File file, ApplicationDetailDescriptor descriptor, java.util.List<GraphDisplay> graphDisplays)
           
protected  void writeImpl(java.io.File file, ApplicationDetailDescriptor descriptor, java.util.List<GraphDisplay> graphDisplays)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doc

protected org.apache.pdfbox.pdmodel.PDDocument doc

curContentStream

protected org.apache.pdfbox.pdmodel.edit.PDPageContentStream curContentStream

curPageSize

protected org.apache.pdfbox.pdmodel.common.PDRectangle curPageSize

curY

protected float curY

curFont

protected org.apache.pdfbox.pdmodel.font.PDFont curFont

curFontSize

protected float curFontSize

APPLICATION

protected java.lang.String APPLICATION

LAYER

protected java.lang.String LAYER

MODULE

protected java.lang.String MODULE

normalFont

protected org.apache.pdfbox.pdmodel.font.PDFont normalFont

header1Font

protected org.apache.pdfbox.pdmodel.font.PDFont header1Font

header2Font

protected org.apache.pdfbox.pdmodel.font.PDFont header2Font

header3Font

protected org.apache.pdfbox.pdmodel.font.PDFont header3Font

header4Font

protected org.apache.pdfbox.pdmodel.font.PDFont header4Font

header5Font

protected org.apache.pdfbox.pdmodel.font.PDFont header5Font

normalFontSize

protected float normalFontSize

header1FontSize

protected float header1FontSize

header2FontSize

protected float header2FontSize

header3FontSize

protected float header3FontSize

header4FontSize

protected float header4FontSize

header5FontSize

protected float header5FontSize

startX

protected float startX

startY

protected float startY

lineSpace

protected float lineSpace

headerLineSpace

protected float headerLineSpace
Constructor Detail

PDFWriter

public PDFWriter()
Method Detail

write

public void write(java.awt.Component parent,
                  ApplicationDetailDescriptor descriptor,
                  java.util.List<GraphDisplay> graphDisplays)

write

public void write(java.io.File file,
                  ApplicationDetailDescriptor descriptor,
                  java.util.List<GraphDisplay> graphDisplays)

writeImpl

protected void writeImpl(java.io.File file,
                         ApplicationDetailDescriptor descriptor,
                         java.util.List<GraphDisplay> graphDisplays)
                  throws java.io.IOException,
                         org.apache.pdfbox.exceptions.COSVisitorException
Throws:
java.io.IOException
org.apache.pdfbox.exceptions.COSVisitorException