(PECL haru >= 0.0.1)
HaruDoc::addPageLabel — Set the numbering style for the specified range of pages
$first_page
, int $style
, int $first_num
[, string $prefix = ""
] ) : boolSet the numbering style for the specified range of pages.
first_pageThe first page included into the labeling range.
styleThe numbering style. The following values are allowed:
HaruPage::NUM_STYLE_DECIMAL - page label is
displayed using decimal numerals.
HaruPage::NUM_STYLE_UPPER_ROMAN - page label is
displayed using uppercase Roman numerals.
HaruPage::NUM_STYLE_LOWER_ROMAN - page label is
displayed using lowercase Roman numerals.
HaruPage::NUM_STYLE_UPPER_LETTER - page label is
displayed using uppercase letters (from A to Z).
HaruPage::NUM_STYLE_LOWER_LETTERS - page label
is displayed using lowercase letters (from a to z).
first_numThe first page number in this range.
prefixThe prefix for the page label.
Returns TRUE on success.
Lança uma HaruException em erros.