Документация PHP


HaruException

HaruDoc::addPage

haru

PHP Manual


The HaruDoc class

Введение

Haru PDF Document Class.

Class synopsis

HaruDoc

class HaruDoc {

/* Methods */

object addPage ( void )

bool addPageLabel ( int $first_page , int $style , int $first_num [, string $prefix ] )

void __construct ( void )

object createOutline ( string $title [, object $parent_outline [, object $encoder ]] )

object getCurrentEncoder ( void )

object getCurrentPage ( void )

object getEncoder ( string $encoding )

object getFont ( string $fontname [, string $encoding ] )

string getInfoAttr ( int $type )

int getPageLayout ( void )

int getPageMode ( void )

int getStreamSize ( void )

object insertPage ( object $page )

object loadJPEG ( string $filename )

object loadPNG ( string $filename [, bool $deferred ] )

object loadRaw ( string $filename , int $width , int $height , int $color_space )

string loadTTC ( string $fontfile , int $index [, bool $embed ] )

string loadTTF ( string $fontfile [, bool $embed ] )

string loadType1 ( string $afmfile [, string $pfmfile ] )

bool output ( void )

string readFromStream ( int $bytes )

bool resetError ( void )

bool resetStream ( void )

bool save ( string $file )

bool saveToStream ( void )

bool setCompressionMode ( int $mode )

bool setCurrentEncoder ( string $encoding )

bool setEncryptionMode ( int $mode [, int $key_len ] )

bool setInfoAttr ( int $type , string $info )

bool setInfoDateAttr ( int $type , int $year , int $month , int $day , int $hour , int $min , int $sec , string $ind , int $off_hour , int $off_min )

bool setOpenAction ( object $destination )

bool setPageLayout ( int $layout )

bool setPageMode ( int $mode )

bool setPagesConfiguration ( int $page_per_pages )

bool setPassword ( string $owner_password , string $user_password )

bool setPermission ( int $permission )

bool useCNSEncodings ( void )

bool useCNSFonts ( void )

bool useCNTEncodings ( void )

bool useCNTFonts ( void )

bool useJPEncodings ( void )

bool useJPFonts ( void )

bool useKREncodings ( void )

bool useKRFonts ( void )

}

Предопределенные константы

Type Name Description
int HaruDoc::CS_DEVICE_GRAY  
int HaruDoc::CS_DEVICE_RGB  
int HaruDoc::CS_DEVICE_CMYK  
int HaruDoc::CS_CAL_GRAY  
int HaruDoc::CS_CAL_RGB  
int HaruDoc::CS_LAB  
int HaruDoc::CS_ICC_BASED  
int HaruDoc::CS_SEPARATION  
int HaruDoc::CS_DEVICE_N  
int HaruDoc::CS_INDEXED  
int HaruDoc::CS_PATTERN  
int HaruDoc::ENABLE_READ  
int HaruDoc::ENABLE_PRINT  
int HaruDoc::ENABLE_EDIT_ALL  
int HaruDoc::ENABLE_COPY  
int HaruDoc::ENABLE_EDIT  
int HaruDoc::ENCRYPT_R2  
int HaruDoc::ENCRYPT_R3  
int HaruDoc::INFO_AUTHOR  
int HaruDoc::INFO_CREATOR  
int HaruDoc::INFO_TITLE  
int HaruDoc::INFO_SUBJECT  
int HaruDoc::INFO_KEYWORDS  
int HaruDoc::INFO_CREATION_DATE  
int HaruDoc::INFO_MOD_DATE  
int HaruDoc::COMP_NONE  
int HaruDoc::COMP_TEXT  
int HaruDoc::COMP_IMAGE  
int HaruDoc::COMP_METADATA  
int HaruDoc::COMP_ALL  
int HaruDoc::PAGE_LAYOUT_SINGLE  
int HaruDoc::PAGE_LAYOUT_ONE_COLUMN  
int HaruDoc::PAGE_LAYOUT_TWO_COLUMN_LEFT  
int HaruDoc::PAGE_LAYOUT_TWO_COLUMN_RIGHT  
int HaruDoc::PAGE_MODE_USE_NONE  
int HaruDoc::PAGE_MODE_USE_OUTLINE  
int HaruDoc::PAGE_MODE_USE_THUMBS  
int HaruDoc::PAGE_MODE_FULL_SCREEN  

Содержание


HaruException

HaruDoc::addPage

haru

PHP Manual

SAPE все усложнил?

MainLink - простая и прибыльная продажа ссылок!

Последние поступления:

Размещена 10 августа 2020 года

Я по ТВ видел, что через 10 лет мы будем жить лучше, чем в Германии...
Я не понял, что это они с Германией сделать хотят?!

читать далее…

ТехЗадание на Землю

Размещена 14 марта 2018 года

Пpоект Genesis (из коpпоpативной пеpеписки)

читать далее…

Шпаргалка по работе с Vim

Размещена 05 декабря 2017 года

Vim довольно мощный редактор, но работа с ним не всегда наглядна.
Например если нужно отредактировать какой-то файл например при помощи crontab, без знания специфики работы с viv никак.

читать далее…

Ошибка: Error: Cannot find a valid baseurl for repo

Размещена 13 сентабря 2017 года

Если возникает ошибка на centos 5 вида
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/

читать далее…

Linux Optimization

Размещена 30 июля 2012 года

Prelink

читать далее…