Package | Description |
---|---|
com.foxit.gsdk | |
com.foxit.gsdk.image | |
com.foxit.gsdk.pdf | |
com.foxit.gsdk.pdf.form | |
com.foxit.gsdk.pdf.security | |
com.foxit.gsdk.pdf.signature | |
com.foxit.gsdk.utils |
Modifier and Type | Method and Description |
---|---|
void |
PDFLibrary.addFontFile(FileHandler fontFile)
Add an additional font (typically a TrueType, Type1 or CFF font) to Foxit
PDF SDK library.
|
Modifier and Type | Method and Description |
---|---|
static ImageFile |
ImageFile.create(FileHandler file,
int imageType,
int frameCount)
Create an
ImageFile object. |
static Image |
Image.load(FileHandler imageFile)
Load an
Image object from an image file. |
Modifier and Type | Method and Description |
---|---|
static Font |
FontManager.createFromFile(FileHandler fontFile,
int faceIndex,
int charset)
Create a
Font object from a FileHandler object. |
static FontManager.FontFace[] |
FontManager.enumFaces(FileHandler fontFile)
Enumerate faces from a font file.
|
void |
PDFDocument.exportAnnotsToFDF(java.lang.String pdfPath,
FileHandler fdfFile)
Export all the annotations of the document into a FDF file.
|
void |
PDFTextPage.exportToFile(FileHandler file)
Export text content in a page to a specific file.
|
void |
PDFDocument.importAnnotsFromFDF(FileHandler fdfFile)
Import all the annotations of the document in a FDF file into the
document.
|
static PDFDocument |
PDFDocument.open(FileHandler file,
byte[] password)
Open an existing PDF document.
|
static PDFDocument |
PDFDocument.open(FileHandler file,
byte[] password,
int flag)
Open an existing PDF document, with specific loading flags.
|
void |
PDFDocument.reopen(FileHandler file,
byte[] password)
Re-open PDF file.
|
void |
PDFDocument.saveAsWrapper(FileHandler file,
PDFDocument.PDFWrapperData data,
int userPermissions,
byte[] ownerPassword)
Save a PDF document as a wrapper file.
|
void |
PDFDocument.saveAsWrapperFile(FileHandler file,
PDFDocument.PDFWrapperData data,
int userPermissions,
java.lang.String ownerPassword)
Deprecated.
Current function will be deprecated in future. So, not recommend to use current function any more.
Instead, please use
PDFDocument.saveAsWrapper(FileHandler, PDFWrapperData, int, byte[]) . |
void |
PDFAttachment.setFile(FileHandler file)
Set the file of an attachment.
|
Progress |
PDFDocument.startEncryption(EncryptionParams params,
FileHandler encryptedFile,
int flag)
Start encryption on a PDF document.
|
Progress |
PDFDocument.startSaveToFile(FileHandler file,
int flag)
Start saving a PDF document to a file in a progressive manner.
|
void |
PDFAttachment.writeToFile(FileHandler file)
Write the attachment to a file.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFForm.exportToFDF(FileHandler fdfFile)
Export data in a form to a FDF document.
|
void |
PDFForm.exportToXML(FileHandler xmlFile)
Export the form data to a XML file.
|
void |
PDFForm.importFromFDF(FileHandler fdfFile)
Import data in FDF document to fill the form.
|
void |
PDFForm.importFromXML(FileHandler xmlFile)
Import the form data from a XML file.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
SecurityHandler.createContext(java.lang.Object clientData,
FileHandler file,
java.lang.String filter,
java.lang.String subFilter,
java.lang.String encryptInfo)
Callback function to initialize context handle.
|
abstract FoxitDRMHandler.CryptionParams |
FoxitDRMHandler.getDecryptionParams(java.lang.Object clientData,
FileHandler file,
java.lang.String subFilter)
Callback function to get decryption parameters.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
SignatureHandler.startCalcDigest(java.lang.Object clientData,
Signature sigField,
FileHandler file,
int[] byteRange)
Foxit PDF SDK calls this interface to start a custom digest calculation.
|
Progress |
Signature.startSign(FileHandler signedFile)
Sign a PDF document progressively, by using a default signature handler
or a third-party signature handler.
|
Modifier and Type | Method and Description |
---|---|
static FileHandler |
FileHandler.create(byte[] buffer,
int fileModes)
Create a memory-based
FileHandler object. |
static FileHandler |
FileHandler.create(java.lang.String fileName,
int fileModes)
Create a
FileHandler object from the specific file path. |