Class Renderer

    • Constructor Detail

      • Renderer

        public Renderer()
    • Method Detail

      • renderLabel

        public abstract int renderLabel​(PdfField field)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getTextWidth

        protected static int getTextWidth​(java.util.List<java.lang.String> values,
                                          org.apache.pdfbox.pdmodel.font.PDType0Font font,
                                          int fontSize)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getMaxLabelLineSize

        protected int getMaxLabelLineSize​(int fieldWidth,
                                          int fontSize)