public interface PDFTemplateBuilder
Modifier and Type | Method and Description |
---|---|
void |
closeTemplate(PDDocument template)
Closes template
|
void |
createAcroForm(PDDocument template)
Creates Acro forms in the template
|
void |
createAcroFormDictionary(PDAcroForm acroForm,
PDSignatureField signatureField)
Create AcroForm Dictionary
|
void |
createAffineTransform(byte[] params)
In order to create Affine Transform, using parameters
|
void |
createAppearanceDictionary(PDXObjectForm holderForml,
PDSignatureField signatureField)
Creates appearance dictionary
|
void |
createFormaterRectangle(byte[] params) |
void |
createHolderForm(PDResources holderFormResources,
PDStream holderFormStream,
PDRectangle formrect)
Creates Form
|
void |
createHolderFormResources()
Creates resources of form
|
void |
createHolderFormStream(PDDocument template) |
void |
createImageForm(PDResources imageFormResources,
PDResources innerFormResource,
PDStream imageFormStream,
PDRectangle formrect,
AffineTransform affineTransform,
PDJpeg img)
Creates Image form
|
void |
createImageFormResources()
Create resource of image form
|
void |
createImageFormStream(PDDocument template) |
void |
createInnerForm(PDResources innerFormResources,
PDStream innerFormStream,
PDRectangle formrect) |
void |
createInnerFormResource()
Creates InnerForm
|
void |
createInnerFormStream(PDDocument template) |
void |
createPage(PDVisibleSignDesigner properties)
Creates specified size page
|
void |
createProcSetArray()
Creates procSetArray of PDF,Text,ImageB,ImageC,ImageI
|
void |
createSignature(PDSignatureField pdSignatureField,
PDPage page,
String signatureName)
Creates PDSignature
|
void |
createSignatureField(PDAcroForm acroForm)
Creates signature fields
|
void |
createSignatureImage(PDDocument template,
InputStream InputStream)
Creates signature image
|
void |
createSignatureRectangle(PDSignatureField signatureField,
PDVisibleSignDesigner properties)
Creates SingatureRectangle
|
void |
createTemplate(PDPage page)
Creates template using page
|
void |
createVisualSignature(PDDocument template)
just to create visible signature
|
void |
createWidgetDictionary(PDSignatureField signatureField,
PDResources holderFormResources)
adds Widget Dictionary
|
PDFTemplateStructure |
getStructure() |
void |
injectAppearanceStreams(PDStream holderFormStream,
PDStream innterFormStream,
PDStream imageFormStream,
String imageObjectName,
String imageName,
String innerFormName,
PDVisibleSignDesigner properties)
injects appearance streams
|
void |
injectProcSetArray(PDXObjectForm innerForm,
PDPage page,
PDResources innerFormResources,
PDResources imageFormResources,
PDResources holderFormResources,
COSArray procSet)
Inject procSetArray
|
void |
insertInnerFormToHolerResources(PDXObjectForm innerForm,
PDResources holderFormResources) |
void createAffineTransform(byte[] params)
params
- void createPage(PDVisibleSignDesigner properties)
properties
- void createTemplate(PDPage page) throws IOException
page
- IOException
void createAcroForm(PDDocument template)
template
- void createSignatureField(PDAcroForm acroForm) throws IOException
acroForm
- IOException
void createSignature(PDSignatureField pdSignatureField, PDPage page, String signatureName) throws IOException
pdSignatureField
- page
- signatureName
- IOException
void createAcroFormDictionary(PDAcroForm acroForm, PDSignatureField signatureField) throws IOException
acroForm
- signatureField
- IOException
void createSignatureRectangle(PDSignatureField signatureField, PDVisibleSignDesigner properties) throws IOException
signatureField
- properties
- IOException
void createProcSetArray()
void createSignatureImage(PDDocument template, InputStream InputStream) throws IOException
template
- InputStream
- IOException
void createFormaterRectangle(byte[] params)
params
- void createHolderFormStream(PDDocument template)
template
- void createHolderFormResources()
void createHolderForm(PDResources holderFormResources, PDStream holderFormStream, PDRectangle formrect)
holderFormResources
- holderFormStream
- formrect
- void createAppearanceDictionary(PDXObjectForm holderForml, PDSignatureField signatureField) throws IOException
holderForml
- signatureField
- IOException
void createInnerFormStream(PDDocument template)
template
- void createInnerFormResource()
void createInnerForm(PDResources innerFormResources, PDStream innerFormStream, PDRectangle formrect)
innerFormResources
- innerFormStream
- formrect
- void insertInnerFormToHolerResources(PDXObjectForm innerForm, PDResources holderFormResources)
innerForm
- holderFormResources
- void createImageFormStream(PDDocument template)
template
- void createImageFormResources()
void createImageForm(PDResources imageFormResources, PDResources innerFormResource, PDStream imageFormStream, PDRectangle formrect, AffineTransform affineTransform, PDJpeg img) throws IOException
imageFormResources
- innerFormResource
- imageFormStream
- formrect
- affineTransform
- img
- IOException
void injectProcSetArray(PDXObjectForm innerForm, PDPage page, PDResources innerFormResources, PDResources imageFormResources, PDResources holderFormResources, COSArray procSet)
innerForm
- page
- innerFormResources
- imageFormResources
- holderFormResources
- procSet
- void injectAppearanceStreams(PDStream holderFormStream, PDStream innterFormStream, PDStream imageFormStream, String imageObjectName, String imageName, String innerFormName, PDVisibleSignDesigner properties) throws IOException
holderFormStream
- innterFormStream
- imageFormStream
- imageObjectName
- imageName
- innerFormName
- properties
- IOException
void createVisualSignature(PDDocument template)
template
- void createWidgetDictionary(PDSignatureField signatureField, PDResources holderFormResources) throws IOException
signatureField
- holderFormResources
- IOException
PDFTemplateStructure getStructure()
void closeTemplate(PDDocument template) throws IOException
template
- IOException
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.