The HaruDoc class

Introduction

Haru PDF Document Class.

Class synopsis

HaruDoc
HaruDoc {
/* Methods */
object HaruDoc::addPage ( void )
bool HaruDoc::addPageLabel ( int $first_page , int $style , int $first_num [, string $prefix ] )
void HaruDoc::__construct ( void )
object HaruDoc::createOutline ( string $title [, object $parent_outline [, object $encoder ]] )
object HaruDoc::getCurrentPage ( void )
object HaruDoc::getEncoder ( string $encoding )
object HaruDoc::getFont ( string $fontname [, string $encoding ] )
string HaruDoc::getInfoAttr ( int $type )
int HaruDoc::getPageMode ( void )
object HaruDoc::insertPage ( object $page )
object HaruDoc::loadJPEG ( string $filename )
object HaruDoc::loadPNG ( string $filename [, bool $deferred ] )
object HaruDoc::loadRaw ( string $filename , int $width , int $height , int $color_space )
string HaruDoc::loadTTC ( string $fontfile , int $index [, bool $embed ] )
string HaruDoc::loadTTF ( string $fontfile [, bool $embed ] )
string HaruDoc::loadType1 ( string $afmfile [, string $pfmfile ] )
bool HaruDoc::output ( void )
string HaruDoc::readFromStream ( int $bytes )
bool HaruDoc::resetError ( void )
bool HaruDoc::resetStream ( void )
bool HaruDoc::save ( string $file )
bool HaruDoc::saveToStream ( void )
bool HaruDoc::setCompressionMode ( int $mode )
bool HaruDoc::setCurrentEncoder ( string $encoding )
bool HaruDoc::setEncryptionMode ( int $mode [, int $key_len ] )
bool HaruDoc::setInfoAttr ( int $type , string $info )
bool HaruDoc::setInfoDateAttr ( int $type , int $year , int $month , int $day , int $hour , int $min , int $sec , string $ind , int $off_hour , int $off_min )
bool HaruDoc::setOpenAction ( object $destination )
bool HaruDoc::setPageLayout ( int $layout )
bool HaruDoc::setPageMode ( int $mode )
bool HaruDoc::setPagesConfiguration ( int $page_per_pages )
bool HaruDoc::setPassword ( string $owner_password , string $user_password )
bool HaruDoc::setPermission ( int $permission )
bool HaruDoc::useCNSFonts ( void )
bool HaruDoc::useCNTFonts ( void )
bool HaruDoc::useJPFonts ( void )
bool HaruDoc::useKRFonts ( void )
}

Predefined Constants

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  

Table of Contents


    

 

 

Home || Web Directroy || Web Designing || Get a Domain Name || Host your web site || Free Blogs || Free Tutorial || Free E-cards || Free GuestBook || Email