Foxit PDF SDK
|
Inherits SystemIDisposable.
Public Member Functions | |
virtual void | OnDocOpened (PDFDoc document, ErrorCode error_code) |
Triggered when a PDF document is opened. More... | |
virtual void | OnDocSaved (PDFDoc document, ErrorCode error_code) |
Triggered when a PDF document is saved. More... | |
virtual void | OnDocWillDestroy (PDFDoc document) |
Triggered when a PDF document will be destroyed. More... | |
virtual void | OnDocWillOpen () |
Triggered when the document will be opened. More... | |
virtual void | OnDocWillSave (PDFDoc document) |
Triggered when a PDF document will be saved. More... | |
virtual void | Release () |
A callback function used to release current callback object itself. More... | |
This class represents a callback object used to listen PDF document event. All the pure virtual functions in this class are used as callback functions and should be implemented by user in derived class. User can also re-write the virtual functions in this class in custom way.
|
inlinevirtual |
Triggered when a PDF document is opened.
[in] | document | A PDF document object which is opened. |
[in] | error_code | Error code which represents the error state when opening the PDF document. Please refer to values starting from foxit.common.ErrorCode.e_ErrSuccess and this would be one of these values. |
|
inlinevirtual |
Triggered when a PDF document is saved.
[in] | document | A PDF document object which is saved. |
[in] | error_code | Error code which represents the error state when saving the PDF document. Please refer to values starting from foxit.common.ErrorCode.e_ErrSuccess and this would be one of these values. |
|
inlinevirtual |
Triggered when a PDF document will be destroyed.
[in] | document | A PDF document object which will be destroyed. |
|
inlinevirtual |
Triggered when the document will be opened.
|
inlinevirtual |
Triggered when a PDF document will be saved.
[in] | document | A PDF document object which will be saved. |
|
inlinevirtual |
A callback function used to release current callback object itself.