Vanilla.PDF  1.5.3
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 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "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 
45  VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_SetRangeLow(BaseFontRangeHandle* handle, HexadecimalStringObjectHandle* data);
46 
50  VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_GetRangeHigh(BaseFontRangeHandle* handle, HexadecimalStringObjectHandle** result);
51 
55  VANILLAPDF_API error_type CALLING_CONVENTION BaseFontRange_SetRangeHigh(BaseFontRangeHandle* handle, HexadecimalStringObjectHandle* data);
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 */
error_type BaseFontRange_SetDestination(BaseFontRangeHandle *handle, ObjectHandle *data)
Set the mapped value that is associated with the range boundaries.
error_type BaseFontRange_Create(BaseFontRangeHandle **result)
Creates a new empty instance of BaseFontRangeHandle.
A hexadecimal string is preferable for arbitrary binary data.
error_type BaseFontRange_Contains(BaseFontRangeHandle *handle, BufferHandle *data, boolean_type *result)
Check if parameter data is present in the mapping table.
error_type BaseFontRange_FromUnknown(IUnknownHandle *handle, BaseFontRangeHandle **result)
Convert IUnknownHandle to BaseFontRangeHandle.
This file contains all type forward declarations returned by the library API.
error_type BaseFontRange_SetRangeLow(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle *data)
Set the lower boundary of the font range.
error_type BaseFontRange_GetRangeLow(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle **result)
Get the lower boundary of the font range.
error_type BaseFontRange_GetMappedValue(BaseFontRangeHandle *handle, BufferHandle *data, BufferHandle **result)
Get corresponding value for parameter data in the mapping table.
Base font ranges are used for mapping input codes to corresponding range of character codes or names...
error_type BaseFontRange_SetRangeHigh(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle *data)
Set the upper boundary of the font range.
Base class for syntactic tokens.
error_type BaseFontRange_GetDestination(BaseFontRangeHandle *handle, ObjectHandle **result)
Get the mapped value that is associated with the range boundaries.
error_type BaseFontRange_ToUnknown(BaseFontRangeHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type BaseFontRange_GetRangeHigh(BaseFontRangeHandle *handle, HexadecimalStringObjectHandle **result)
Get the upper boundary of the font range.
This file contains types and constants used as parameters or return values.
Represents memory stored data.
Base class for reference counting.
error_type BaseFontRange_Release(BaseFontRangeHandle *handle)
Decrement the internal reference counter.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31