Class PDFTemplateCreator


  • public class PDFTemplateCreator
    extends java.lang.Object
    Class to build PDF template.
    Author:
    Vakhtang Koroghlishvili
    • Constructor Detail

      • PDFTemplateCreator

        public PDFTemplateCreator​(PDFTemplateBuilder templateBuilder)
        Constructor.
        Parameters:
        templateBuilder - the template builder
    • Method Detail

      • getPdfStructure

        public PDFTemplateStructure getPdfStructure()
        Returns the PDFTemplateStructure object.
        Returns:
        the template for the structure
      • buildPDF

        public java.io.InputStream buildPDF​(PDVisibleSignDesigner properties)
                                     throws java.io.IOException
        Build a PDF with a visible signature step by step, and return it as a stream.
        Parameters:
        properties - properties to be used for the creation
        Returns:
        InputStream stream containing the pdf holding the visible signature
        Throws:
        java.io.IOException - if the PDF could not be created