![]() |
PDFix SDK
7.2.0
|
PdfAnnotHandler class. More...
#include <pdfix.h>
Public Member Functions | |
virtual int | GetType (wchar_t *buffer, int len) const =0 |
virtual void | Destroy ()=0 |
Destroys annot handler's resources. More... | |
virtual void | SetCanCopyProc (PdfAnnotHandlerCanCopyProc proc)=0 |
Sets a user-supplied procedure to call when the PdfAnnot::CanCopy is called. More... | |
virtual void | SetCopyProc (PdfAnnotHandlerCopyProc proc)=0 |
Sets a user-supplied procedure to call when the PdfAnnot::Copy is called. More... | |
virtual void | SetCanPasteProc (PdfAnnotHandlerCanPasteProc proc)=0 |
Sets a user-supplied procedure to call when the PdfAnnot::CanPaste is called. More... | |
virtual void | SetPasteProc (PdfAnnotHandlerPasteProc proc)=0 |
Sets a user-supplied procedure to call when the PdfAnnot::Paste is called. More... | |
virtual void | SetDestroyDataProc (PdfAnnotHandlerDestroyDataProc proc)=0 |
Sets a user-supplied procedure to call when the PdfAnnot::DestroyClipboardData is called. More... | |
virtual void | SetDestroyProc (PdfAnnotHandlerDestroyProc proc)=0 |
Sets a user-supplied procedure to call when the PdfAnnotHandler::Destroy is called. More... | |
PdfAnnotHandler class.
The callbacks provide copy-and-paste functionality for a particular type of annotation.
|
pure virtual |
Destroys annot handler's resources.
|
pure virtual |
Gets the annotation type for which the handler is responsible. This corresponds to the annotation's Subtype key in the PDF file.
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Sets a user-supplied procedure to call when the PdfAnnot::CanCopy is called.
proc | A user-supplied callback to call when the rPdfAnnot::CanCopy is called. |
|
pure virtual |
Sets a user-supplied procedure to call when the PdfAnnot::CanPaste is called.
proc | A user-supplied callback to call when the PdfAnnot::CanPaste is called. |
|
pure virtual |
Sets a user-supplied procedure to call when the PdfAnnot::Copy is called.
proc | A user-supplied callback to call when the rPdfAnnot::Copy is called. |
|
pure virtual |
Sets a user-supplied procedure to call when the PdfAnnot::DestroyClipboardData is called.
proc | A user-supplied callback to call when the PdfAnnot::DestroyClipboardData is called. |
|
pure virtual |
Sets a user-supplied procedure to call when the PdfAnnotHandler::Destroy is called.
proc | A user-supplied callback to call when the PdfAnnotHandler::Destroy is called. |
|
pure virtual |
Sets a user-supplied procedure to call when the PdfAnnot::Paste is called.
proc | A user-supplied callback to call when the PdfAnnot::Paste is called. |