©
本文档使用
php.cn手册 发布
(PECL haru >= 0.0.1)
Haru PDF Document Class.
$first_page
, int $style
, int $first_num
[, string $prefix
= ""
] )$title
[, object $parent_outline
[, object $encoder
]] )$encoding
)$fontname
[, string $encoding
] )$type
)$page
)$filename
)$filename
[, bool $deferred
= false
] )$filename
, int $width
, int $height
, int $color_space
)$fontfile
, int $index
[, bool $embed
= false
] )$fontfile
[, bool $embed
= false
] )$afmfile
[, string $pfmfile
] )$bytes
)$file
)$mode
)$encoding
)$mode
[, int $key_len
= 5
] )$type
, string $info
)$type
, int $year
, int $month
, int $day
, int $hour
, int $min
, int $sec
, string $ind
, int $off_hour
, int $off_min
)$destination
)$layout
)$mode
)$page_per_pages
)$owner_password
, string $user_password
)$permission
)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 |