Vanilla.PDF  1.5.2
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 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "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 */
error_type PageContents_ToUnknown(PageContentsHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
A content stream is a PDF stream object whose data consists of a sequence of instructions describing ...
This file contains all type forward declarations returned by the library API.
uint32_t size_type
Size type defined in standard library.
Definition: c_types.h:62
error_type PageContents_RecalculateStreamData(PageContentsHandle *handle, boolean_type *result)
Updates the referenced stream content to reflect content operation changes.
Base class for all content objects and operations.
error_type PageContents_FromUnknown(IUnknownHandle *handle, PageContentsHandle **result)
Convert IUnknownHandle to PageContentsHandle.
error_type PageContents_Release(PageContentsHandle *handle)
Decrement the internal reference counter.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type PageContents_GetInstructionsSize(PageContentsHandle *handle, size_type *result)
Return size of a collection.
error_type PageContents_GetInstructionAt(PageContentsHandle *handle, size_type at, ContentInstructionHandle **result)
Get instruction at location at.
This file contains types and constants used as parameters or return values.
Base class for reference counting.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31