Rechercher une fonction PHP

The HaruDoc class

(PECL haru >= 0.0.1)

Introduction

Haru PDF Document Class.

PHP: HaruDoc - Manual Home of Manuel PHP  Contents Haut

Class synopsis

HaruDoc {
/* Methods */
addPage ( void ) : object
addPageLabel ( int $first_page , int $style , int $first_num [, string $prefix = "" ] ) : bool
__construct ( void )
createOutline ( string $title [, object $parent_outline [, object $encoder ]] ) : object
getCurrentEncoder ( void ) : object
getCurrentPage ( void ) : object
getEncoder ( string $encoding ) : object
getFont ( string $fontname [, string $encoding ] ) : object
getInfoAttr ( int $type ) : string
getPageLayout ( void ) : int
getPageMode ( void ) : int
getStreamSize ( void ) : int
insertPage ( object $page ) : object
loadJPEG ( string $filename ) : object
loadPNG ( string $filename [, bool $deferred = FALSE ] ) : object
loadRaw ( string $filename , int $width , int $height , int $color_space ) : object
loadTTC ( string $fontfile , int $index [, bool $embed = FALSE ] ) : string
loadTTF ( string $fontfile [, bool $embed = FALSE ] ) : string
loadType1 ( string $afmfile [, string $pfmfile ] ) : string
output ( void ) : bool
readFromStream ( int $bytes ) : string
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 = 5 ] ) : 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 ) : bool
}

PHP: HaruDoc - Manual Home of Manuel PHP  Contents Haut

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  

PHP: HaruDoc - Manual Home of Manuel PHP  Contents Haut

Table of Contents

Find a PHP function

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-class.harudoc.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : http://php.net

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut