public class PDFTemplateStructure
extends java.lang.Object
Constructor | Description |
---|---|
PDFTemplateStructure() |
Modifier and Type | Method | Description |
---|---|---|
PDAcroForm |
getAcroForm() |
Gets Acroform
|
COSDictionary |
getAcroFormDictionary() |
Gets Dictionary of AcroForm.
|
java.util.List<PDField> |
getAcroFormFields() |
Gets acroFormFields
|
java.awt.geom.AffineTransform |
getAffineTransform() |
Gets AffineTransform
|
PDAppearanceDictionary |
getAppearanceDictionary() |
Gets AppearanceDictionary
That is /AP entry the appearance dictionary.
|
PDRectangle |
getFormaterRectangle() |
Gets formatter rectangle
|
PDXObjectForm |
getHolderForm() |
Gets Holder form.
|
PDResources |
getHolderFormResources() |
Gets Holder form resources
|
PDStream |
getHolderFormStream() |
Sets HolderFormStream
|
PDXObjectForm |
getImageForm() |
Gets Image form.
|
java.lang.String |
getImageFormName() |
Gets image form name
|
PDResources |
getImageFormResources() |
Gets image form resources
|
PDStream |
getImageFormStream() |
Gets Image form stream
|
java.lang.String |
getImageName() |
Gets visible signature image name
|
PDXObjectForm |
getInnerForm() |
Gets inner form that is in this location:
AcroForm/DR/XObject/{holder form name}/Resources/XObject/{inner name}
By default inner form name starts with "n".
|
java.lang.String |
getInnerFormName() |
Gets name of inner form
|
PDResources |
getInnerFormResources() |
Gets inner form Resource
|
PDStream |
getInnterFormStream() |
Gets Inner form Stream.
|
PDJpeg |
getJpedImage() |
Gets the image of visible signature
|
PDPage |
getPage() |
Returns document page.
|
PDSignature |
getPdSignature() |
Gets PDSignature
|
COSArray |
getProcSet() |
Gets ProcSet Array
|
PDSignatureField |
getSignatureField() |
Gets Signature field
|
PDRectangle |
getSingatureRectangle() |
Gets SignatureRectangle
|
PDDocument |
getTemplate() |
Gets PDDocument template.
|
java.io.ByteArrayInputStream |
getTemplateAppearanceStream() |
Gets AP of the created template
|
COSDocument |
getVisualSignature() |
Gets COSDocument of visible Signature.
|
COSDictionary |
getWidgetDictionary() |
Gets Widget Dictionary.
|
void |
setAcroForm(PDAcroForm acroForm) |
Sets Acroform
|
void |
setAcroFormDictionary(COSDictionary acroFormDictionary) |
Acroform have its Dictionary, so we here set
the Dictionary which is in this location:
AcroForm/DR
|
void |
setAcroFormFields(java.util.List<PDField> acroFormFields) |
Sets acroFormFields
|
void |
setAffineTransform(java.awt.geom.AffineTransform affineTransform) |
Sets AffineTransform
|
void |
setAppearanceDictionary(PDAppearanceDictionary appearanceDictionary) |
Sets AppearanceDictionary
That is /AP entry the appearance dictionary.
|
void |
setFormaterRectangle(PDRectangle formaterRectangle) |
Sets formatter rectangle
|
void |
setHolderForm(PDXObjectForm holderForm) |
In the structure, form will be contained by XObject in the AcroForm/DR/
|
void |
setHolderFormResources(PDResources holderFormResources) |
Sets holder form resources
|
void |
setHolderFormStream(PDStream holderFormStream) |
Sets stream of holder form Stream
|
void |
setImageForm(PDXObjectForm imageForm) |
Sets Image form.
|
void |
setImageFormName(java.lang.String imageFormName) |
Sets image form name
|
void |
setImageFormResources(PDResources imageFormResources) |
Sets image form resource
|
void |
setImageFormStream(PDStream imageFormStream) |
Sets image form stream
|
void |
setImageName(java.lang.String imageName) |
Sets visible signature image name
|
void |
setInnerForm(PDXObjectForm innerForm) |
sets inner form to this location:
AcroForm/DR/XObject/{holder form name}/Resources/XObject/{destination}
|
void |
setInnerFormName(java.lang.String innerFormName) |
Sets inner form name
|
void |
setInnerFormResources(PDResources innerFormResources) |
Sets inner form resource
|
void |
setInnterFormStream(PDStream innterFormStream) |
Sets inner form stream
|
void |
setJpedImage(PDJpeg jpedImage) |
Sets the image of visible signature
|
void |
setPage(PDPage page) |
Sets document page
|
void |
setPdSignature(PDSignature pdSignature) |
Sets PDSignature
|
void |
setProcSet(COSArray procSet) |
Sets ProcSet Array
|
void |
setSignatureField(PDSignatureField signatureField) |
Sets signature field
|
void |
setSignatureRectangle(PDRectangle singatureRectangle) |
Sets SignatureRectangle
|
void |
setTemplate(PDDocument template) |
Wets PDDocument template.
|
void |
setVisualSignature(COSDocument visualSignature) |
Sets COSDocument of visible Signature.
|
void |
setWidgetDictionary(COSDictionary widgetDictionary) |
Sets Widget Dictionary.
|
public PDPage getPage()
public void setPage(PDPage page)
page
- public PDDocument getTemplate()
public void setTemplate(PDDocument template)
template
- public PDAcroForm getAcroForm()
public void setAcroForm(PDAcroForm acroForm)
acroForm
- public PDSignatureField getSignatureField()
public void setSignatureField(PDSignatureField signatureField)
signatureField
- public PDSignature getPdSignature()
public void setPdSignature(PDSignature pdSignature)
pdSignature
- public COSDictionary getAcroFormDictionary()
public void setAcroFormDictionary(COSDictionary acroFormDictionary)
acroFormDictionary
- public PDRectangle getSingatureRectangle()
public void setSignatureRectangle(PDRectangle singatureRectangle)
singatureRectangle
- public java.awt.geom.AffineTransform getAffineTransform()
public void setAffineTransform(java.awt.geom.AffineTransform affineTransform)
affineTransform
- public COSArray getProcSet()
public void setProcSet(COSArray procSet)
procSet
- public PDJpeg getJpedImage()
public void setJpedImage(PDJpeg jpedImage)
jpedImage
- public PDRectangle getFormaterRectangle()
public void setFormaterRectangle(PDRectangle formaterRectangle)
formaterRectangle
- public PDStream getHolderFormStream()
public void setHolderFormStream(PDStream holderFormStream)
holderFormStream
- public PDXObjectForm getHolderForm()
public void setHolderForm(PDXObjectForm holderForm)
holderForm
- public PDResources getHolderFormResources()
public void setHolderFormResources(PDResources holderFormResources)
holderFormResources
- public PDAppearanceDictionary getAppearanceDictionary()
public void setAppearanceDictionary(PDAppearanceDictionary appearanceDictionary)
appearanceDictionary
- public PDStream getInnterFormStream()
public void setInnterFormStream(PDStream innterFormStream)
innterFormStream
- public PDResources getInnerFormResources()
public void setInnerFormResources(PDResources innerFormResources)
innerFormResources
- public PDXObjectForm getInnerForm()
public void setInnerForm(PDXObjectForm innerForm)
innerForm
- public java.lang.String getInnerFormName()
public void setInnerFormName(java.lang.String innerFormName)
innerFormName
- public PDStream getImageFormStream()
public void setImageFormStream(PDStream imageFormStream)
imageFormStream
- public PDResources getImageFormResources()
public void setImageFormResources(PDResources imageFormResources)
imageFormResources
- public PDXObjectForm getImageForm()
public void setImageForm(PDXObjectForm imageForm)
imageForm
- public java.lang.String getImageFormName()
public void setImageFormName(java.lang.String imageFormName)
imageFormName
- public java.lang.String getImageName()
public void setImageName(java.lang.String imageName)
imageName
- public COSDocument getVisualSignature()
COSDocument
public void setVisualSignature(COSDocument visualSignature)
visualSignature
- COSDocument
public java.util.List<PDField> getAcroFormFields()
public void setAcroFormFields(java.util.List<PDField> acroFormFields)
acroFormFields
- public java.io.ByteArrayInputStream getTemplateAppearanceStream() throws java.io.IOException, COSVisitorException
java.io.IOException
COSVisitorException
public COSDictionary getWidgetDictionary()
PDField
PDField.getWidget()
public void setWidgetDictionary(COSDictionary widgetDictionary)
PDField
widgetDictionary
- PDField.getWidget()