Subclassed from PDF::API2::PDF::Pages
Returns a page object (called from $pdf->page).
Returns a page object converted from $pdfpage (called from $pdf->openpage).
Marks a page to be updated (by $pdf->update).
Sets the mediabox. This method supports the following aliases: '4A', '2A', 'A0', 'A1', 'A2', 'A3', 'A4', 'A5', 'A6', '4B', '2B', 'B0', 'B1', 'B2', 'B3', 'B4', 'B5', 'B6', 'LETTER', 'BROADSHEET', 'LEDGER', 'TABLOID', 'LEGAL', 'EXECUTIVE', and '36X36'.
Sets the cropbox. This method supports the same aliases as mediabox.
Sets the bleedbox. This method supports the same aliases as mediabox.
Sets the trimbox. This method supports the same aliases as mediabox.
Sets the artbox. This method supports the same aliases as mediabox.
Returns a graphics content object.
Returns a text content object.
Returns a hybrid content object.
Returns a annotation object.
Adds a resource to the page-inheritance tree.
Example:
$co->resource('Font',$fontkey,$fontobj); $co->resource('XObject',$imagekey,$imageobj); $co->resource('Shading',$shadekey,$shadeobj); $co->resource('ColorSpace',$spacekey,$speceobj); |
Note: You only have to add the required resources, if they are NOT handled by the *font*, *image*, *shade* or *space* methods.
Returns a pie-chart object (see PDF::API2::Chart::Pie for details).
alfred reibenschuh