COSObjectable
public class PDPropBuildDataDict extends java.lang.Object implements COSObjectable
This represents the general property dictionaries from the build property dictionary.
PDPropBuild
Constructor | Description |
---|---|
PDPropBuildDataDict() |
Default constructor.
|
PDPropBuildDataDict(COSDictionary dict) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
java.lang.String |
getDate() |
The build date of the software module.
|
COSDictionary |
getDictionary() |
Convert this standard java object to a COS dictionary.
|
long |
getMinimumRevision() |
The software module revision number, used to determinate the minimum version of software that
is required in order to process this signature.
|
java.lang.String |
getName() |
The name of the software module that was used to create the signature.
|
boolean |
getNonEFontNoWarn() |
If there is a LegalPDF dictionary in the catalog
of the PDF file and the NonEmbeddedFonts attribute in this dictionary
has a non zero value, and the viewing application has a preference
set to suppress the display of this warning then the value of this
attribute will be set to true.
|
java.lang.String |
getOS() |
Indicates the operating system.
|
boolean |
getPreRelease() |
A flag that can be used by the signature handler or software module to
indicate that this signature was created with unrelease software.
|
long |
getRevision() |
The software module revision number, corresponding to the Date attribute.
|
boolean |
getTrustedMode() |
If true, the application was in trusted mode when signing took place.
|
java.lang.String |
getVersion() |
A text string indicating the version of the application implementation, as described by the
/Name attribute in this dictionary. |
void |
setDate(java.lang.String date) |
The build date of the software module.
|
void |
setMinimumRevision(long revision) |
The software module revision number, used to determinate the minimum version of software that
is required in order to process this signature.
|
void |
setName(java.lang.String name) |
The name of the software module that was used to create the signature.
|
void |
setOS(java.lang.String os) |
Indicates the operating system.
|
void |
setPreRelease(boolean preRelease) |
A flag that can be used by the signature handler or software module to
indicate that this signature was created with unrelease software.
|
void |
setRevision(long revision) |
The software module revision number, corresponding to the Date attribute.
|
void |
setTrustedMode(boolean trustedMode) |
If true, the application was in trusted mode when signing took place.
|
void |
setVersion(java.lang.String applicationVersion) |
A text string indicating the version of the application implementation, as described by the
Name attribute in this dictionary. |
public PDPropBuildDataDict()
public PDPropBuildDataDict(COSDictionary dict)
dict
- The signature dictionary.public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public COSDictionary getDictionary()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- is the name of the software modulepublic java.lang.String getDate()
public void setDate(java.lang.String date)
date
- is the build date of the software modulepublic void setVersion(java.lang.String applicationVersion)
Name
attribute in this dictionary. When set by Adobe Acrobat, this entry is in
the format: major.minor.micro (for example 7.0.7).
NOTE: Version value is specific for build data dictionary when used as the App
dictionary in a build properties dictionary.
applicationVersion
- the application implementation versionpublic java.lang.String getVersion()
/Name
attribute in this dictionary. When set by Adobe Acrobat, this entry is in
the format: major.minor.micro (for example 7.0.7).public long getRevision()
public void setRevision(long revision)
revision
- is the software module revision numberpublic long getMinimumRevision()
NOTE: this entry is deprecated for PDF v1.7
public void setMinimumRevision(long revision)
NOTE: this entry is deprecated for PDF v1.7
revision
- is the software module revision numberpublic boolean getPreRelease()
public void setPreRelease(boolean preRelease)
preRelease
- is true if the signature was created with a unrelease
software, otherwise false.public java.lang.String getOS()
/PropBuild
dictionary indicate it as array of names.public void setOS(java.lang.String os)
os
- is a string with the system id or name.public boolean getNonEFontNoWarn()
public boolean getTrustedMode()
public void setTrustedMode(boolean trustedMode)
trustedMode
- true if the application is in trusted mode.