|
Foxit PDF RDK
|
Public Member Functions | |
| onDocClosed (document, errCode) | |
| onDocLoading (document, progress) | |
| onDocOpened (document, errCode) | |
| onDocSaved (document, errCode) | |
| onDocWillClose (document) | |
| onDocWillOpen () | |
| onDocWillSave (document) | |
The interface for document event listener.
| FoxitPDFViewCtrl.IDocEventListener.onDocClosed | ( | document | , |
| 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 FoxitRDKNative.common.ErrorCode. |
| FoxitPDFViewCtrl.IDocEventListener.onDocLoading | ( | document | , |
| 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. |
| FoxitPDFViewCtrl.IDocEventListener.onDocOpened | ( | document | , |
| 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 FoxitRDKNative.common.ErrorCode. |
| FoxitPDFViewCtrl.IDocEventListener.onDocSaved | ( | document | , |
| 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 FoxitRDKNative.common.ErrorCode. |
| FoxitPDFViewCtrl.IDocEventListener.onDocWillClose | ( | document | ) |
Triggered when the document will be closed.
| document | A PDFDoc object which will be closed. |
| FoxitPDFViewCtrl.IDocEventListener.onDocWillOpen | ( | ) |
Triggered when the document will be opened.
| FoxitPDFViewCtrl.IDocEventListener.onDocWillSave | ( | document | ) |
Triggered when the document will be saved.
| document | A PDFDoc object which will be closed. |