wxPdfDocument
0.9.7
|
Class representing a font encoding. More...
#include <pdfencoding.h>
Public Member Functions | |
wxPdfEncoding () | |
Default constructor. More... | |
virtual | ~wxPdfEncoding () |
Destructor. More... | |
wxPdfEncoding (const wxPdfEncoding &encoding) | |
Copy constructor. More... | |
wxPdfEncoding & | operator= (const wxPdfEncoding &encoding) |
Assignment operator. More... | |
bool | IsOk () const |
Check whether the encoding is valid. More... | |
bool | SetEncoding (const wxString &encoding) |
Set the encoding. More... | |
wxString | GetEncodingName () const |
Get the name of the encoding. More... | |
wxString | GetBaseEncodingName () const |
Get the name of the base encoding. More... | |
wxString | GetDifferences () const |
Get the differences between the encoding and the associated base encoding. More... | |
wxPdfArrayUint32 | GetCMap () const |
Get the character map of the encoding. More... | |
void | InitializeEncodingMap () |
Initialize the encoding map. More... | |
const wxPdfChar2GlyphMap * | GetEncodingMap () const |
Get the encoding map. More... | |
wxArrayString | GetGlyphNames () const |
Get the list of glyph names supported by the encoding. More... | |
Static Public Member Functions | |
static bool | GlyphName2Unicode (const wxString &glyphName, wxUint32 &unicode) |
Convert a glyph name to a unicode character. More... | |
static bool | Unicode2GlyphName (wxUint32 unicode, wxString &glyphName) |
Convert a unicode character to a glyph name. More... | |
static wxArrayString | GetKnownEncodings () |
Get a list of known encodings. More... | |
Protected Member Functions | |
void | CreateEncodingConvMap () |
Create the encoding conversion map for user defined encodings. More... | |
Class representing a font encoding.
wxPdfEncoding::wxPdfEncoding | ( | ) |
Default constructor.
|
virtual |
Destructor.
wxPdfEncoding::wxPdfEncoding | ( | const wxPdfEncoding & | encoding | ) |
Copy constructor.
|
protected |
Create the encoding conversion map for user defined encodings.
wxString wxPdfEncoding::GetBaseEncodingName | ( | ) | const |
Get the name of the base encoding.
wxPdfArrayUint32 wxPdfEncoding::GetCMap | ( | ) | const |
Get the character map of the encoding.
wxString wxPdfEncoding::GetDifferences | ( | ) | const |
Get the differences between the encoding and the associated base encoding.
const wxPdfChar2GlyphMap* wxPdfEncoding::GetEncodingMap | ( | ) | const |
Get the encoding map.
wxString wxPdfEncoding::GetEncodingName | ( | ) | const |
Get the name of the encoding.
wxArrayString wxPdfEncoding::GetGlyphNames | ( | ) | const |
Get the list of glyph names supported by the encoding.
|
static |
Get a list of known encodings.
|
static |
Convert a glyph name to a unicode character.
[in] | glyphName | name of the glyph |
[out] | unicode | unicode character of the glyph |
void wxPdfEncoding::InitializeEncodingMap | ( | ) |
Initialize the encoding map.
bool wxPdfEncoding::IsOk | ( | ) | const |
Check whether the encoding is valid.
wxPdfEncoding& wxPdfEncoding::operator= | ( | const wxPdfEncoding & | encoding | ) |
Assignment operator.
bool wxPdfEncoding::SetEncoding | ( | const wxString & | encoding | ) |
Set the encoding.
encoding | the encoding that should be set |
|
static |
Convert a unicode character to a glyph name.
[in] | unicode | unicode character of the glyph |
[out] | glyphName | name of the glyph |