public class PDFTemplateStructure extends Object
| Constructor and Description |
|---|
PDFTemplateStructure() |
| Modifier and Type | Method and Description |
|---|---|
PDAcroForm |
getAcroForm()
Gets AcroForm
|
COSDictionary |
getAcroFormDictionary()
Gets Dictionary of AcroForm.
|
List<PDField> |
getAcroFormFields()
Gets acroFormFields
|
AffineTransform |
getAffineTransform()
Gets AffineTransform
|
PDAppearanceDictionary |
getAppearanceDictionary()
Gets AppearanceDictionary
That is /AP entry the appearance dictionary.
|
PDRectangle |
getFormatterRectangle()
Gets formatter rectangle
|
PDFormXObject |
getHolderForm()
Gets Holder form.
|
PDResources |
getHolderFormResources()
Gets Holder form resources
|
PDStream |
getHolderFormStream()
Sets HolderFormStream
|
PDImageXObject |
getImage()
Gets the image of visible signature
|
PDFormXObject |
getImageForm()
Gets Image form.
|
COSName |
getImageFormName()
Gets image form name
|
PDResources |
getImageFormResources()
Gets image form resources
|
PDStream |
getImageFormStream()
Gets Image form stream
|
COSName |
getImageName()
Gets visible signature image name
|
PDFormXObject |
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".
|
COSName |
getInnerFormName()
Gets name of inner form
|
PDResources |
getInnerFormResources()
Gets inner form Resource
|
PDStream |
getInnerFormStream()
Gets Inner form Stream.
|
PDPage |
getPage()
Returns document page.
|
PDSignature |
getPdSignature()
Gets PDSignature
|
COSArray |
getProcSet()
Gets ProcSet Array
|
PDSignatureField |
getSignatureField()
Gets Signature field
|
PDRectangle |
getSignatureRectangle()
Gets SignatureRectangle
|
PDDocument |
getTemplate()
Gets PDDocument 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(List<PDField> acroFormFields)
Sets acroFormFields
|
void |
setAffineTransform(AffineTransform affineTransform)
Sets AffineTransform
|
void |
setAppearanceDictionary(PDAppearanceDictionary appearanceDictionary)
Sets AppearanceDictionary That is /AP entry the appearance dictionary.
|
void |
setFormatterRectangle(PDRectangle formatterRectangle)
Sets formatter rectangle
|
void |
setHolderForm(PDFormXObject 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 |
setImage(PDImageXObject image)
Sets the image of visible signature
|
void |
setImageForm(PDFormXObject imageForm)
Sets Image form.
|
void |
setImageFormName(COSName imageFormName)
Sets image form name
|
void |
setImageFormResources(PDResources imageFormResources)
Sets image form resource
|
void |
setImageFormStream(PDStream imageFormStream)
Sets image form stream
|
void |
setImageName(COSName imageName)
Sets visible signature image name
|
void |
setInnerForm(PDFormXObject innerForm)
sets inner form to this location: AcroForm/DR/XObject/{holder form name}/Resources/XObject/{destination}
|
void |
setInnerFormName(COSName innerFormName)
Sets inner form name
|
void |
setInnerFormResources(PDResources innerFormResources)
Sets inner form resource
|
void |
setInnterFormStream(PDStream innerFormStream)
Sets inner form stream
|
void |
setPage(PDPage page)
Sets document page
|
void |
setPdSignature(PDSignature pdSignature)
Sets PDSignatureField
|
void |
setProcSet(COSArray procSet)
Sets ProcSet Array
|
void |
setSignatureField(PDSignatureField signatureField)
Sets signature field
|
void |
setSignatureRectangle(PDRectangle signatureRectangle)
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 - the current pagepublic PDDocument getTemplate()
public void setTemplate(PDDocument template)
template - the document used as templatepublic PDAcroForm getAcroForm()
public void setAcroForm(PDAcroForm acroForm)
acroForm - the acro form to be used for the signaturepublic PDSignatureField getSignatureField()
public void setSignatureField(PDSignatureField signatureField)
signatureField - the current signature fieldpublic PDSignature getPdSignature()
public void setPdSignature(PDSignature pdSignature)
pdSignature - the current PDSignature objectpublic COSDictionary getAcroFormDictionary()
public void setAcroFormDictionary(COSDictionary acroFormDictionary)
acroFormDictionary - the current acroform dictionarypublic PDRectangle getSignatureRectangle()
public void setSignatureRectangle(PDRectangle signatureRectangle)
signatureRectangle - the rectangle to be used for the signaturepublic AffineTransform getAffineTransform()
public void setAffineTransform(AffineTransform affineTransform)
affineTransform - the affine transformation to be used for the signaturepublic COSArray getProcSet()
public void setProcSet(COSArray procSet)
procSet - the current ProcSet arraypublic PDImageXObject getImage()
public void setImage(PDImageXObject image)
image - Image XObjectpublic PDRectangle getFormatterRectangle()
public void setFormatterRectangle(PDRectangle formatterRectangle)
formatterRectangle - the rectangle to be used to the formatterpublic PDStream getHolderFormStream()
public void setHolderFormStream(PDStream holderFormStream)
holderFormStream - the stream for the holder formpublic PDFormXObject getHolderForm()
public void setHolderForm(PDFormXObject holderForm)
holderForm - the holder formpublic PDResources getHolderFormResources()
public void setHolderFormResources(PDResources holderFormResources)
holderFormResources - the resources of the holder formpublic PDAppearanceDictionary getAppearanceDictionary()
public void setAppearanceDictionary(PDAppearanceDictionary appearanceDictionary)
appearanceDictionary - the appearance dictionarypublic PDStream getInnerFormStream()
public void setInnterFormStream(PDStream innerFormStream)
innerFormStream - the stream of the inner formpublic PDResources getInnerFormResources()
public void setInnerFormResources(PDResources innerFormResources)
innerFormResources - the rsesources of the inner formpublic PDFormXObject getInnerForm()
public void setInnerForm(PDFormXObject innerForm)
innerForm - the inner formpublic COSName getInnerFormName()
public void setInnerFormName(COSName innerFormName)
innerFormName - the name of the inner formpublic PDStream getImageFormStream()
public void setImageFormStream(PDStream imageFormStream)
imageFormStream - the stream of the image formpublic PDResources getImageFormResources()
public void setImageFormResources(PDResources imageFormResources)
imageFormResources - the resources of the image formpublic PDFormXObject getImageForm()
public void setImageForm(PDFormXObject imageForm)
imageForm - the image formpublic COSName getImageFormName()
public void setImageFormName(COSName imageFormName)
imageFormName - the name of the image formpublic COSName getImageName()
public void setImageName(COSName imageName)
imageName - the name of the imagepublic COSDocument getVisualSignature()
COSDocumentpublic void setVisualSignature(COSDocument visualSignature)
visualSignature - the visual signatureCOSDocumentpublic List<PDField> getAcroFormFields()
public void setAcroFormFields(List<PDField> acroFormFields)
acroFormFields - a list of acroform fieldspublic COSDictionary getWidgetDictionary()
public void setWidgetDictionary(COSDictionary widgetDictionary)
widgetDictionary - the widget dictionaryCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.