Vanilla.PDF
2.0.0
Cross-platform toolkit for creating and modifying PDF documents
|
Stream object represents compressed data inside document. More...
error_type CALLING_CONVENTION | StreamObject_Create (StreamObjectHandle **result) |
Creates a new StreamObject instance. | |
error_type CALLING_CONVENTION | StreamObject_GetHeader (StreamObjectHandle *handle, DictionaryObjectHandle **result) |
Return streams header dictionary. | |
error_type CALLING_CONVENTION | StreamObject_SetHeader (StreamObjectHandle *handle, DictionaryObjectHandle *value) |
Set new streams header dictionary. | |
error_type CALLING_CONVENTION | StreamObject_GetBodyRaw (StreamObjectHandle *handle, BufferHandle **result) |
Get uncompressed stream body. | |
error_type CALLING_CONVENTION | StreamObject_GetBody (StreamObjectHandle *handle, BufferHandle **result) |
Get decompressed stream content. | |
error_type CALLING_CONVENTION | StreamObject_SetBody (StreamObjectHandle *handle, BufferHandle *value) |
Set new stream content. | |
error_type CALLING_CONVENTION | StreamObject_ToObject (StreamObjectHandle *handle, ObjectHandle **result) |
Reinterpret current object as ObjectHandle. | |
error_type CALLING_CONVENTION | StreamObject_FromObject (ObjectHandle *handle, StreamObjectHandle **result) |
Convert ObjectHandle to StreamObjectHandle. | |
error_type CALLING_CONVENTION | StreamObject_Release (StreamObjectHandle *handle) |
Decrement the internal reference counter. | |
Additional Inherited Members | |
Public Member Functions inherited from ObjectHandle | |
error_type CALLING_CONVENTION | Object_GetObjectType (ObjectHandle *handle, ObjectType *result) |
Get derived type of current object. | |
Public Member Functions inherited from IUnknownHandle | |
error_type CALLING_CONVENTION | IUnknown_AddRef (IUnknownHandle *handle) |
Increment the internal reference counter. | |
Related Symbols inherited from ObjectHandle | |
error_type CALLING_CONVENTION | Object_TypeName (ObjectType type, string_type *result) |
Get string representation of object type. | |
error_type CALLING_CONVENTION | Object_GetOffset (ObjectHandle *handle, offset_type *result) |
Get input file offset where this object was found. | |
error_type CALLING_CONVENTION | Object_GetAttributeList (ObjectHandle *handle, ObjectAttributeListHandle **result) |
Get object attribute list attached to this PDF object. | |
error_type CALLING_CONVENTION | Object_ToString (ObjectHandle *handle, BufferHandle **result) |
Convert to human readable text format. | |
error_type CALLING_CONVENTION | Object_ToPdf (ObjectHandle *handle, BufferHandle **result) |
Get a PDF data representation of the current object. | |
error_type CALLING_CONVENTION | Object_ToUnknown (ObjectHandle *handle, IUnknownHandle **result) |
Reinterpret current object as IUnknownHandle. | |
error_type CALLING_CONVENTION | Object_FromUnknown (IUnknownHandle *handle, ObjectHandle **result) |
Convert IUnknownHandle to ObjectHandle. | |
error_type CALLING_CONVENTION | Object_Release (ObjectHandle *handle) |
Decrement the internal reference counter. | |
Related Symbols inherited from IUnknownHandle | |
error_type CALLING_CONVENTION | IUnknown_Release (IUnknownHandle *handle) |
Decrement the internal reference counter. | |
Stream object represents compressed data inside document.
|
related |
Get uncompressed stream body.
This function is useful when the library cannot decompress or decrypt the stream data.
|
related |
Set new stream content.
This sets the decompressed content. Compression is done when the file is saved.
|
related |
Decrement the internal reference counter.
When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.