PoDoFo 0.7.0
Public Member Functions | Protected Member Functions
PoDoFo::PdfDocEncoding Class Reference

#include <PdfEncoding.h>

Inheritance diagram for PoDoFo::PdfDocEncoding:
PoDoFo::PdfSimpleEncoding PoDoFo::PdfEncoding

List of all members.

Public Member Functions

 PdfDocEncoding ()

Protected Member Functions

virtual const pdf_utf16be * GetToUnicodeTable () const

Detailed Description

The PdfDocEncoding is the default encoding for all strings in PoDoFo which are data in the PDF file.

Do not allocate this class yourself, as allocations might be expensive. Try using PdfFont::DocEncoding.

See also:
PdfFont::DocEncoding

Constructor & Destructor Documentation

PoDoFo::PdfDocEncoding::PdfDocEncoding ( ) [inline]

Create a new PdfDocEncoding


Member Function Documentation

const pdf_utf16be * PoDoFo::PdfDocEncoding::GetToUnicodeTable ( ) const [protected, virtual]

Gets a table of 256 short values which are the big endian unicode code points that are assigned to the 256 values of this encoding.

This table is used internally to convert an encoded string of this encoding to and from unicode.

Returns:
an array of 256 big endian unicode code points

Implements PoDoFo::PdfSimpleEncoding.