Class AbstractPdfExpose

    • Field Detail

      • DEFAULT_MARGIN_BOTTOM

        protected static final float DEFAULT_MARGIN_BOTTOM
        See Also:
        Constant Field Values
      • DEFAULT_MARGIN_RIGHT

        protected static final float DEFAULT_MARGIN_RIGHT
        See Also:
        Constant Field Values
      • baseFont

        protected com.lowagie.text.pdf.BaseFont baseFont
      • bodyFontH1

        protected com.lowagie.text.Font bodyFontH1
      • bodyFontH2

        protected com.lowagie.text.Font bodyFontH2
      • bodyFontH3

        protected com.lowagie.text.Font bodyFontH3
      • bodyFontBold

        protected com.lowagie.text.Font bodyFontBold
      • bodyFontNormal

        protected com.lowagie.text.Font bodyFontNormal
      • bodyFontSmall

        protected com.lowagie.text.Font bodyFontSmall
      • borderColor

        protected Color borderColor
      • bodyHeadBgColor

        protected Color bodyHeadBgColor
      • bodyHeadFgColor

        protected Color bodyHeadFgColor
      • bodyTextBgColor

        protected Color bodyTextBgColor
      • bodyTextFgColor

        protected Color bodyTextFgColor
      • headerTextFgColor

        protected Color headerTextFgColor
      • footerTextFgColor

        protected Color footerTextFgColor
      • pageBreakBeforeRow

        protected List<Integer> pageBreakBeforeRow
      • pageBreakIfNextRowNotFits

        protected List<Integer> pageBreakIfNextRowNotFits
    • Constructor Detail

      • AbstractPdfExpose

        public AbstractPdfExpose()
    • Method Detail

      • buildDocument

        protected void buildDocument​(com.lowagie.text.Document document,
                                     com.lowagie.text.pdf.PdfPTable table,
                                     com.lowagie.text.pdf.PdfReader templateReader,
                                     com.lowagie.text.Rectangle pageSize,
                                     OutputStream output)
                              throws IOException,
                                     com.lowagie.text.DocumentException
        Throws:
        IOException
        com.lowagie.text.DocumentException
      • buildTableHead

        protected void buildTableHead​(com.lowagie.text.pdf.PdfPTable table,
                                      int index,
                                      String headline)
      • buildTableHead2

        protected void buildTableHead2​(com.lowagie.text.pdf.PdfPTable table,
                                       int index,
                                       int pos,
                                       String headline)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String txt)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String txt,
                                     int style)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String txt,
                                     int style,
                                     int align)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String txt,
                                     float size)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String txt,
                                     float size,
                                     int align)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String txt,
                                     int style,
                                     float size)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String txt,
                                     int style,
                                     float size,
                                     int align)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     com.lowagie.text.Paragraph paragraph)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String key,
                                     String value)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String key,
                                     com.lowagie.text.Phrase value)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String key,
                                     com.lowagie.text.Paragraph value)
      • buildTableRow

        protected void buildTableRow​(com.lowagie.text.pdf.PdfPTable table,
                                     String key,
                                     com.lowagie.text.pdf.PdfPCell value)
      • buildTemplate

        protected void buildTemplate​(com.lowagie.text.pdf.PdfTemplate tpl,
                                     float width,
                                     float height,
                                     int page,
                                     int pageCount,
                                     int currentRow)
                              throws IOException,
                                     com.lowagie.text.DocumentException
        Throws:
        IOException
        com.lowagie.text.DocumentException
      • createWriter

        protected com.lowagie.text.pdf.PdfWriter createWriter​(com.lowagie.text.Document document,
                                                              OutputStream output)
                                                       throws com.lowagie.text.DocumentException
        Throws:
        com.lowagie.text.DocumentException
      • getBodyHeadBgColor

        public Color getBodyHeadBgColor()
      • getBodyHeadFgColor

        public Color getBodyHeadFgColor()
      • getBodyTextBgColor

        public Color getBodyTextBgColor()
      • getBodyTextFgColor

        public Color getBodyTextFgColor()
      • getBorderColor

        public Color getBorderColor()
      • getEncryptionPassword

        public String getEncryptionPassword()
      • getFooterTextFgColor

        public Color getFooterTextFgColor()
      • getHeaderTextCustomLine1

        public String getHeaderTextCustomLine1()
      • getHeaderTextCustomLine2

        public String getHeaderTextCustomLine2()
      • getHeaderTextCustomLine3

        public String getHeaderTextCustomLine3()
      • getHeaderTextFgColor

        public Color getHeaderTextFgColor()
      • getMarginBottom

        protected float getMarginBottom​(int page)
      • getMarginLeft

        protected float getMarginLeft​(int page)
      • getMarginRight

        protected float getMarginRight​(int page)
      • getMarginTop

        protected float getMarginTop​(int page)
      • getMatchingFont

        public static com.lowagie.text.Font getMatchingFont​(String txt,
                                                            float maxWidth,
                                                            com.lowagie.text.Font baseFont)
      • getMatchingFont

        public static com.lowagie.text.Font getMatchingFont​(String txt,
                                                            float maxWidth,
                                                            float maxHeight,
                                                            com.lowagie.text.Font baseFont,
                                                            float multipliedLeading)
      • getMatchingFont

        public static com.lowagie.text.Font getMatchingFont​(String txt,
                                                            float maxWidth,
                                                            float maxHeight,
                                                            com.lowagie.text.Font baseFont,
                                                            float multipliedLeading,
                                                            char[] separators)
      • getPageNumber

        protected int getPageNumber​(int row)
      • getRegisteredFont

        protected static com.lowagie.text.Font getRegisteredFont()
      • getRegisteredFont

        protected static com.lowagie.text.Font getRegisteredFont​(String name)
      • getRegisteredFont

        protected static com.lowagie.text.Font getRegisteredFont​(float size,
                                                                 int style)
      • getRegisteredFont

        protected static com.lowagie.text.Font getRegisteredFont​(String name,
                                                                 float size,
                                                                 int style)
      • getRegisteredFont

        protected static com.lowagie.text.Font getRegisteredFont​(float size,
                                                                 int style,
                                                                 Color color)
      • getRegisteredFont

        protected static com.lowagie.text.Font getRegisteredFont​(String name,
                                                                 float size,
                                                                 int style,
                                                                 Color color)
      • isBodyHeadNumbered

        public boolean isBodyHeadNumbered()
      • isEncryption

        public boolean isEncryption()
      • isEncryptionAccessibilityAllowed

        public boolean isEncryptionAccessibilityAllowed()
      • isEncryptionCopyingAllowed

        public boolean isEncryptionCopyingAllowed()
      • isEncryptionPrintingAllowed

        public boolean isEncryptionPrintingAllowed()
      • isFooter

        public boolean isFooter()
      • isFooterPageNumber

        public boolean isFooterPageNumber()
      • isFooterTimestamp

        public boolean isFooterTimestamp()
      • isFooterWebsite

        public boolean isFooterWebsite()
      • isHeader

        public boolean isHeader()
      • isHeaderLogo

        public boolean isHeaderLogo()
      • isHeaderTextCustom

        public boolean isHeaderTextCustom()
      • registerFonts

        protected void registerFonts()
      • setBodyHeadBgColor

        public void setBodyHeadBgColor​(Color val)
      • setBodyHeadFgColor

        public void setBodyHeadFgColor​(Color val)
      • setBodyHeadNumbered

        public void setBodyHeadNumbered​(boolean val)
      • setBodyTextBgColor

        public void setBodyTextBgColor​(Color val)
      • setBodyTextFgColor

        public void setBodyTextFgColor​(Color val)
      • setBorderColor

        public void setBorderColor​(Color val)
      • setEncryption

        public void setEncryption​(boolean val)
      • setEncryptionAccessibilityAllowed

        public void setEncryptionAccessibilityAllowed​(boolean val)
      • setEncryptionCopyingAllowed

        public void setEncryptionCopyingAllowed​(boolean val)
      • setEncryptionPassword

        public void setEncryptionPassword​(String val)
      • setEncryptionPrintingAllowed

        public void setEncryptionPrintingAllowed​(boolean val)
      • setFooter

        public void setFooter​(boolean val)
      • setFooterPageNumber

        public void setFooterPageNumber​(boolean val)
      • setFooterTextFgColor

        public void setFooterTextFgColor​(Color val)
      • setFooterTimestamp

        public void setFooterTimestamp​(boolean val)
      • setFooterWebsite

        public void setFooterWebsite​(boolean val)
      • setHeader

        public void setHeader​(boolean val)
      • setHeaderLogo

        public void setHeaderLogo​(boolean val)
      • setHeaderTextCustom

        public void setHeaderTextCustom​(boolean val)
      • setHeaderTextCustomLine1

        public void setHeaderTextCustomLine1​(String val)
      • setHeaderTextCustomLine2

        public void setHeaderTextCustomLine2​(String val)
      • setHeaderTextCustomLine3

        public void setHeaderTextCustomLine3​(String val)
      • setHeaderTextFgColor

        public void setHeaderTextFgColor​(Color val)