Class representing font parsers.
More...
#include <pdffontparser.h>
|
| wxPdfFontParser () |
| Default constructor.
|
|
virtual | ~wxPdfFontParser () |
| Default destructor.
|
|
void | SeekI (int offset) |
| Seek to offset in default input stream.
|
|
void | SeekI (int offset, wxInputStream *stream) |
| Seek to offset in specific input stream.
|
|
int | TellI () |
| Tell current position in default input stream.
|
|
int | TellI (wxInputStream *stream) |
| Tell current position in specific input stream.
|
|
void | SkipBytes (int count) |
| Skip bytes in default input stream.
|
|
void | SkipBytes (int count, wxInputStream *stream) |
| Skip bytes in specific input stream.
|
|
int | ReadInt () |
| Read integer from default input stream.
|
|
short | ReadShort () |
| Read short integer from default input stream.
|
|
unsigned short | ReadUShort () |
| Read unsigned short integer from default input stream.
|
|
unsigned char | ReadByte () |
| Read byte from default input stream.
|
|
unsigned char | ReadByte (wxInputStream *stream) |
| Read byte from specific input stream.
|
|
wxString | ReadString (int length) |
| Read string from default input stream.
|
|
wxString | ReadString (int length, wxInputStream *stream) |
| Read string from specific input stream.
|
|
wxString | ReadUnicodeString (int length) |
| Read Unicode string from default input stream.
|
|
short | ReadShortLE (wxInputStream *stream) |
| Read short integer from specific input stream in little endian mode.
|
|
unsigned short | ReadUShortLE (wxInputStream *stream) |
| Read unsigned short integer from specific input stream in little endian mode.
|
|
unsigned int | ReadUIntLE (wxInputStream *stream) |
| Read unsigned integer from specific input stream in little endian mode.
|
|
wxString | ReadString (wxInputStream &stream) |
| Read string from specific input stream.
|
|
Class representing font parsers.
◆ wxPdfFontParser()
wxPdfFontParser::wxPdfFontParser |
( |
| ) |
|
◆ ~wxPdfFontParser()
virtual wxPdfFontParser::~wxPdfFontParser |
( |
| ) |
|
|
virtual |
◆ ReadByte() [1/2]
unsigned char wxPdfFontParser::ReadByte |
( |
| ) |
|
Read byte from default input stream.
- Returns
- the byte read
◆ ReadByte() [2/2]
unsigned char wxPdfFontParser::ReadByte |
( |
wxInputStream * | stream | ) |
|
Read byte from specific input stream.
- Parameters
-
- Returns
- the byte read
◆ ReadInt()
int wxPdfFontParser::ReadInt |
( |
| ) |
|
Read integer from default input stream.
- Returns
- the integer read
◆ ReadShort()
short wxPdfFontParser::ReadShort |
( |
| ) |
|
Read short integer from default input stream.
- Returns
- the short integer read
◆ ReadShortLE()
short wxPdfFontParser::ReadShortLE |
( |
wxInputStream * | stream | ) |
|
Read short integer from specific input stream in little endian mode.
- Parameters
-
- Returns
- the short integer read
◆ ReadString() [1/3]
wxString wxPdfFontParser::ReadString |
( |
int | length | ) |
|
Read string from default input stream.
- Parameters
-
length | the length of the string to read |
- Returns
- the string read
◆ ReadString() [2/3]
wxString wxPdfFontParser::ReadString |
( |
int | length, |
|
|
wxInputStream * | stream ) |
Read string from specific input stream.
- Parameters
-
length | the length of the string to read |
stream | input stream |
- Returns
- the string read
◆ ReadString() [3/3]
wxString wxPdfFontParser::ReadString |
( |
wxInputStream & | stream | ) |
|
Read string from specific input stream.
- Parameters
-
- Returns
- the string read
◆ ReadUIntLE()
unsigned int wxPdfFontParser::ReadUIntLE |
( |
wxInputStream * | stream | ) |
|
Read unsigned integer from specific input stream in little endian mode.
- Parameters
-
- Returns
- the unsigned integer read
◆ ReadUnicodeString()
wxString wxPdfFontParser::ReadUnicodeString |
( |
int | length | ) |
|
Read Unicode string from default input stream.
- Parameters
-
length | the length of the string to read |
- Returns
- the string read
◆ ReadUShort()
unsigned short wxPdfFontParser::ReadUShort |
( |
| ) |
|
Read unsigned short integer from default input stream.
- Returns
- the unsigned short integer read
◆ ReadUShortLE()
unsigned short wxPdfFontParser::ReadUShortLE |
( |
wxInputStream * | stream | ) |
|
Read unsigned short integer from specific input stream in little endian mode.
- Parameters
-
- Returns
- the unsigned short integer read
◆ SeekI() [1/2]
void wxPdfFontParser::SeekI |
( |
int | offset | ) |
|
Seek to offset in default input stream.
- Parameters
-
offset | offset to be seeked |
◆ SeekI() [2/2]
void wxPdfFontParser::SeekI |
( |
int | offset, |
|
|
wxInputStream * | stream ) |
Seek to offset in specific input stream.
- Parameters
-
offset | offset to be seeked |
stream | input stream |
◆ SkipBytes() [1/2]
void wxPdfFontParser::SkipBytes |
( |
int | count | ) |
|
Skip bytes in default input stream.
- Parameters
-
count | number of bytes to skip |
◆ SkipBytes() [2/2]
void wxPdfFontParser::SkipBytes |
( |
int | count, |
|
|
wxInputStream * | stream ) |
Skip bytes in specific input stream.
- Parameters
-
count | number of bytes to skip |
stream | input stream |
◆ TellI() [1/2]
int wxPdfFontParser::TellI |
( |
| ) |
|
Tell current position in default input stream.
- Returns
- the current position in the default input stream
◆ TellI() [2/2]
int wxPdfFontParser::TellI |
( |
wxInputStream * | stream | ) |
|
Tell current position in specific input stream.
- Parameters
-
- Returns
- the current position in the input stream
◆ m_fileName
wxString wxPdfFontParser::m_fileName |
|
protected |
File name of the font file.
◆ m_fontName
wxString wxPdfFontParser::m_fontName |
|
protected |
◆ m_inFont
wxInputStream* wxPdfFontParser::m_inFont |
|
protected |
◆ m_style
wxString wxPdfFontParser::m_style |
|
protected |
The documentation for this class was generated from the following file: