![]() |
PDFix SDK
7.2.0
|
#include <pdfix.h>
Public Member Functions | |
virtual PdsDictionary * | GetStreamDict ()=0 |
Gets the stream dictionary object. More... | |
virtual int | GetRawDataSize () const =0 |
Gets the stream raw data size. More... | |
virtual bool | IsEof () const =0 |
Checks if the current position is end of stream. More... | |
virtual int | GetSize () const =0 |
Gets the current size of a stream. More... | |
virtual bool | Read (int offset, uint8_t *buffer, int size) const =0 |
Reads data from PsStream into memory. More... | |
virtual int | GetPos () const =0 |
![]() | |
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 |
PdsStream class.
|
pure virtual |
Gets the current seek position in a stream. This is the position at which the next read or write will begin.
|
pure virtual |
Gets the stream raw data size.
|
pure virtual |
Gets the current size of a stream.
|
pure virtual |
Gets the stream dictionary object.
|
pure virtual |
Checks if the current position is end of stream.
|
pure virtual |
Reads data from PsStream into memory.
buffer | (Filled by the method) A buffer into which data is written. |
offset | The position to start read from. |
size | The number of bytes to read. |