public class Document extends Object
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
Boolean |
containsEmbeddedFiles()
Returns a boolean specifying whether the specified PDF file contains any embedded files.
|
String |
getFileSize()
Returns the size of the specified PDF file.
|
List<Font> |
getFonts()
Returns a list of
Font instances present in the specified PDF file. |
Integer |
getIncrementalSaveCount()
Returns the count of the number of times the specified PDF file is edited and saved.
|
InfoDict |
getInfoDict()
Returns an
InfoDict instance that specifies information related to the specified PDF file such as creation date, author etc. |
Integer |
getPageCount()
Returns a number specifying the number of pages in the specified PDF file.
|
String |
getPDFAComplianceLevel()
Returns a string specifying the PDF/A compliance level for the specified PDF file - e.g "PDF/A-4" etc.
|
String |
getPDFEComplianceLevel()
Returns a string specifying the PDF/E compliance level for the specified PDF file - e.g.
|
String |
getPDFUAComplianceLevel()
Returns a string specifying the PDF/UA compliance level for the specified PDF file - e.g.
|
String |
getPDFVersion()
Returns a string specifying the version of the specified PDF file - e.g.
|
String |
getPDFVTComplianceLevel()
Returns a string specifying the PDF/VT compliance level for the specified PDF file - e.g.
|
String |
getPDFXComplianceLevel()
Returns a string specifying the PDF/X compliance level for the specified PDF file - e.g.
|
String |
getXMPMetadata()
Returns a string specifying the full metadata of the specified PDF file as provided by the author and producer of the document.
|
Boolean |
isAcroform()
Returns a boolean specifying whether the specified PDF file contains any form fields.
|
Boolean |
isCertified()
Returns a boolean specifying whether the specified PDF file has been digitally signed with a certifying signature.
|
Boolean |
isEncrypted()
Returns a boolean specifying whether the specified PDF file is encrypted.
|
Boolean |
isFullyTaggedPDF()
Returns a boolean specifying whether the specified PDF file is a Fully Tagged PDF.
|
Boolean |
isLinearized()
Returns a boolean specifying whether the specified PDF file is linearized.
|
Boolean |
isPortfolio()
Returns a boolean specifying whether the specified PDF file is a portfolio PDF.
|
Boolean |
isSigned()
Returns a boolean specifying whether the specified PDF file is digitally signed.
|
Boolean |
isTagged()
Returns a boolean specifying whether the specified PDF file is tagged.
|
Boolean |
isXFA()
Returns a boolean specifying whether the specified PDF file is based on the XFA (Extensible Forms Architecture) format.
|
public Boolean isLinearized()
true
if the specified PDF file is linearized. False otherwise.public Boolean isTagged()
true
if the specified PDF file is tagged. False otherwise.public Boolean isPortfolio()
true
if the specified PDF file is a portfolio PDF. False otherwise.public Boolean isCertified()
true
if the specified PDF file has been digitally signed with a certifying signature. False otherwise.public Boolean isEncrypted()
true
if the specified PDF file is encrypted. False otherwise.public Boolean isFullyTaggedPDF()
true
if the specified PDF file is a Fully Tagged PDF. False otherwise.public Boolean isAcroform()
true
if the specified PDF file contains any form fields. False otherwise.public Boolean isSigned()
true
if the specified PDF file is digitally signed. False otherwise.public Boolean isXFA()
true
if the specified PDF file is based on the XFA format. False otherwisepublic Boolean containsEmbeddedFiles()
true
if the specified PDF file contains any embedded files. False otherwise.public List<Font> getFonts()
Font
instances present in the specified PDF file.Font
instancespublic String getPDFAComplianceLevel()
public String getPDFVTComplianceLevel()
public String getPDFXComplianceLevel()
public String getPDFUAComplianceLevel()
public String getXMPMetadata()
public Integer getPageCount()
public String getPDFEComplianceLevel()
public InfoDict getInfoDict()
InfoDict
instance that specifies information related to the specified PDF file such as creation date, author etc.InfoDict
instance.public String getPDFVersion()
public String getFileSize()
public Integer getIncrementalSaveCount()
Copyright © 2023 Adobe. All rights reserved.