Vanilla.PDF  1.6.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
37 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_GetInstructionsSize(PageContentsHandle* handle, size_type* result);
38
42 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_GetInstructionAt(PageContentsHandle* handle, size_type at, ContentInstructionHandle** result);
43
47 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_RecalculateStreamData(PageContentsHandle* handle, boolean_type* result);
48
52 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_ToUnknown(PageContentsHandle* handle, IUnknownHandle** result);
53
57 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_FromUnknown(IUnknownHandle* handle, PageContentsHandle** result);
58
63 VANILLAPDF_API error_type CALLING_CONVENTION PageContents_Release(PageContentsHandle* handle);
64
67#ifdef __cplusplus
68};
69#endif
70
71#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.
Base class for all content objects and operations.
Base class for reference counting.
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_GetInstructionAt(PageContentsHandle *handle, size_type at, ContentInstructionHandle **result)
Get instruction at location at.
error_type CALLING_CONVENTION PageContents_FromUnknown(IUnknownHandle *handle, PageContentsHandle **result)
Convert IUnknownHandle to PageContentsHandle.
error_type CALLING_CONVENTION PageContents_ToUnknown(PageContentsHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION PageContents_RecalculateStreamData(PageContentsHandle *handle, boolean_type *result)
Updates the referenced stream content to reflect content operation changes.
error_type CALLING_CONVENTION PageContents_GetInstructionsSize(PageContentsHandle *handle, size_type *result)
Return size of a collection.
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
uint32_t size_type
Size type defined in standard library.
Definition: c_types.h:62