Class PDFTemplateCreator
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateCreator
Class to build PDF template.
- Author:
- Vakhtang Koroghlishvili
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildPDF(PDVisibleSignDesigner properties) Build a PDF with a visible signature step by step, and return it as a stream.Returns the PDFTemplateStructure object.
-
Constructor Details
-
PDFTemplateCreator
Constructor.- Parameters:
templateBuilder- the template builder
-
-
Method Details
-
getPdfStructure
Returns the PDFTemplateStructure object.- Returns:
- the template for the structure
-
buildPDF
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:
IOException- if the PDF could not be created
-