iDRS™ SDK 16
Loading...
Searching...
No Matches
CPageFont_interface.h
Go to the documentation of this file.
1
7#ifndef CPAGEFONT_INTERFACE_H
8
9#define CPAGEFONT_INTERFACE_H
10
11#include "CObjPtr_interface.h"
13#include "ArrayInterface.h"
14
15#include "idrs_common.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
25CPageFont CPageFont_Create(idrs_exception *pargException);
26
32const idrs_string CPageFont_GetFontFamilyName(const CPageFont argCPageFont, idrs_exception *pargException);
33
39const idrs_string CPageFont_GetFontPostscriptName(const CPageFont argCPageFont, idrs_exception *pargException);
40
50IDRS_BOOL CPageFont_IsBold(const CPageFont argCPageFont, idrs_exception *pargException);
51
61IDRS_BOOL CPageFont_IsItalic(const CPageFont argCPageFont, idrs_exception *pargException);
62
72IDRS_BOOL CPageFont_IsAsian(const CPageFont argCPageFont, idrs_exception *pargException);
73
81enum FontFamilyType CPageFont_GetFamilyType(const CPageFont argCPageFont, idrs_exception *pargException);
82
90void CPageFont_SetFontFamilyName(CPageFont argCPageFont, const idrs_string strFontFamilyName, idrs_exception *pargException);
91
99void CPageFont_SetFontPostscriptName(CPageFont argCPageFont, const idrs_string strFontPostscriptName, idrs_exception *pargException);
100
108void CPageFont_SetBold(CPageFont argCPageFont, IDRS_BOOL const bValue, idrs_exception *pargException);
109
117void CPageFont_SetItalic(CPageFont argCPageFont, IDRS_BOOL const bValue, idrs_exception *pargException);
118
126void CPageFont_SetAsian(CPageFont argCPageFont, IDRS_BOOL const bValue, idrs_exception *pargException);
127
135void CPageFont_SetFamilyType(CPageFont argCPageFont, const enum FontFamilyType* const evFamilyType, idrs_exception *pargException);
136
149void CPageFont_SetTextFontSet(CPageFont argCPageFont, enum FontInfoComputation const evFontSet, idrs_exception *pargException);
150
156enum FontInfoComputation CPageFont_GetTextFontSet(const CPageFont argCPageFont, idrs_exception *pargException);
157
165void CPageFont_Destroy(CPageFont argCPageFont, idrs_exception *pargException);
166
175CPageFontArray ArrayInterface_Create_CPageFontArray(idrs_exception *pargException);
176
177#ifdef __cplusplus
178}
179#endif /* __cplusplus */
180
181#endif /* CPAGEFONT_INTERFACE_H */
Interface for TObjPtrArray wrapper.
Interface for CObjPtr wrapper.
enum FontInfoComputation CPageFont_GetTextFontSet(const CPageFont argCPageFont, idrs_exception *pargException)
Retrieves the source text font set used for the current font.
void CPageFont_SetFontPostscriptName(CPageFont argCPageFont, const idrs_string strFontPostscriptName, idrs_exception *pargException)
Sets the font postscript name.
IDRS_BOOL CPageFont_IsItalic(const CPageFont argCPageFont, idrs_exception *pargException)
Gets a boolean flag specifying wether the font is italic.
enum FontFamilyType CPageFont_GetFamilyType(const CPageFont argCPageFont, idrs_exception *pargException)
Retrieves the font family type.
void CPageFont_Destroy(CPageFont argCPageFont, idrs_exception *pargException)
Destroys a CPageFont handle.
const idrs_string CPageFont_GetFontFamilyName(const CPageFont argCPageFont, idrs_exception *pargException)
Retrieves the family name for the current font.
IDRS_BOOL CPageFont_IsAsian(const CPageFont argCPageFont, idrs_exception *pargException)
Gets a boolean flag specifying wether the font is asian.
void CPageFont_SetTextFontSet(CPageFont argCPageFont, enum FontInfoComputation const evFontSet, idrs_exception *pargException)
Sets the font set associated to the font.
CPageFontArray ArrayInterface_Create_CPageFontArray(idrs_exception *pargException)
Creates a new CPageFontArray object.
void CPageFont_SetBold(CPageFont argCPageFont, IDRS_BOOL const bValue, idrs_exception *pargException)
Sets the boolean flag for bold property.
void CPageFont_SetFamilyType(CPageFont argCPageFont, const enum FontFamilyType *const evFamilyType, idrs_exception *pargException)
Sets the font family type.
void CPageFont_SetFontFamilyName(CPageFont argCPageFont, const idrs_string strFontFamilyName, idrs_exception *pargException)
Sets the font family name.
void CPageFont_SetAsian(CPageFont argCPageFont, IDRS_BOOL const bValue, idrs_exception *pargException)
Sets the asian flag.
CPageFont CPageFont_Create(idrs_exception *pargException)
Instantiates a new font object.
void CPageFont_SetItalic(CPageFont argCPageFont, IDRS_BOOL const bValue, idrs_exception *pargException)
Sets the italic flag.
IDRS_BOOL CPageFont_IsBold(const CPageFont argCPageFont, idrs_exception *pargException)
Gets a boolean flag specifying wether the font is bold.
const idrs_string CPageFont_GetFontPostscriptName(const CPageFont argCPageFont, idrs_exception *pargException)
Retrieves the postscript name for the current font.
Interface for EnumDefinitions wrapper.
FontInfoComputation
Contains all sets of fonts that iDRS is able to recognize.
Definition EnumDefinitions_interface.h:2900
FontFamilyType
FontFamilyType contains the types of font families available in iDRS SDK.
Definition EnumDefinitions_interface.h:503
CPageFont represents a font in iDRS SDK.
Class that handles a string of characters.
IDRS_INT IDRS_BOOL
A Boolean value.
Definition idrsstd_interface.h:37