Package | Description |
---|---|
com.foxit.gsdk | |
com.foxit.gsdk.pdf | |
com.foxit.gsdk.pdf.form | |
com.foxit.gsdk.pdf.layer | |
com.foxit.gsdk.pdf.objects | |
com.foxit.gsdk.pdf.signature |
Modifier and Type | Method and Description |
---|---|
abstract void |
IApp.onRecover(java.lang.Object clientData,
PDFDocument document)
Callback function to recover the previous operations when Foxit PDF SDK
is out of memory.
|
static void |
PDFLibrary.oomRecover(PDFDocument document)
Recover the user operations when SDK ran out of memory.
|
Modifier and Type | Method and Description |
---|---|
static PDFDocument |
PDFDocument.create()
Create a new
PDFDocument object. |
PDFDocument |
PDFPage.getDocument()
Retrieve the PDF document object related to current page.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static PDFAttachment |
PDFAttachment.create(PDFDocument document)
Create a
PDFAttachment object. |
static PDFWatermark |
PDFWatermark.create(PDFDocument document,
android.graphics.Bitmap bitmap,
PDFWatermark.WatermarkSetting settings)
Create a
PDFWatermark object from a specific Bitmap object. |
static PDFWatermark |
PDFWatermark.create(PDFDocument document,
Image image,
PDFWatermark.WatermarkSetting settings)
Create a
PDFWatermark object from a specific Image object. |
static PDFWatermark |
PDFWatermark.create(PDFDocument document,
PDFPage page,
PDFWatermark.WatermarkSetting settings)
Create a
PDFWatermark object from a specific PDFPage object. |
static PDFWatermark |
PDFWatermark.create(PDFDocument document,
java.lang.String text,
PDFWatermark.WatermarkTextProperty properties,
PDFWatermark.WatermarkSetting settings)
Create a
PDFWatermark object from a specific text string. |
static Progress |
PDFDocument.startImportPages(PDFDocument dstDoc,
int startIndex,
PDFDocument srcDoc,
int[] pageRanges,
java.lang.String layerName)
To start a progressive process of inserting a range of pages from an
extra source document (or with its layer information) into a target
document.
|
Modifier and Type | Method and Description |
---|---|
PDFDocument |
PDFForm.getDocument()
Retrieve a PDF document which owns the form.
|
PDFDocument[] |
FormActionHandler.getOpenedDocs(java.lang.Object clientData)
Optional callback function to receives handles of all documents which are opened now.
|
Modifier and Type | Method and Description |
---|---|
void |
FormActionHandler.executeNamedAction(java.lang.Object clientData,
PDFDocument document,
java.lang.String namedAction)
Optional callback function to execute a named action.
|
boolean |
FormActionHandler.getChangeMark(java.lang.Object clientData,
PDFDocument document)
Optional callback function to receive the change mark which indicates whether the
content of document is changed or not.
|
int |
FormActionHandler.getCurrentPageIndex(java.lang.Object clientData,
PDFDocument document)
Optional callback function to receives the current page index.
|
java.lang.String |
FormActionHandler.getFilePath(java.lang.Object clientData,
PDFDocument document)
Optional callback function to get the file path of current document.
|
int |
FormActionHandler.getRotation(java.lang.Object clientData,
PDFDocument document,
int pageIndex)
Optional callback function to receive current rotation of the page view.
|
abstract void |
FormActionHandler.invalidateRect(java.lang.Object clientData,
PDFDocument document,
int pageIndex,
android.graphics.RectF pdfRect)
Required callback function to invalidate the client area within the specified
rectangle.
|
void |
FormActionHandler.mail(java.lang.Object clientData,
PDFDocument document,
boolean bUI,
java.lang.String To,
java.lang.String Subject,
java.lang.String CC,
java.lang.String BCC,
java.lang.String Msg)
Optional callback function to mail current PDF document as an attachment to all
recipients, with or without user interaction.
|
void |
FormActionHandler.print(java.lang.Object clientData,
PDFDocument document,
boolean isUI,
int start,
int end,
boolean isSilent,
boolean isShrinkToFit,
boolean isPrintAsImage,
boolean isReverse,
boolean isAnnotations)
Optional callback function to print all or a specific number of pages of the document.
|
void |
FormActionHandler.setChangeMark(java.lang.Object clientData,
PDFDocument document,
boolean changeMark)
Optional callback function to set the change mark which indicates whether the
content of document is changed or not.
|
void |
FormActionHandler.setCurrentPageIndex(java.lang.Object clientData,
PDFDocument document,
int pageIndex)
Optional callback function to set the current page index.
|
void |
FormActionHandler.submitForm(java.lang.Object clientData,
PDFDocument document,
byte[] formData,
java.lang.String URL)
Optional callback function to submit the form data to a specified URL.
|
Modifier and Type | Method and Description |
---|---|
PDFDocument |
LayerContext.getDocument()
Retrieve a PDF document which owns current PDF layer context.
|
Modifier and Type | Method and Description |
---|---|
static Dictionary |
Dictionary.create(PDFDocument doc)
Create a dictionary object.
|
Modifier and Type | Method and Description |
---|---|
PDFDocument |
Signature.getDocument()
Retrieve the PDF document object related to current signature.
|