SetaPDF_Core_Encoding_PdfDoc Implementation of the PdfDocEncoding

File: /SetaPDF/Core/Encoding/PdfDoc.php

Class hierarchy

Implements

Summary

Static Properties

$table

static public SetaPDF_Core_Encoding_PdfDoc::$table = array(...)


Static Methods

fromUtf16Be()

static public string SetaPDF_Core_Encoding_PdfDoc::fromUtf16Be ( string $string [, boolean $ignore = false [, boolean $translit = false ]] )

Converts a string from UTF-16BE to PDFDocEncoding.

Parameters
$string : string

The input string

$ignore : boolean

Characters that cannot be represented in the target charset are silently discarded

$translit : boolean

Transliteration activated

getTable()

static public array SetaPDF_Core_Encoding_PdfDoc::getTable ( void )

Returns the encoding table array.

Keys are the unicode values while the values are the code points in the specific encoding.

See

toUtf16Be()

static public string SetaPDF_Core_Encoding_PdfDoc::toUtf16Be ( string $string [, boolean $ignore = false [, boolean $translit = false ]] )

Converts a string from PDFDocEncoding to UTF-16BE.

Parameters
$string : string

The input string

$ignore : boolean

Characters that cannot be represented in the target charset are silently discarded

$translit : boolean

Transliteration activated