Template PDF functions
Exponential 6 in this section
The functions of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php). The PDF export works as in 4.x; functions the 4.x reference did not describe are listed below.
| Name | Summary |
|---|---|
| anchor | Creates an internal link anchor (DEPRECATED). |
| create_index | Creates an index based on the specified keywords (DEPRECATED). |
| filled_circle | Creates a filled circle (DEPRECATED). |
| filled_rectangle | Creates a filled rectangle (DEPRECATED). |
| footer | Sets the footer (DEPRECATED). |
| footer_block | Inserts complex footers (DEPRECATED). |
| frame_header | Sets the header text (DEPRECATED). |
| frontpage | Adds content to the frontpage (DEPRECATED). |
| header | Inserts a header / title (DEPRECATED). |
| header_block | Inserts a complex header (DEPRECATED). |
| image | Inserts an image to the PDF document (DEPRECATED). |
| keyword | Adds a keyword to the keyword index (DEPRECATED). |
| line | Draws a line (DEPRECATED). |
| link | Inserts an external link (DEPRECATED). |
| new_line | Inserts a new line (DEPRECATED). |
| new_page | Inserts a new page (DEPRECATED). |
| page_number | Starts the page number counter (DEPRECATED). |
| set_font | Changes the default font (DEPRECATED). |
| set_margin | Sets the page margins or line spacing (DEPRECATED). |
| strike | Inserts striked text (DEPRECATED). |
| table | Inserts a table (DEPRECATED). |
| text | This function inserts formatted text into the PDF document (DEPRECATED). |
| text_box | Inserts text at a specified location (DEPRECATED). |
| text_frame | Inserts a text with a frame (DEPRECATED). |
| toc | Inserts a generated table of contents (DEPRECATED). |
| ul | Inserts a bullet list (DEPRECATED). |
Older than Exponential 6, first described here
These existed before Exponential 6 (or come from an extension, as the Since column says); the 4.x reference had no page for them.
| Name | Description | Since |
|---|---|---|
| cellCMYK | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| close | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| create | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| execute | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| headerCMYK | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| rectangle | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| stream | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| textCMYK | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| titleCellCMYK | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
| titleTextCMYK | A function of the pdf operator in Exponential 6.0.15 (lib/ezpdf/classes/ezpdf.php, eZPDF::modify()). | older than 6.0 |
Changed in Exponential 6
These pages have a section "Changed in Exponential 6.0.15" with what differs in 6.x:
Added for Exponential 6.0.15 and the earlier 6.0.x releases.
In this section
- anchor Exponential Documentation
- create_index Exponential Documentation
- filled_circle Exponential Documentation
- filled_rectangle Exponential Documentation
- footer Exponential Documentation
- footer_block Exponential Documentation
- frame_header Exponential Documentation
- frontpage Exponential Documentation
- header Exponential Documentation
- header_block Exponential Documentation
- image Exponential Documentation
- keyword Exponential Documentation
- line Exponential Documentation
- link Exponential Documentation
- new_line Exponential Documentation
- new_page Exponential Documentation
- page_number Exponential Documentation
- set_font Exponential Documentation
- set_margin Exponential Documentation
- strike Exponential Documentation
- table Exponential Documentation
- text Exponential Documentation
- text_box Exponential Documentation
- text_frame Exponential Documentation
- toc Exponential Documentation
- ul Exponential Documentation
- cellCMYK Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- close Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- create Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- execute Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- headerCMYK Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- rectangle Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- stream Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- textCMYK Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- titleCellCMYK Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
- titleTextCMYK Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it. Summary A function of the pdf operator in Exponenti...
Contributors
- Balazs Halasy
- Lou Commenter
- Paul (eZ) Commenter
- Graham Brookins Updated
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
Is PDF Export deprecated ?
Lou ·
I really don't understand how this is possible.
In my opinion, eZpublish developers should have come up with a replacement instead of simply "deprecating" all of these functions. Even if we all know these functions shouldn't be used, we are forced to use them still.
Or is the whole concept of exporting to PDF deprecated ?
I sincerely hope for an explanation from eZpublish.
Re: Is PDF Export deprecated ?
Paul (eZ) ·
Deprecated means it will be replaced by something else over time ... so for now, you can still use them (with the limitations it has)
Best regards
Paul