Class representing font parsers.
More...
#include <pdffontparser.h>
List of all members.
Public Member Functions |
| 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.
|
Protected Attributes |
wxString | m_fileName |
| File name of the font file.
|
wxString | m_fontName |
| Name of font.
|
wxInputStream * | m_inFont |
| Font file input stream.
|
wxString | m_style |
| Font style.
|
Detailed Description
Class representing font parsers.
Constructor & Destructor Documentation
wxPdfFontParser::wxPdfFontParser |
( |
| ) |
|
virtual wxPdfFontParser::~wxPdfFontParser |
( |
| ) |
|
|
virtual |
Member Function Documentation
unsigned char wxPdfFontParser::ReadByte |
( |
| ) |
|
Read byte from default input stream.
- Returns:
- the byte read
unsigned char wxPdfFontParser::ReadByte |
( |
wxInputStream * |
stream | ) |
|
Read byte from specific input stream.
- Parameters:
-
- Returns:
- the byte read
int wxPdfFontParser::ReadInt |
( |
| ) |
|
Read integer from default input stream.
- Returns:
- the integer read
short wxPdfFontParser::ReadShort |
( |
| ) |
|
Read short integer from default input stream.
- Returns:
- the short integer read
short wxPdfFontParser::ReadShortLE |
( |
wxInputStream * |
stream | ) |
|
Read short integer from specific input stream in little endian mode.
- Parameters:
-
- Returns:
- the short integer read
wxString wxPdfFontParser::ReadString |
( |
int |
length | ) |
|
Read string from default input stream.
- Parameters:
-
length | the length of the string to read |
- Returns:
- the string read
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
wxString wxPdfFontParser::ReadString |
( |
wxInputStream & |
stream | ) |
|
Read string from specific input stream.
- Parameters:
-
- Returns:
- the string read
unsigned int wxPdfFontParser::ReadUIntLE |
( |
wxInputStream * |
stream | ) |
|
Read unsigned integer from specific input stream in little endian mode.
- Parameters:
-
- Returns:
- the unsigned integer read
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
unsigned short wxPdfFontParser::ReadUShort |
( |
| ) |
|
Read unsigned short integer from default input stream.
- Returns:
- the unsigned short integer read
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
void wxPdfFontParser::SeekI |
( |
int |
offset | ) |
|
Seek to offset in default input stream.
- Parameters:
-
offset | offset to be seeked |
void wxPdfFontParser::SeekI |
( |
int |
offset, |
|
|
wxInputStream * |
stream |
|
) |
| |
Seek to offset in specific input stream.
- Parameters:
-
offset | offset to be seeked |
stream | input stream |
void wxPdfFontParser::SkipBytes |
( |
int |
count | ) |
|
Skip bytes in default input stream.
- Parameters:
-
count | number of bytes to skip |
void wxPdfFontParser::SkipBytes |
( |
int |
count, |
|
|
wxInputStream * |
stream |
|
) |
| |
Skip bytes in specific input stream.
- Parameters:
-
count | number of bytes to skip |
stream | input stream |
int wxPdfFontParser::TellI |
( |
| ) |
|
Tell current position in default input stream.
- Returns:
- the current position in the default input stream
int wxPdfFontParser::TellI |
( |
wxInputStream * |
stream | ) |
|
Tell current position in specific input stream.
- Parameters:
-
- Returns:
- the current position in the input stream
Member Data Documentation
wxString wxPdfFontParser::m_fileName |
|
protected |
File name of the font file.
wxString wxPdfFontParser::m_fontName |
|
protected |
wxInputStream* wxPdfFontParser::m_inFont |
|
protected |
wxString wxPdfFontParser::m_style |
|
protected |
The documentation for this class was generated from the following file: