|
Foxit PDF SDK
9.1
|
Public Member Functions | |
| void | onDocWillOpen () |
| void | onDocLoading (PDFDoc document, int progress) |
| void | onDocOpened (PDFDoc document, int errCode) |
| void | onDocWillClose (PDFDoc document) |
| void | onDocClosed (PDFDoc document, int errCode) |
| void | onDocWillSave (PDFDoc document) |
| void | onDocSaved (PDFDoc document, int errCode) |
The interface for document event listener.
| void com.foxit.sdk.PDFViewCtrl.IDocEventListener.onDocClosed | ( | PDFDoc | document, |
| int | errCode | ||
| ) |
Triggered when the document is closed.
| document | A PDFDoc object which specifies the closed PDF document. |
| errCode | Error code. It should be one of constant definitions com.foxit.sdk.common.Constants. |
| void com.foxit.sdk.PDFViewCtrl.IDocEventListener.onDocLoading | ( | PDFDoc | document, |
| int | progress | ||
| ) |
Triggered when loading documents.
| document | PDF document instance which is loading. |
| progress | An integer between 0 and 100 (inclusive), indicating the rate of current progress. -1 means error. |
| void com.foxit.sdk.PDFViewCtrl.IDocEventListener.onDocOpened | ( | PDFDoc | document, |
| int | errCode | ||
| ) |
Triggered when the document is opened.
| document | A PDFDoc object which specifies the opened PDF document. |
| errCode | Error code. It should be one of constant definitions com.foxit.sdk.common.Constants. |
| void com.foxit.sdk.PDFViewCtrl.IDocEventListener.onDocSaved | ( | PDFDoc | document, |
| int | errCode | ||
| ) |
Triggered when the document is saved.
| document | A PDFDoc object which specifies the saved PDF document. |
| errCode | Error code. It should be one of constant definitions com.foxit.sdk.common.Constants. |
| void com.foxit.sdk.PDFViewCtrl.IDocEventListener.onDocWillClose | ( | PDFDoc | document | ) |
Triggered when the document will be closed.
| document | A PDFDoc object which will be closed. |
| void com.foxit.sdk.PDFViewCtrl.IDocEventListener.onDocWillOpen | ( | ) |
Triggered when the document will be opened.
| void com.foxit.sdk.PDFViewCtrl.IDocEventListener.onDocWillSave | ( | PDFDoc | document | ) |
Triggered when the document will be saved.
| document | A PDFDoc object which will be closed. |