Documentation TYPO3 par Ameos

PMA_PDF Class Reference

Inheritance diagram for PMA_PDF:

Inheritance graph
[legend]
Collaboration diagram for PMA_PDF:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PMA_PDF ($orientation= 'L', $unit= 'mm', $format= 'A4')
 SetAlias ($name, $value)
 _putpages ()
 PMA_PDF_setScale ($scale=1, $x_min=0, $y_min=0, $l_marg=-1, $t_marg=-1)
 PMA_PDF_cellScale ($w, $h=0, $txt= '', $border=0, $ln=0, $align= '', $fill=0, $link='')
 PMA_PDF_lineScale ($x1, $y1, $x2, $y2)
 PMA_PDF_setXyScale ($x, $y)
 PMA_PDF_setXScale ($x)
 PMA_PDF_setFontSizeScale ($size)
 PMA_PDF_setLineWidthScale ($width)
 PMA_PDF_die ($error_message= '')
 Error ($error_message= '')
 Header ()
 Footer ()
 Bookmark ($txt, $level=0, $y=0)
 _putbookmarks ()
 _putresources ()
 _putcatalog ()
 SetWidths ($w)
 Row ($data, $links)
 CheckPageBreak ($h)
 NbLines ($w, $txt)

Public Attributes

 $x_min
 $y_min
 $l_marg = 10
 $t_marg = 10
 $scale
 $title
 $PMA_links
 $Outlines = array()
 $def_outlines
 $Alias
 $widths

Detailed Description

Extends the "FPDF" class and prepares the work

public

See also:
FPDF

Definition at line 56 of file pdf_schema.php.


Constructor & Destructor Documentation

PMA_PDF::PMA_PDF orientation = 'L',
unit = 'mm',
format = 'A4'
 

The PMA_PDF constructor

This function just refers to the "FPDF" constructor: with PHP3 a class must have a constructor

Parameters:
string The page orientation (p, portrait, l or landscape)
string The unit for sizes (pt, mm, cm or in)
mixed The page format (A3, A4, A5, letter, legal or an array with page sizes)
public

See also:
FPDF::FPDF()

Definition at line 88 of file pdf_schema.php.

References FPDF::FPDF().


Member Function Documentation

PMA_PDF::_putcatalog  ) 
 

Puts catalog informations

private

Reimplemented from FPDF.

Definition at line 432 of file pdf_schema.php.

PMA_PDF::_putpages  ) 
 

Puts pages

private

Reimplemented from FPDF.

Definition at line 97 of file pdf_schema.php.

References FPDF::$n.

PMA_PDF::_putresources  ) 
 

Puts resources

private

Reimplemented from FPDF.

Definition at line 426 of file pdf_schema.php.

PMA_PDF::Error error_message = ''  ) 
 

Aliases the "Error()" function from the FPDF class to the "PMA_PDF_die()" one

Parameters:
string the error mesage
public

See also:
PMA_PDF_die()

Reimplemented from FPDF.

Definition at line 298 of file pdf_schema.php.

References PMA_PDF_die().

PMA_PDF::Footer  ) 
 

Sends the footer of the page

This method has to be implemented in your own inherited class

public

Reimplemented from FPDF.

Definition at line 322 of file pdf_schema.php.

References FPDF::Cell(), FPDF::PageNo(), FPDF::SetFont(), and FPDF::SetY().

PMA_PDF::Header  ) 
 

Sends the header of the page

This method has to be implemented in your own inherited class

public

Reimplemented from FPDF.

Definition at line 303 of file pdf_schema.php.

References FPDF::$pages, FPDF::Cell(), FPDF::Ln(), and FPDF::SetFont().

PMA_PDF::PMA_PDF_cellScale w,
h = 0,
txt = '',
border = 0,
ln = 0,
align = '',
fill = 0,
link = ''
 

Outputs a scaled cell

Parameters:
double The cell width
double The cell height
string The text to output
mixed Wether to add borders or not
integer Where to put the cursor once the output is done
string Align mode
integer Whether to fill the cell with a color or not
public

See also:
FPDF::Cell()

Definition at line 150 of file pdf_schema.php.

References FPDF::$h, FPDF::$w, and FPDF::Cell().

PMA_PDF::PMA_PDF_die error_message = ''  ) 
 

Displays an error message

Parameters:
string the error mesage
array the PMA configuration array integer the current server id string the current language string the charset to convert to string the current database name string the current charset string the current text direction string a localized string string an other localized string

public

Definition at line 264 of file pdf_schema.php.

Referenced by Error().

PMA_PDF::PMA_PDF_lineScale x1,
y1,
x2,
y2
 

Draws a scaled line

Parameters:
double The horizontal position of the starting point
double The vertical position of the starting point
double The horizontal position of the ending point
double The vertical position of the ending point
public

See also:
FPDF::Line()

Definition at line 170 of file pdf_schema.php.

References FPDF::Line().

PMA_PDF::PMA_PDF_setFontSizeScale size  ) 
 

Sets the scaled font size

Parameters:
double The font size (in points)
public

See also:
FPDF::SetFontSize()

Definition at line 223 of file pdf_schema.php.

References FPDF::SetFontSize().

PMA_PDF::PMA_PDF_setLineWidthScale width  ) 
 

Sets the scaled line width

Parameters:
double The line width
public

See also:
FPDF::SetLineWidth()

Definition at line 240 of file pdf_schema.php.

References FPDF::SetLineWidth().

PMA_PDF::PMA_PDF_setScale scale = 1,
x_min = 0,
y_min = 0,
l_marg = -1,
t_marg = -1
 

Sets the scaling factor, defines minimum coordinates and margins

Parameters:
double The scaling factor
double The minimum X coordinate
double The minimum Y coordinate
double The left margin
double The top margin
public

Definition at line 121 of file pdf_schema.php.

References $l_marg, $scale, $t_marg, $x_min, and $y_min.

PMA_PDF::PMA_PDF_setXScale x  ) 
 

Sets the X scaled positions

Parameters:
double The x position
public

See also:
FPDF::SetX()

Definition at line 207 of file pdf_schema.php.

References FPDF::$x, and FPDF::SetX().

PMA_PDF::PMA_PDF_setXyScale x,
y
 

Sets x and y scaled positions

Parameters:
double The x position
double The y position
public

See also:
FPDF::SetXY()

Definition at line 190 of file pdf_schema.php.

References FPDF::$x, FPDF::$y, and FPDF::SetXY().


Member Data Documentation

PMA_PDF::$x_min
 

Defines private properties

Definition at line 61 of file pdf_schema.php.

Referenced by PMA_PDF_setScale().


The documentation for this class was generated from the following file:


Généré par L'expert TYPO3 avec  doxygen 1.4.6