Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_base_font_range.h
Go to the documentation of this file.
1#ifndef _C_BASE_FONT_RANGE_H
2#define _C_BASE_FONT_RANGE_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
35 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_Create(BaseFontRangeHandle** result);
36
40 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_GetRangeLow(BaseFontRangeHandle* handle, HexadecimalStringObjectHandle** result);
41
46
50 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_GetRangeHigh(BaseFontRangeHandle* handle, HexadecimalStringObjectHandle** result);
51
56
60 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_GetDestination(BaseFontRangeHandle* handle, ObjectHandle** result);
61
67 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_SetDestination(BaseFontRangeHandle* handle, ObjectHandle* data);
68
72 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_Contains(BaseFontRangeHandle* handle, BufferHandle* data, boolean_type* result);
73
77 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_GetMappedValue(BaseFontRangeHandle* handle, BufferHandle* data, BufferHandle** result);
78
82 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_ToUnknown(BaseFontRangeHandle* handle, IUnknownHandle** result);
83
87 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_FromUnknown(IUnknownHandle* handle, BaseFontRangeHandle** result);
88
93 VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_Release(BaseFontRangeHandle* handle);
94
97#ifdef __cplusplus
98};
99#endif
100
101#endif /* _C_BASE_FONT_RANGE_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.
Base font ranges are used for mapping input codes to corresponding range of character codes or names.
error_type CALLING_CONVENTION BaseFontRange_SetDestination(BaseFontRangeHandle *handle, ObjectHandle *data)
Set the mapped value that is associated with the range boundaries.
error_type CALLING_CONVENTION BaseFontRange_SetRangeLow(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle *data)
Set the lower boundary of the font range.
error_type CALLING_CONVENTION BaseFontRange_SetRangeHigh(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle *data)
Set the upper boundary of the font range.
error_type CALLING_CONVENTION BaseFontRange_GetMappedValue(BaseFontRangeHandle *handle, BufferHandle *data, BufferHandle **result)
Get corresponding value for parameter data in the mapping table.
error_type CALLING_CONVENTION BaseFontRange_Contains(BaseFontRangeHandle *handle, BufferHandle *data, boolean_type *result)
Check if parameter data is present in the mapping table.
error_type CALLING_CONVENTION BaseFontRange_Release(BaseFontRangeHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION BaseFontRange_GetRangeLow(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle **result)
Get the lower boundary of the font range.
error_type CALLING_CONVENTION BaseFontRange_GetDestination(BaseFontRangeHandle *handle, ObjectHandle **result)
Get the mapped value that is associated with the range boundaries.
error_type CALLING_CONVENTION BaseFontRange_GetRangeHigh(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle **result)
Get the upper boundary of the font range.
error_type CALLING_CONVENTION BaseFontRange_ToUnknown(BaseFontRangeHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION BaseFontRange_Create(BaseFontRangeHandle **result)
Creates a new empty instance of BaseFontRangeHandle.
error_type CALLING_CONVENTION BaseFontRange_FromUnknown(IUnknownHandle *handle, BaseFontRangeHandle **result)
Convert IUnknownHandle to BaseFontRangeHandle.
Represents memory stored data.
A hexadecimal string is preferable for arbitrary binary data.
Base class for reference counting.
Base class for syntactic tokens.
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