footer

Summary

Sets the footer (DEPRECATED).

Usage

pdf(footer, hash( [ text,       text,                                     ]
                  [ align,      text_alignment,                           ]
                  [ font,       font_name,                                ]
                  [ size,       font_size,                                ]
                  [ page,       page_interval,                            ]
                  [ pageOffset, page_offset,                              ]
      
                  [ margin,     hash( [ bottom, bottom_margin, ]
                                      [ left,   left_margin,   ]
                                      [ right,  right_margin,  ] ),       ]
									  
                  [ line,       hash( [ leftMargin,  left_margin,    ]
                                      [ rightMargin, right_margin,   ]
                                      [ thickness,   line_thickness, ] ), ]
           
                  [ newline, boolean                                      ] ) )

Parameters

NameTypeDescriptionRequired
text string Text used in the footer. No.
align string Alignment of the text. No.
page string Page occurence is all, even or odd. No.
pageOffset integer Page number where the footer starts. No.
size integer Size of the font. No.
font string Type of the font. No.
margin hash The definition of the margins. No.
left integer/float Left footer margin. No.
right integer/float Right footer margin. No.
bottom integer/float Bottom footer margin. No.
line hash The definition of a line. No.
leftMargin integer/float Left line margin. No.
rightMargin integer/float Right line margin. No.
thickness integer/float The thickness of the line. No.
newline boolean Adds a new line to the footer. Force footer entry to new line No.

Description

This function makes it possible to create a footer for a collection of pages. Please note that it does not work correctly. The page number from where the footer starts can be specified using the "pageOffset" parameter. The "page" parameters can be used to specify whether the footer should occur on "all", "even" or "odd" pages.

If the "text" parameter is used, the parameters "align", "type", and "size" can be used to change the default alignment, font type and size. Please refer to the "text" function for more information about these parameters.

There are two keywords reserved in the text string (parameter):

The footer should only be included once in the PDF document.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.