wxPdfFontParser Class Reference

Class representing font parsers. More...

#include <pdffontparser.h>

Inheritance diagram for wxPdfFontParser:
wxPdfFontParserTrueType wxPdfFontParserType1 wxPdfFontSubsetTrueType

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.
wxInputStream * m_inFont
 Font file input stream.
wxString m_style
 Font style.

Detailed Description

Class representing font parsers.


Constructor & Destructor Documentation

wxPdfFontParser::wxPdfFontParser (  ) 

Default constructor.

virtual wxPdfFontParser::~wxPdfFontParser (  )  [virtual]

Default destructor.


Member Function Documentation

unsigned char wxPdfFontParser::ReadByte ( wxInputStream *  stream  ) 

Read byte from specific input stream.

Parameters:
stream input stream
Returns:
the byte read
unsigned char wxPdfFontParser::ReadByte (  ) 

Read byte from default input stream.

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:
stream input stream
Returns:
the short integer read
wxString wxPdfFontParser::ReadString ( wxInputStream &  stream  ) 

Read string from specific input stream.

Parameters:
stream input stream
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 ( int  length  ) 

Read string from default input stream.

Parameters:
length the length of the string to read
Returns:
the string read
unsigned int wxPdfFontParser::ReadUIntLE ( wxInputStream *  stream  ) 

Read unsigned integer from specific input stream in little endian mode.

Parameters:
stream input stream
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:
stream input stream
Returns:
the unsigned short integer read
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::SeekI ( int  offset  ) 

Seek to offset in default input stream.

Parameters:
offset offset to be seeked
void wxPdfFontParser::SkipBytes ( int  count,
wxInputStream *  stream 
)

Skip bytes in specific input stream.

Parameters:
count number of bytes to skip
stream input stream
void wxPdfFontParser::SkipBytes ( int  count  ) 

Skip bytes in default input stream.

Parameters:
count number of bytes to skip
int wxPdfFontParser::TellI ( wxInputStream *  stream  ) 

Tell current position in specific input stream.

Parameters:
stream input stream
Returns:
the current position in the input stream
int wxPdfFontParser::TellI (  ) 

Tell current position in default input stream.

Returns:
the current position in the default input stream

Member Data Documentation

wxString wxPdfFontParser::m_fileName [protected]

File name of the font file.

wxInputStream* wxPdfFontParser::m_inFont [protected]

Font file input stream.

wxString wxPdfFontParser::m_style [protected]

Font style.


The documentation for this class was generated from the following file:

Generated on Mon Oct 12 22:02:42 2009 for wxPdfDocument by  doxygen 1.6.1