|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDFTemplateStructure
public class PDFTemplateStructure
Structure of PDF document with visible signature
| Constructor Summary | |
|---|---|
PDFTemplateStructure()
|
|
| Method Summary | |
|---|---|
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 |
getFormaterRectangle()
Gets formatter rectangle |
PDXObjectForm |
getHolderForm()
Gets Holder form. |
PDResources |
getHolderFormResources()
Gets Holder form resources |
PDStream |
getHolderFormStream()
Sets HolderFormStream |
PDXObjectForm |
getImageForm()
Gets Image form. |
String |
getImageFormName()
Gets image form name |
PDResources |
getImageFormResources()
Gets image form resources |
PDStream |
getImageFormStream()
Gets Image form stream |
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". |
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. |
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(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 |
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(String imageFormName)
Sets image form name |
void |
setImageFormResources(PDResources imageFormResources)
Sets image form resource |
void |
setImageFormStream(PDStream imageFormStream)
Sets image form stream |
void |
setImageName(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(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFTemplateStructure()
| Method Detail |
|---|
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 AffineTransform getAffineTransform()
public void setAffineTransform(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 String getInnerFormName()
public void setInnerFormName(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 String getImageFormName()
public void setImageFormName(String imageFormName)
imageFormName - public String getImageName()
public void setImageName(String imageName)
imageName - public COSDocument getVisualSignature()
COSDocumentpublic void setVisualSignature(COSDocument visualSignature)
visualSignature - COSDocumentpublic List<PDField> getAcroFormFields()
public void setAcroFormFields(List<PDField> acroFormFields)
acroFormFields -
public ByteArrayInputStream getTemplateAppearanceStream()
throws IOException,
COSVisitorException
IOException
COSVisitorExceptionpublic COSDictionary getWidgetDictionary()
PDField
PDField.getWidget()public void setWidgetDictionary(COSDictionary widgetDictionary)
PDField
widgetDictionary - PDField.getWidget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||