![]() |
PDFix SDK
7.2.0
|
#include <pdfix.h>
Public Member Functions | |
virtual PdfObjectType | GetObjectType () const =0 |
Gets the type of an object. More... | |
virtual int | GetId () const =0 |
Gets the object number. More... | |
virtual int | GetGenId () const =0 |
Gets the generation number. More... | |
virtual PdfDoc * | GetDoc () const =0 |
Gets a reference to a document. More... | |
virtual PdsObject * | Clone (bool clone_indirect)=0 |
Clone the object. More... | |
virtual bool | RegisterEvent (PdfEventType type, PdsObjectEventProc proc, void *data)=0 |
Registers a user-supplied procedure to call when the specified event occurs. More... | |
virtual bool | UnregisterEvent (PdfEventType type, PdsObjectEventProc proc, void *data)=0 |
PdsObject class.
A PdsObject is a general object in a PDF file, which may be of any PdsObject object type. The Object layer provides several methods that are not specific to any particular object.
|
pure virtual |
Clone the object.
clone_indirect | Make a deep clone including all references |
|
pure virtual |
Gets a reference to a document.
|
pure virtual |
Gets the generation number.
|
pure virtual |
Gets the object number.
|
pure virtual |
Gets the type of an object.
|
pure virtual |
Registers a user-supplied procedure to call when the specified event occurs.
type | The event type. |
proc | A user-supplied callback to call when the event occurs. |
data | A pointer to user-supplied data to pass to proc each time it is called. |
|
pure virtual |
Unregisters a user-supplied procedure to call when the specified event occurs. To un-register, you must use same type, proc and data that were used when the event was registered using Pdfix::RegisterEvent.
type | The registered event type. |
proc | A registered user-supplied callback. |
data | A pointer to registered user-supplied data. |