Vanilla.PDF  1.6.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
103
108
113
119
134
143
151
156
161
167
170#ifdef __cplusplus
171};
172#endif
173
174#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_FromUnknown(IUnknownHandle *handle, ContentInstructionCollectionHandle **result)
Convert IUnknownHandle to ContentInstructionCollectionHandle.
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