Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
c_content_instruction.h
Go to the documentation of this file.
1#ifndef _C_CONTENT_INSTRUCTION_H
2#define _C_CONTENT_INSTRUCTION_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
43 typedef enum {
44 ContentInstructionType_Undefined = 0,
45
51
58
68
73
77 VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_ToUnknown(ContentInstructionHandle* handle, IUnknownHandle** result);
78
82 VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_FromUnknown(IUnknownHandle* handle, ContentInstructionHandle** result);
83
88 VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_Release(ContentInstructionHandle* handle);
89
101
106
111
116
121
126
133
138
143
149
164
173
181
186
191
197
200#ifdef __cplusplus
201};
202#endif
203
204#endif /* _C_CONTENT_INSTRUCTION_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.
error_type CALLING_CONVENTION ContentInstructionCollection_Clear(ContentInstructionCollectionHandle *handle)
Clear all items from the collection.
error_type CALLING_CONVENTION ContentInstructionCollection_FromUnknown(IUnknownHandle *handle, ContentInstructionCollectionHandle **result)
Convert IUnknownHandle to ContentInstructionCollectionHandle.
error_type CALLING_CONVENTION ContentInstructionCollection_Insert(ContentInstructionCollectionHandle *handle, size_type at, ContentInstructionHandle *value)
Insert new element at location at.
error_type CALLING_CONVENTION ContentInstructionCollection_GetSize(ContentInstructionCollectionHandle *handle, size_type *result)
Return size of a collection.
error_type CALLING_CONVENTION ContentInstructionCollection_Append(ContentInstructionCollectionHandle *handle, ContentInstructionHandle *value)
Insert new element at the end of the collection.
error_type CALLING_CONVENTION ContentInstructionCollection_Remove(ContentInstructionCollectionHandle *handle, size_type at)
Remove element from location at.
error_type CALLING_CONVENTION ContentInstructionCollection_At(ContentInstructionCollectionHandle *handle, size_type at, ContentInstructionHandle **result)
Get instruction at location at.
error_type CALLING_CONVENTION ContentInstructionCollection_ToUnknown(ContentInstructionCollectionHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION ContentInstructionCollection_GetIterator(ContentInstructionCollectionHandle *handle, ContentInstructionCollectionIteratorHandle **result)
Get collection iterator for enumerating all entries.
error_type CALLING_CONVENTION ContentInstructionCollection_Release(ContentInstructionCollectionHandle *handle)
Decrement the internal reference counter.
Enumerator for content instruction collection.
error_type CALLING_CONVENTION ContentInstructionCollectionIterator_GetValue(ContentInstructionCollectionIteratorHandle *handle, ContentInstructionHandle **result)
Get value at iterator position.
error_type CALLING_CONVENTION ContentInstructionCollectionIterator_Next(ContentInstructionCollectionIteratorHandle *handle)
Advances iterator to the next position.
error_type CALLING_CONVENTION ContentInstructionCollectionIterator_ToUnknown(ContentInstructionCollectionIteratorHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION ContentInstructionCollectionIterator_Release(ContentInstructionCollectionIteratorHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION ContentInstructionCollectionIterator_FromUnknown(IUnknownHandle *handle, ContentInstructionCollectionIteratorHandle **result)
Convert IUnknownHandle to ContentInstructionCollectionIteratorHandle.
error_type CALLING_CONVENTION ContentInstructionCollectionIterator_IsValid(ContentInstructionCollectionIteratorHandle *handle, boolean_type *result)
Determine if current position is valid.
Base class for all content objects and operations.
error_type CALLING_CONVENTION ContentInstruction_Release(ContentInstructionHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION ContentInstruction_ToOperation(ContentInstructionHandle *handle, ContentOperationHandle **result)
Reinterpret current object as ContentOperationHandle.
error_type CALLING_CONVENTION ContentInstruction_GetInstructionType(ContentInstructionHandle *handle, ContentInstructionType *result)
Get derived type of current object.
error_type CALLING_CONVENTION ContentInstruction_FromUnknown(IUnknownHandle *handle, ContentInstructionHandle **result)
Convert IUnknownHandle to ContentInstructionHandle.
error_type CALLING_CONVENTION ContentInstruction_ToUnknown(ContentInstructionHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
Atomic operation modifying graphics state parameters.
Base class for reference counting.
ContentInstructionType
Available content instruction types.
Definition c_content_instruction.h:43
@ ContentInstructionType_Object
A sequence of content instructions grouped within a single object.
Definition c_content_instruction.h:56
@ ContentInstructionType_Operation
Atomic operation modifying graphics state parameters.
Definition c_content_instruction.h:50
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