Class Cezpdf

Description

Cpdf

http://www.ros.co.nz/pdf

A PHP class to provide the basic functionality to create a pdf document without any requirement for additional modules.

Note that they companion class CezPdf can be used to extend this class and dramatically simplify the creation of documents.

IMPORTANT NOTE there is no warranty, implied or otherwise with this software.

LICENCE This code has been placed in the Public Domain for all to enjoy.

Located in /class.ezpdf.php (line 5)

Cpdf
   |
   --Cezpdf
Direct descendents
Class Description
Creport Cpdf
Variable Summary
mixed $ez
mixed $ezPageCount
mixed $ezPages
mixed $y
Method Summary
Cezpdf Cezpdf ([mixed $paper = 'a4'], [mixed $orientation = 'portrait'])
void alink (mixed $info, mixed $internal)
void execTemplate (mixed $id, [mixed $data = array()], [mixed $options = array()])
void ezColumnsStart ([mixed $options = array()])
void ezColumnsStop ()
void ezImage (mixed $image, [mixed $pad = 5], mixed $width, [mixed $resize = 'full'], [mixed $just = 'center'], [mixed $border = ''])
void ezInsertMode ([mixed $status = 1], [mixed $pageNum = 1], [mixed $pos = 'before'])
void ezNewPage ()
void ezOutput (mixed $options)
void ezProcessText (mixed $text)
void ezPRVTcleanUp ()
void ezPrvtGetTextWidth (mixed $size, mixed $text)
void ezPRVTpageNumberSearch (mixed $lbl, mixed &$tmp)
void ezPrvtTableColumnHeadings (mixed $cols, mixed $pos, mixed $maxWidth, mixed $height, mixed $decender, mixed $gap, mixed $size, mixed &$y, [mixed $optionsAll = array()])
void ezPrvtTableDrawLines (mixed $pos, mixed $gap, mixed $x0, mixed $x1, mixed $y0, mixed $y1, mixed $y2, mixed $col, mixed $inner, mixed $outer, [mixed $opt = 1])
void ezSetCmMargins (mixed $top, mixed $bottom, mixed $left, mixed $right)
void ezSetDy (mixed $dy, [mixed $mod = ''])
void ezSetMargins (mixed $top, mixed $bottom, mixed $left, mixed $right)
void ezSetY (mixed $y)
void ezStartPageNumbers (mixed $x, mixed $y, mixed $size, [mixed $pos = 'left'], [mixed $pattern = '{PAGENUM} of {TOTALPAGENUM}'], [mixed $num = ''])
void ezStopPageNumbers (mixed $stopTotal, mixed $next, mixed $i)
void ezStream ([mixed $options = ''])
void ezTable (mixed &$data, [mixed $cols = ''], [mixed $title = ''], [mixed $options = ''])
void ezText (mixed $text, mixed $size, [mixed $options = array()], mixed $test)
void ezWhatPageNumber (mixed $pageNum, mixed $i)
void ilink (mixed $info)
void loadTemplate (mixed $templateFile)
void uline (mixed $info)
Variables
Methods
Constructor Cezpdf (line 28)
Cezpdf Cezpdf ([mixed $paper = 'a4'], [mixed $orientation = 'portrait'])
alink (line 1473)
void alink (mixed $info, mixed $internal)
execTemplate (line 1460)
void execTemplate (mixed $id, [mixed $data = array()], [mixed $options = array()])
ezColumnsStart (line 144)
void ezColumnsStart ([mixed $options = array()])
ezColumnsStop (line 177)
void ezColumnsStop ()
ezGetCurrentPageNumber (line 266)
void ezGetCurrentPageNumber ()
ezImage (line 1301)
void ezImage (mixed $image, [mixed $pad = 5], mixed $width, [mixed $resize = 'full'], [mixed $just = 'center'], [mixed $border = ''])
ezInsertMode (line 187)
void ezInsertMode ([mixed $status = 1], [mixed $pageNum = 1], [mixed $pos = 'before'])
ezNewPage (line 204)
void ezNewPage ()
ezOutput (line 461)
void ezOutput (mixed $options)
ezProcessText (line 1195)
void ezProcessText (mixed $text)
ezPRVTaddPageNumbers (line 377)
void ezPRVTaddPageNumbers ()
ezPRVTcleanUp (line 448)
void ezPRVTcleanUp ()
ezPrvtGetTextWidth (line 591)
void ezPrvtGetTextWidth (mixed $size, mixed $text)
ezPRVTpageNumberSearch (line 360)
void ezPRVTpageNumberSearch (mixed $lbl, mixed &$tmp)
ezPrvtTableColumnHeadings (line 526)
void ezPrvtTableColumnHeadings (mixed $cols, mixed $pos, mixed $maxWidth, mixed $height, mixed $decender, mixed $gap, mixed $size, mixed &$y, [mixed $optionsAll = array()])
ezPrvtTableDrawLines (line 497)
void ezPrvtTableDrawLines (mixed $pos, mixed $gap, mixed $x0, mixed $x1, mixed $y0, mixed $y1, mixed $y2, mixed $col, mixed $inner, mixed $outer, [mixed $opt = 1])
ezSetCmMargins (line 134)
void ezSetCmMargins (mixed $top, mixed $bottom, mixed $left, mixed $right)
ezSetDy (line 479)
void ezSetDy (mixed $dy, [mixed $mod = ''])
ezSetMargins (line 246)
void ezSetMargins (mixed $top, mixed $bottom, mixed $left, mixed $right)
ezSetY (line 468)
void ezSetY (mixed $y)
ezStartPageNumbers (line 273)
void ezStartPageNumbers (mixed $x, mixed $y, mixed $size, [mixed $pos = 'left'], [mixed $pattern = '{PAGENUM} of {TOTALPAGENUM}'], [mixed $num = ''])
ezStopPageNumbers (line 331)
void ezStopPageNumbers (mixed $stopTotal, mixed $next, mixed $i)
ezStream (line 454)
void ezStream ([mixed $options = ''])
ezTable (line 607)
void ezTable (mixed &$data, [mixed $cols = ''], [mixed $title = ''], [mixed $options = ''])
ezText (line 1205)
void ezText (mixed $text, mixed $size, [mixed $options = array()], mixed $test)
ezWhatPageNumber (line 299)
void ezWhatPageNumber (mixed $pageNum, mixed $i)
ilink (line 1469)
void ilink (mixed $info)
loadTemplate (line 1423)
void loadTemplate (mixed $templateFile)
uline (line 1518)
void uline (mixed $info)

