Class Cezpdf

Description

Cpdf

http://www.ros.co.nz/pdf, http://sourceforge.net/projects/pdf-php/

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 /lib/pdf/class.ezpdf.php (line 5)

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