Interface IPdfDrawer

  • All Known Implementing Classes:
    PdfDrawer

    public interface IPdfDrawer
    • Method Detail

      • setupDrawer

        void setupDrawer​(org.apache.pdfbox.pdmodel.PDDocument pdf,
                         PdfResource pdfResource)
      • setTemplatePdf

        void setTemplatePdf​(org.apache.pdfbox.pdmodel.PDDocument pdf)
      • closeTemplate

        void closeTemplate()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • newPage

        void newPage()
              throws java.io.IOException
        Throws:
        java.io.IOException
      • checkOpenPages

        void checkOpenPages()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • closeContentStream

        void closeContentStream()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • drawTitleField

        void drawTitleField​(PdfField field)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • drawDataGroupField

        void drawDataGroupField​(PdfField field)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • drawTextField

        void drawTextField​(PdfField field)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • drawI18nDividerField

        void drawI18nDividerField​(PdfField field)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • drawBooleanField

        void drawBooleanField​(PdfField field)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • drawEnumerationField

        void drawEnumerationField​(PdfField field)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • drawMultiChoiceField

        void drawMultiChoiceField​(PdfField field)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • drawPageNumber

        void drawPageNumber()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • drawBooleanBox

        void drawBooleanBox​(java.util.List<java.lang.String> values,
                            java.lang.String text,
                            int x,
                            int y)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • drawSelectionButton

        boolean drawSelectionButton​(java.util.List<java.lang.String> values,
                                    java.lang.String choice,
                                    int x,
                                    int y,
                                    FieldType fieldType)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • drawLine

        void drawLine​(int x,
                      int y,
                      int fieldPosY,
                      int width,
                      int lineCounter,
                      float strokeWidth,
                      java.awt.Color color)
               throws java.io.IOException
        Throws:
        java.io.IOException
      • writeString

        void writeString​(org.apache.pdfbox.pdmodel.font.PDType0Font font,
                         int fontSize,
                         int x,
                         int y,
                         java.lang.String text,
                         java.awt.Color color)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • writeLabel

        void writeLabel​(org.apache.pdfbox.pdmodel.font.PDType0Font font,
                        int fontSize,
                        int x,
                        int y,
                        java.lang.String text,
                        java.awt.Color color)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • drawStroke

        void drawStroke​(int x,
                        int y,
                        int fieldPosY,
                        int width,
                        int lineCounter,
                        float strokeWidth)
                 throws java.io.IOException
        Throws:
        java.io.IOException