Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
c_page_contents.h
Go to the documentation of this file.
1#ifndef _C_CONTENTS_H
2#define _C_CONTENTS_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
38
42 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_RecalculateStreamData(PageContentsHandle* handle, boolean_type* result);
43
50 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_GetBaseObject(PageContentsHandle* handle, ObjectHandle** result);
51
55 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_ToUnknown(PageContentsHandle* handle, IUnknownHandle** result);
56
60 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_FromUnknown(IUnknownHandle* handle, PageContentsHandle** result);
61
66 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_Release(PageContentsHandle* handle);
67
70#ifdef __cplusplus
71};
72#endif
73
74#endif /* _C_CONTENTS_H */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
Collection of content instructions.
Base class for reference counting.
Base class for syntactic tokens.
A content stream is a PDF stream object whose data consists of a sequence of instructions describing ...
error_type CALLING_CONVENTION PageContents_Release(PageContentsHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION PageContents_FromUnknown(IUnknownHandle *handle, PageContentsHandle **result)
Convert IUnknownHandle to PageContentsHandle.
error_type CALLING_CONVENTION PageContents_GetBaseObject(PageContentsHandle *handle, ObjectHandle **result)
Switch object to low-level syntax API.
error_type CALLING_CONVENTION PageContents_ToUnknown(PageContentsHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION PageContents_GetInstructionCollection(PageContentsHandle *handle, ContentInstructionCollectionHandle **result)
Return collection of the content stream instructions.
error_type CALLING_CONVENTION PageContents_RecalculateStreamData(PageContentsHandle *handle, boolean_type *result)
Updates the referenced stream content to reflect content operation changes.
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25
int8_t boolean_type
Boolean type supported in C.
Definition c_types.h:31