Inherited Methods

Inherited From Cpdf

Cpdf::Cpdf()
Cpdf::addDestination()
Cpdf::addImage()
Cpdf::addInfo()
Cpdf::addInternalLink()
Cpdf::addJpegFromFile()
Cpdf::addLink()
Cpdf::addMessage()
Cpdf::addObject()
Cpdf::addPngFromFile()
Cpdf::addText()
Cpdf::addTextWrap()
Cpdf::ARC4()
Cpdf::ARC4_init()
Cpdf::checkAllHere()
Cpdf::closeObject()
Cpdf::curve()
Cpdf::ellipse()
Cpdf::encryptInit()
Cpdf::filledEllipse()
Cpdf::filledRectangle()
Cpdf::getFirstPageId()
Cpdf::getFontDecender()
Cpdf::getFontHeight()
Cpdf::getTextWidth()
Cpdf::line()
Cpdf::md5_16()
Cpdf::newPage()
Cpdf::openHere()
Cpdf::openObject()
Cpdf::output()
Cpdf::o_action()
Cpdf::o_annotation()
Cpdf::o_catalog()
Cpdf::o_contents()
Cpdf::o_destination()
Cpdf::o_encryption()
Cpdf::o_font()
Cpdf::o_fontDescriptor()
Cpdf::o_fontEncoding()
Cpdf::o_image()
Cpdf::o_info()
Cpdf::o_outlines()
Cpdf::o_page()
Cpdf::o_pages()
Cpdf::o_procset()
Cpdf::o_viewerPreferences()
Cpdf::partEllipse()
Cpdf::polygon()
Cpdf::rectangle()
Cpdf::reopenObject()
Cpdf::restoreState()
Cpdf::saveState()
Cpdf::selectFont()
Cpdf::setColor()
Cpdf::setEncryption()
Cpdf::setFontFamily()
Cpdf::setLineStyle()
Cpdf::setPreferences()
Cpdf::setStrokeColor()
Cpdf::stopObject()
Cpdf::stream()
Cpdf::transaction()

Documentation generated on Tue, 29 Mar 2005 12:37:30 +0200 by phpDocumentor 1.3.0RC3