public class PDVisibleSigProperties extends Object
Constructor and Description |
---|
PDVisibleSigProperties() |
Modifier and Type | Method and Description |
---|---|
void |
buildSignature()
start building of visible signature
|
int |
getPage()
returns your page
|
PDVisibleSignDesigner |
getPdVisibleSignature()
this method gets visible signature configuration object
|
int |
getPreferredSize()
Gets the preferred signature size in bytes.
|
String |
getSignatureReason()
gets reason of signing
|
String |
getSignerLocation()
Gets signer locations
|
String |
getSignerName() |
InputStream |
getVisibleSignature()
returns visible signature configuration object
|
boolean |
isVisualSignEnabled()
checks if we need to add visible signature
|
PDVisibleSigProperties |
page(int page)
sets page number
|
PDVisibleSigProperties |
preferredSize(int preferredSize)
Sets the preferred signature size in bytes.
|
PDVisibleSigProperties |
setPdVisibleSignature(PDVisibleSignDesigner pdVisibleSignature)
Sets visible signature configuration Object
|
void |
setVisibleSignature(InputStream visibleSignature)
sets configuration object of visible signature
|
PDVisibleSigProperties |
signatureReason(String signatureReason)
sets reason of signing
|
PDVisibleSigProperties |
signerLocation(String signerLocation)
Sets location
|
PDVisibleSigProperties |
signerName(String signerName)
Sets signer name
|
PDVisibleSigProperties |
visualSignEnabled(boolean visualSignEnabled)
sets visible signature to be added or not
|
public void buildSignature() throws IOException
IOException
- if the output could not be writtenpublic String getSignerName()
public PDVisibleSigProperties signerName(String signerName)
signerName
- public String getSignerLocation()
public PDVisibleSigProperties signerLocation(String signerLocation)
signerLocation
- public String getSignatureReason()
public PDVisibleSigProperties signatureReason(String signatureReason)
signatureReason
- public int getPage()
public PDVisibleSigProperties page(int page)
page
- public int getPreferredSize()
public PDVisibleSigProperties preferredSize(int preferredSize)
preferredSize
- The preferred signature size in bytes, or 0 to use default.public boolean isVisualSignEnabled()
public PDVisibleSigProperties visualSignEnabled(boolean visualSignEnabled)
visualSignEnabled
- public PDVisibleSignDesigner getPdVisibleSignature()
public PDVisibleSigProperties setPdVisibleSignature(PDVisibleSignDesigner pdVisibleSignature)
pdVisibleSignature
- public InputStream getVisibleSignature()
public void setVisibleSignature(InputStream visibleSignature)
visibleSignature
- Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.