PHP Класс Pop\Pdf\Object\Object

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$index integer PDF object index

Защищенные свойства (Protected)

Свойство Тип Описание
$compress boolean Compression property
$data string PDF object data
$def string PDF object definition
$isCompressed boolean Compressed flag property
$isPalette boolean Palette object property
$isXObject boolean XObject object property
$stream string PDF object stream

Открытые методы

Метод Описание
__construct ( integer | string $i ) : Object Constructor
__toString ( ) : string Method to print the PDF object.
compress ( ) : void Method to compress the PDF object.
define ( string $str ) : void Method to define the PDF object.
getByteLength ( ) : integer Method to get the PDF object byte length.
getDef ( ) : string Method to return the PDF object definition.
getStream ( ) : string Method to return the PDF object stream.
isCompressed ( ) : boolean Method to determine whether or not the PDF object is compressed.
isPalette ( ) : boolean Method to get whether the PDF object is a palette object.
isXObject ( ) : boolean Method to get whether the PDF object is an XObject.
setPalette ( boolean $is ) : void Method to set whether the PDF object is a palette object.
setStream ( string $str ) : void Method to set the stream the PDF object.

Защищенные методы

Метод Описание
calcByteLength ( string $str ) : integer Method to calculate the byte length.

Описание методов

__construct() публичный Метод

Instantiate a PDF object.
public __construct ( integer | string $i ) : Object
$i integer | string
Результат Object

__toString() публичный Метод

Method to print the PDF object.
public __toString ( ) : string
Результат string

calcByteLength() защищенный Метод

Method to calculate the byte length.
protected calcByteLength ( string $str ) : integer
$str string
Результат integer

compress() публичный Метод

Method to compress the PDF object.
public compress ( ) : void
Результат void

define() публичный Метод

Method to define the PDF object.
public define ( string $str ) : void
$str string
Результат void

getByteLength() публичный Метод

Method to get the PDF object byte length.
public getByteLength ( ) : integer
Результат integer

getDef() публичный Метод

Method to return the PDF object definition.
public getDef ( ) : string
Результат string

getStream() публичный Метод

Method to return the PDF object stream.
public getStream ( ) : string
Результат string

isCompressed() публичный Метод

Method to determine whether or not the PDF object is compressed.
public isCompressed ( ) : boolean
Результат boolean

isPalette() публичный Метод

Method to get whether the PDF object is a palette object.
public isPalette ( ) : boolean
Результат boolean

isXObject() публичный Метод

Method to get whether the PDF object is an XObject.
public isXObject ( ) : boolean
Результат boolean

setPalette() публичный Метод

Method to set whether the PDF object is a palette object.
public setPalette ( boolean $is ) : void
$is boolean
Результат void

setStream() публичный Метод

Method to set the stream the PDF object.
public setStream ( string $str ) : void
$str string
Результат void

Описание свойств

$compress защищенное свойство

Compression property
protected bool $compress
Результат boolean

$data защищенное свойство

PDF object data
protected string $data
Результат string

$def защищенное свойство

PDF object definition
protected string $def
Результат string

$index публичное свойство

PDF object index
public int $index
Результат integer

$isCompressed защищенное свойство

Compressed flag property
protected bool $isCompressed
Результат boolean

$isPalette защищенное свойство

Palette object property
protected bool $isPalette
Результат boolean

$isXObject защищенное свойство

XObject object property
protected bool $isXObject
Результат boolean

$stream защищенное свойство

PDF object stream
protected string $stream
Результат string