HaruDoc::setPagesConfiguration
(PECL haru >= 0.0.1)
HaruDoc::setPagesConfiguration — Set the number of pages per set of pages
Описание
$page_per_pages
)
By default the document has one pages object as a root for all pages.
All page objects are create as branches of this object. One pages object
can contain only 8191, therefore the maximum number of pages per document
is 8191. But you can change that fact by setting
page_per_pages
parameter, so that the root pages
object contains 8191 more pages (not page) objects, which in turn contain
8191 pages each. So the maximum number of pages in the document becomes
8191*page_per_pages
.
Список параметров
-
page_per_pages
-
The numbers of pages that a pages object can contain.
Возвращаемые значения
Returns TRUE
on success.
Ошибки
Вызывает исключение HaruException при ошибке.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Haru PDF
- Функция HaruDoc::addPage() - Add new page to the document
- Функция HaruDoc::addPageLabel() - Set the numbering style for the specified range of pages
- Функция HaruDoc::__construct() - Construct new HaruDoc instance
- Функция HaruDoc::createOutline() - Create a HaruOutline instance
- Функция HaruDoc::getCurrentEncoder() - Get HaruEncoder currently used in the document
- Функция HaruDoc::getCurrentPage() - Return current page of the document
- Функция HaruDoc::getEncoder() - Get HaruEncoder instance for the specified encoding
- Функция HaruDoc::getFont() - Get HaruFont instance
- Функция HaruDoc::getInfoAttr() - Get current value of the specified document attribute
- Функция HaruDoc::getPageLayout() - Get current page layout
- Функция HaruDoc::getPageMode() - Get current page mode
- Функция HaruDoc::getStreamSize() - Get the size of the temporary stream
- Функция HaruDoc::insertPage() - Insert new page just before the specified page
- Функция HaruDoc::loadJPEG() - Load a JPEG image
- Функция HaruDoc::loadPNG() - Load PNG image and return HaruImage instance
- Функция HaruDoc::loadRaw() - Load a RAW image
- Функция HaruDoc::loadTTC() - Load the font with the specified index from TTC file
- Функция HaruDoc::loadTTF() - Load TTF font file
- Функция HaruDoc::loadType1() - Load Type1 font
- Функция HaruDoc::output() - Write the document data to the output buffer
- Функция HaruDoc::readFromStream() - Read data from the temporary stream
- Функция HaruDoc::resetError() - Reset error state of the document handle
- Функция HaruDoc::resetStream() - Rewind the temporary stream
- Функция HaruDoc::save() - Save the document into the specified file
- Функция HaruDoc::saveToStream() - Save the document into a temporary stream
- Функция HaruDoc::setCompressionMode() - Set compression mode for the document
- Функция HaruDoc::setCurrentEncoder() - Set the current encoder for the document
- Функция HaruDoc::setEncryptionMode() - Set encryption mode for the document
- Функция HaruDoc::setInfoAttr() - Set the info attribute of the document
- Функция HaruDoc::setInfoDateAttr() - Set the datetime info attributes of the document
- Функция HaruDoc::setOpenAction() - Define which page is shown when the document is opened
- Функция HaruDoc::setPageLayout() - Set how pages should be displayed
- Функция HaruDoc::setPageMode() - Set how the document should be displayed
- Функция HaruDoc::setPagesConfiguration() - Set the number of pages per set of pages
- Функция HaruDoc::setPassword() - Set owner and user passwords for the document
- Функция HaruDoc::setPermission() - Set permissions for the document
- Функция HaruDoc::useCNSEncodings() - Enable Chinese simplified encodings
- Функция HaruDoc::useCNSFonts() - Enable builtin Chinese simplified fonts
- Функция HaruDoc::useCNTEncodings() - Enable Chinese traditional encodings
- Функция HaruDoc::useCNTFonts() - Enable builtin Chinese traditional fonts
- Функция HaruDoc::useJPEncodings() - Enable Japanese encodings
- Функция HaruDoc::useJPFonts() - Enable builtin Japanese fonts
- Функция HaruDoc::useKREncodings() - Enable Korean encodings
- Функция HaruDoc::useKRFonts() - Enable builtin Korean fonts
Коментарии
404 Not Found