![]() |
PDFix SDK
7.2.0
|
#include <pdfix.h>
Public Member Functions | |
virtual int | GetFontName (wchar_t *buffer, int len) const =0 |
Gets the name of a font. More... | |
virtual int | GetFaceName (wchar_t *buffer, int len) const =0 |
Gets the face of a font. More... | |
virtual void | GetFontState (PdfFontState *font_state)=0 |
Gets the font state of a font. More... | |
virtual int | GetSystemFontName (wchar_t *buffer, int len)=0 |
Gets the name of a font which is a system replacement for the font. More... | |
virtual PdfFontCharset | GetSystemFontCharset ()=0 |
Gets the charset of a font which is a system replacement for the font. More... | |
virtual bool | GetSystemFontBold ()=0 |
Gets the the system font bold flag. More... | |
virtual bool | GetSystemFontItalic ()=0 |
Gets the the system font italic flag. More... | |
virtual bool | SaveToStream (PsStream *stream, PdfFontFormat format)=0 |
Saves the font into a font file. More... | |
virtual bool | GetEmbedded ()=0 |
Checks if the font is embedded. More... | |
virtual int | GetUnicodeFromCharcode (int charcode, wchar_t *buffer, int len)=0 |
Gets the unicode value for the charcode. More... | |
virtual bool | SetUnicodeForCharcode (int charcode, const wchar_t *buffer)=0 |
Sets the unicode value for the charcode. More... | |
virtual PdsDictionary * | GetObject () const =0 |
Gets the font's dictionary object. More... | |
|
pure virtual |
Checks if the font is embedded.
|
pure virtual |
Gets the face of a font.
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Gets the name of a font.
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Gets the font state of a font.
font_state | (filled by method) Pointer to font state structure to be filled in. |
|
pure virtual |
Gets the font's dictionary object.
|
pure virtual |
Gets the the system font bold flag.
|
pure virtual |
Gets the charset of a font which is a system replacement for the font.
|
pure virtual |
Gets the the system font italic flag.
|
pure virtual |
Gets the name of a font which is a system replacement for the font.
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Gets the unicode value for the charcode.
charcode | the font charcode |
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Saves the font into a font file.
PsStream | in which to save font data in requested format. |
format | PdfFontFormat. |
|
pure virtual |
Sets the unicode value for the charcode.
charcode | The font charcode |
buffer | The new charcode unicode value. Unicode entry for the charcode is removed when nullptr. |