Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_character_map.h
Go to the documentation of this file.
1#ifndef _C_CHARACTER_MAP_H
2#define _C_CHARACTER_MAP_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
48 typedef enum {
49
54
60
67
76 VANILLAPDF_API error_type CALLING_CONVENTION CharacterMap_GetCharacterMapType(CharacterMapHandle* handle, CharacterMapType* result);
77
81 VANILLAPDF_API error_type CALLING_CONVENTION CharacterMap_ToUnknown(CharacterMapHandle* handle, IUnknownHandle** result);
82
86 VANILLAPDF_API error_type CALLING_CONVENTION CharacterMap_FromUnknown(IUnknownHandle* handle, CharacterMapHandle** result);
87
92 VANILLAPDF_API error_type CALLING_CONVENTION CharacterMap_Release(CharacterMapHandle* handle);
93
104 VANILLAPDF_API error_type CALLING_CONVENTION UnicodeCharacterMap_GetMappedValue(
106 BufferHandle* key_handle,
107 BufferHandle** result);
108
113
118
122 VANILLAPDF_API error_type CALLING_CONVENTION UnicodeCharacterMap_Release(UnicodeCharacterMapHandle* handle);
123
135
140
144 VANILLAPDF_API error_type CALLING_CONVENTION EmbeddedCharacterMap_Release(EmbeddedCharacterMapHandle* handle);
145
148#ifdef __cplusplus
149};
150#endif
151
152#endif /* _C_CHARACTER_MAP_H */
CharacterMapType
Available types of character maps.
Definition: c_character_map.h:48
@ CharacterMapType_Undefined
Undefined unitialized default value, triggers error when used.
Definition: c_character_map.h:53
@ CharacterMapType_Unicode
The Unicode standard defines a system for numbering all of the common characters used in a large numb...
Definition: c_character_map.h:65
@ CharacterMapType_Embedded
For character encodings that are not predefined, the PDF file shall contain a stream that defines the...
Definition: c_character_map.h:59
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.
Represents memory stored data.
A CMap shall specify the mapping from character codes to character selectors.
error_type CALLING_CONVENTION CharacterMap_ToUnknown(CharacterMapHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION CharacterMap_Release(CharacterMapHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION CharacterMap_FromUnknown(IUnknownHandle *handle, CharacterMapHandle **result)
Convert IUnknownHandle to FontHandle.
error_type CALLING_CONVENTION CharacterMap_GetCharacterMapType(CharacterMapHandle *handle, CharacterMapType *result)
Get derived type of current object.
For character encodings that are not predefined, the PDF file shall contain a stream that defines the...
error_type CALLING_CONVENTION EmbeddedCharacterMap_ToCharacterMap(EmbeddedCharacterMapHandle *handle, CharacterMapHandle **result)
Reinterpret current object as CharacterMapHandle.
error_type CALLING_CONVENTION EmbeddedCharacterMap_Release(EmbeddedCharacterMapHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION EmbeddedCharacterMap_FromCharacterMap(CharacterMapHandle *handle, EmbeddedCharacterMapHandle **result)
Convert CharacterMapHandle to EmbeddedCharacterMapHandle.
Base class for reference counting.
The Unicode standard defines a system for numbering all of the common characters used in a large numb...
error_type CALLING_CONVENTION UnicodeCharacterMap_FromCharacterMap(CharacterMapHandle *handle, UnicodeCharacterMapHandle **result)
Convert CharacterMapHandle to UnicodeCharacterMapHandle.
error_type CALLING_CONVENTION UnicodeCharacterMap_GetMappedValue(UnicodeCharacterMapHandle *handle, BufferHandle *key_handle, BufferHandle **result)
Get unicode representation of key key_handle.
error_type CALLING_CONVENTION UnicodeCharacterMap_ToCharacterMap(UnicodeCharacterMapHandle *handle, CharacterMapHandle **result)
Reinterpret current object as CharacterMapHandle.
error_type CALLING_CONVENTION UnicodeCharacterMap_Release(UnicodeCharacterMapHandle *handle)
Decrement the internal reference counter.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25