org.qi4j.envisage.print

## Class PDFWriter

- java.lang.Object
- - org.qi4j.envisage.print.PDFWriter

-     public class PDFWriter
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected 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 String` | `LAYER`
    `protected float` | `lineSpace`
    `protected String` | `MODULE`
    `protected org.apache.pdfbox.pdmodel.font.PDFont` | `normalFont`
    `protected float` | `normalFontSize`
    `protected float` | `startX`
    `protected float` | `startY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PDFWriter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `write(Component parent, ApplicationDetailDescriptor descriptor, List<GraphDisplay> graphDisplays)`
    `void` | `write(File file, ApplicationDetailDescriptor descriptor, List<GraphDisplay> graphDisplays)`
    `protected void` | `writeImpl(File file, ApplicationDetailDescriptor descriptor, 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 String APPLICATION

    - #### LAYER

          protected String LAYER

    - #### MODULE

          protected 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(Component parent,
                   ApplicationDetailDescriptor descriptor,
                   List<GraphDisplay> graphDisplays)

    - #### write

          public void write(File file,
                   ApplicationDetailDescriptor descriptor,
                   List<GraphDisplay> graphDisplays)

    - #### writeImpl

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

      Throws:
        `IOException`
        `org.apache.pdfbox.exceptions.COSVisitorException`