Class Cezpdf

Description

This class will take the basic interaction facilities of the Cpdf class and make more useful functions so that the user does not have to know all the ins and outs of pdf presentation to produce something pretty.

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

  • author: Wayne Munro, R&OS Ltd, http://www.ros.co.nz/pdf
  • version: 009 (versioning is linked to class.pdf.php) released under a public domain licence.

Located in /phpDocumentor/Converters/PDF/default/class.ezpdf.php (line 23)

Cpdf
   |
   --Cezpdf
Direct descendents
Class Description
phpdocpdf
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 46)
Cezpdf Cezpdf ([ $paper = 'a4'], [ $orientation = 'portrait'])
  • $paper
  • $orientation
alink (line 1491)
void alink ( $info, [ $internal = 0])
  • $info
  • $internal
execTemplate (line 1478)
void execTemplate ( $id, [ $data = array()], [ $options = array()])
  • $id
  • $data
  • $options
ezColumnsStart (line 162)
void ezColumnsStart ([ $options = array()])
  • $options
ezColumnsStop (line 195)
void ezColumnsStop ()
ezGetCurrentPageNumber (line 284)
void ezGetCurrentPageNumber ()
ezImage (line 1319)
void ezImage ( $image, [ $pad = 5], [ $width = 0], [ $resize = 'full'], [ $just = 'center'], [ $border = ''])
  • $image
  • $pad
  • $width
  • $resize
  • $just
  • $border
ezInsertMode (line 205)
void ezInsertMode ([ $status = 1], [ $pageNum = 1], [ $pos = 'before'])
  • $status
  • $pageNum
  • $pos
ezNewPage (line 222)
void ezNewPage ()

Redefined in descendants as:
ezOutput (line 479)
void ezOutput ([ $options = 0])
  • $options

Redefined in descendants as:
ezProcessText (line 1213)
void ezProcessText ( $text)
  • $text

Redefined in descendants as:
ezPRVTaddPageNumbers (line 395)
void ezPRVTaddPageNumbers ()
ezPRVTcleanUp (line 466)
void ezPRVTcleanUp ()
ezPrvtGetTextWidth (line 609)
void ezPrvtGetTextWidth ( $size,  $text)
  • $size
  • $text
ezPRVTpageNumberSearch (line 378)
void ezPRVTpageNumberSearch ( $lbl,  &$tmp)
  • $lbl
  • &$tmp
ezPrvtTableColumnHeadings (line 544)
void ezPrvtTableColumnHeadings ( $cols,  $pos,  $maxWidth,  $height,  $decender,  $gap,  $size,  &$y, [ $optionsAll = array()])
  • $cols
  • $pos
  • $maxWidth
  • $height
  • $decender
  • $gap
  • $size
  • &$y
  • $optionsAll
ezPrvtTableDrawLines (line 515)
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 152)
void ezSetCmMargins ( $top,  $bottom,  $left,  $right)
  • $top
  • $bottom
  • $left
  • $right
ezSetDy (line 497)
void ezSetDy ( $dy, [ $mod = ''])
  • $dy
  • $mod
ezSetMargins (line 264)
void ezSetMargins ( $top,  $bottom,  $left,  $right)
  • $top
  • $bottom
  • $left
  • $right
ezSetY (line 486)
void ezSetY ( $y)
  • $y
ezStartPageNumbers (line 291)
void ezStartPageNumbers ( $x,  $y,  $size, [ $pos = 'left'], [ $pattern = '{PAGENUM} of {TOTALPAGENUM}'], [ $num = ''])
  • $x
  • $y
  • $size
  • $pos
  • $pattern
  • $num
ezStopPageNumbers (line 349)
void ezStopPageNumbers ([ $stopTotal = 0], [ $next = 0], [ $i = 0])
  • $stopTotal
  • $next
  • $i
ezStream (line 472)
void ezStream ([ $options = ''])
  • $options
ezTable (line 625)
void ezTable ( &$data, [ $cols = ''], [ $title = ''], [ $options = ''])
  • &$data
  • $cols
  • $title
  • $options
ezText (line 1223)
void ezText ( $text, [ $size = 0], [ $options = array()], [ $test = 0])
  • $text
  • $size
  • $options
  • $test

Redefined in descendants as:
ezWhatPageNumber (line 317)
void ezWhatPageNumber ( $pageNum, [ $i = 0])
  • $pageNum
  • $i
ilink (line 1487)
void ilink ( $info)
  • $info
loadTemplate (line 1441)
void loadTemplate ( $templateFile)
  • $templateFile
uline (line 1534)
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::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 Sat, 05 Sep 2009 16:12:18 -0500 by phpDocumentor 1.4.3