Public Member Functions | |
void | onDocClosed (PDFDoc document, int errCode) |
void | onDocOpened (PDFDoc document, int errCode) |
void | onDocSaved (PDFDoc document, int errCode) |
void | onDocWillClose (PDFDoc document) |
void | onDocWillOpen () |
void | onDocWillSave (PDFDoc document) |
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.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. |