Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
c_content_parser.h
Go to the documentation of this file.
1#ifndef _C_CONTENT_PARSER_H
2#define _C_CONTENT_PARSER_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
35 VANILLAPDF_API error_type CALLING_CONVENTION ContentParser_Create(FileHandle* source_file, InputStreamHandle* input_stream, ContentParserHandle** result);
36
41
45 VANILLAPDF_API error_type CALLING_CONVENTION ContentParser_ToUnknown(ContentParserHandle* handle, IUnknownHandle** result);
46
50 VANILLAPDF_API error_type CALLING_CONVENTION ContentParser_FromUnknown(IUnknownHandle* handle, ContentParserHandle** result);
51
56 VANILLAPDF_API error_type CALLING_CONVENTION ContentParser_Release(ContentParserHandle* handle);
57
60#ifdef __cplusplus
61};
62#endif
63
64#endif /* _C_CONTENT_PARSER_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.
An object used for reading PDF PostScript instructions.
error_type CALLING_CONVENTION ContentParser_Release(ContentParserHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION ContentParser_FromUnknown(IUnknownHandle *handle, ContentParserHandle **result)
Convert IUnknownHandle to ContentParserHandle.
error_type CALLING_CONVENTION ContentParser_ReadInstructionCollection(ContentParserHandle *handle, ContentInstructionCollectionHandle **result)
Get byte representation of content operator.
error_type CALLING_CONVENTION ContentParser_Create(FileHandle *source_file, InputStreamHandle *input_stream, ContentParserHandle **result)
Create a new instance of ContentParserHandle.
error_type CALLING_CONVENTION ContentParser_ToUnknown(ContentParserHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
Represents low-level file access handle.
Base class for reference counting.
Input stream can read and interpret input from sequences of characters.
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25