eZ Publish  [trunk]
Cezpdf Class Reference

Cezpdf provides. More...

+ Inheritance diagram for Cezpdf:
+ Collaboration diagram for Cezpdf:

List of all members.

Public Member Functions

 alink ($info, $internal=0)
 Cezpdf ($paper= 'a4', $orientation= 'portrait')
 execTemplate ($id, $data=array(), $options=array())
 ezColumnsStart ($options=array())
 ezColumnsStop ()
 ezGetCurrentPageNumber ()
 eZGetMaxWordWidth ($size, $text)
 ezImage ($image, $pad=5, $width=0, $resize= 'full', $just= 'center', $border= '')
 ezInsertMode ($status=1, $pageNum=1, $pos= 'before')
 ezNewPage ()
 ezOutput ($options=0)
 ezProcessText ($text)
 ezPRVTaddPageNumbers ()
 ezPRVTcleanUp ()
 ezPrvtGetTextWidth ($size, $text)
 ezPRVTpageNumberSearch ($lbl, &$tmp)
 ezPrvtTableColumnHeadings ($cols, $pos, $maxWidth, $height, $decender, $gap, $size, &$y, $optionsAll=array())
 ezPrvtTableDrawLines ($pos, $gap, $x0, $x1, $y0, $y1, $y2, $col, $inner, $outer, $opt=1)
 ezSetCmMargins ($top, $bottom, $left, $right)
 ezSetDy ($dy, $mod= '')
 ezSetMargins ($top, $bottom, $left, $right)
 ezSetY ($y)
 ezShadedRectangle ($x1, $y1, $width, $height, $col1, $col2, $direction= 'vertical')
 Draw a shaded rectangle.
 ezStartPageNumbers ($x, $y, $size, $pos= 'left', $pattern= '{PAGENUM}of{TOTALPAGENUM}', $num= '')
 ezStopPageNumbers ($stopTotal=0, $next=0, $i=0)
 ezStream ($options= '')
 ezText ($text, $size=0, $options=array(), $test=0)
 ezWhatPageNumber ($pageNum, $i=0)
 fontSize ()
 ilink ($info)
 justification ()
 leftMargin ($yOffset=false)
 lineHeight ($options=array())
 Get current line height.
 loadTemplate ($templateFile)
 rightMargin ($yOffset=false)
 setFontSize ($size)
 setJustification ($align)
 setLimitedLeftMargin ($startY, $stopY, $leftMargin)
 setLimitedRightMargin ($startY, $stopY, $rightMargin)
 strike ($info)
 uline ($info)

Public Attributes

 $ez = array('fontSize'=>10)
 $ezPageCount = 0
 $ezPages = array()
 $LeftMarginArray = array()
 $RightMarginArray = array()
 $y

Detailed Description

Cezpdf provides.

Definition at line 17 of file class.ezpdf.php.


Member Function Documentation

Cezpdf::alink ( info,
internal = 0 
)

Definition at line 1212 of file class.ezpdf.php.

Referenced by ilink().

Cezpdf::Cezpdf ( paper = 'a4',
orientation = 'portrait' 
)

Definition at line 27 of file class.ezpdf.php.

Referenced by eZPDFTable\eZPDFTable().

Cezpdf::execTemplate ( id,
data = array(),
options = array() 
)

Definition at line 1196 of file class.ezpdf.php.

Cezpdf::ezColumnsStart ( options = array())

Definition at line 194 of file class.ezpdf.php.

Referenced by eZPDFTable\callIndex().

Definition at line 228 of file class.ezpdf.php.

Referenced by eZPDFTable\callIndex().

Cezpdf::eZGetMaxWordWidth ( size,
text 
)

Get maximum length of single word in sentence.

Parameters:
fontsize
text( sentence )
Returns:
maximum word width

Definition at line 762 of file class.ezpdf.php.

Referenced by eZPDFTable\ezTable().

Cezpdf::ezImage ( image,
pad = 5,
width = 0,
resize = 'full',
just = 'center',
border = '' 
)

Definition at line 1020 of file class.ezpdf.php.

Cezpdf::ezInsertMode ( status = 1,
pageNum = 1,
pos = 'before' 
)

Definition at line 240 of file class.ezpdf.php.

Referenced by eZPDFTable\insertFrontpage(), and eZPDFTable\insertTOC().

Cezpdf::ezOutput ( options = 0)

Definition at line 592 of file class.ezpdf.php.

Cezpdf::ezProcessText ( text)

Definition at line 820 of file class.ezpdf.php.

Referenced by eZPDFTable\ezTable(), and ezText().

Definition at line 483 of file class.ezpdf.php.

Referenced by ezPRVTcleanUp().

Definition at line 577 of file class.ezpdf.php.

Referenced by ezOutput(), and ezStream().

Cezpdf::ezPrvtGetTextWidth ( size,
text 
)

Definition at line 778 of file class.ezpdf.php.

Referenced by eZPDFTable\ezTable().

Cezpdf::ezPRVTpageNumberSearch ( lbl,
&$  tmp 
)

Definition at line 459 of file class.ezpdf.php.

Referenced by ezPRVTaddPageNumbers().

Cezpdf::ezPrvtTableColumnHeadings ( cols,
pos,
maxWidth,
height,
decender,
gap,
size,
&$  y,
optionsAll = array() 
)

Definition at line 677 of file class.ezpdf.php.

Referenced by eZPDFTable\ezTable().

Cezpdf::ezPrvtTableDrawLines ( pos,
gap,
x0,
x1,
y0,
y1,
y2,
col,
inner,
outer,
opt = 1 
)

Reimplemented in eZPDFTable.

Definition at line 636 of file class.ezpdf.php.

Cezpdf::ezSetCmMargins ( top,
bottom,
left,
right 
)

Definition at line 147 of file class.ezpdf.php.

Cezpdf::ezSetDy ( dy,
mod = '' 
)

Definition at line 614 of file class.ezpdf.php.

Cezpdf::ezSetMargins ( top,
bottom,
left,
right 
)

Definition at line 315 of file class.ezpdf.php.

Referenced by ezSetCmMargins().

Cezpdf::ezSetY ( y)

Definition at line 600 of file class.ezpdf.php.

Referenced by ezPrvtTableColumnHeadings(), ezSetMargins(), and eZPDFTable\ezTable().

Cezpdf::ezShadedRectangle ( x1,
y1,
width,
height,
col1,
col2,
direction = 'vertical' 
)

Draw a shaded rectangle.

direction is optional and set to vertical by default

Parameters:
x1
y1
width
height
col1
col2
direction('vertical', 'horizontal', or angle)

Definition at line 808 of file class.ezpdf.php.

Referenced by eZPDFTable\callFilledRectangle().

Cezpdf::ezStartPageNumbers ( x,
y,
size,
pos = 'left' 
)

Definition at line 348 of file class.ezpdf.php.

Cezpdf::ezStopPageNumbers ( stopTotal = 0,
next = 0,
i = 0 
)

Definition at line 417 of file class.ezpdf.php.

Referenced by eZPDFTable\insertTOC().

Cezpdf::ezStream ( options = '')

Definition at line 584 of file class.ezpdf.php.

Cezpdf::ezText ( text,
size = 0,
options = array(),
test = 0 
)

Reimplemented in eZPDFTable.

Definition at line 831 of file class.ezpdf.php.

Cezpdf::ezWhatPageNumber ( pageNum,
i = 0 
)

Reimplemented in eZPDFTable.

Definition at line 378 of file class.ezpdf.php.

Cezpdf::ilink ( info)

Definition at line 1207 of file class.ezpdf.php.

Definition at line 178 of file class.ezpdf.php.

Referenced by eZPDFTable\ezInsertFrame(), and eZPDFTable\pushStack().

Cezpdf::leftMargin ( yOffset = false)

Get left margin, page offset

Parameters:
yoffset ( optional )
Returns:
left margin

Definition at line 1417 of file class.ezpdf.php.

Referenced by eZPDFTable\callFrameLine(), eZPDFTable\callImage(), eZPDFTable\dots(), ezImage(), eZPDFTable\ezTable(), ezText(), and eZPDFTable\xOffset().

Cezpdf::lineHeight ( options = array())

Get current line height.

Definition at line 1359 of file class.ezpdf.php.

Referenced by eZPDFTable\callImage().

Cezpdf::loadTemplate ( templateFile)

Definition at line 1151 of file class.ezpdf.php.

Cezpdf::rightMargin ( yOffset = false)

Get right margin, page offset

Parameters:
yoffset ( optional )
Returns:
right margin

Definition at line 1392 of file class.ezpdf.php.

Referenced by eZPDFTable\callFrameLine(), eZPDFTable\callImage(), eZPDFTable\dots(), eZPDFTable\ezTable(), ezText(), and eZPDFTable\setXOffset().

Definition at line 169 of file class.ezpdf.php.

Referenced by eZPDFTable\popStack().

Cezpdf::setLimitedLeftMargin ( startY,
stopY,
leftMargin 
)

Set left margin for limited range

Parameters:
ystart
ystop
newleft margin

Definition at line 1446 of file class.ezpdf.php.

Referenced by eZPDFTable\callImage().

Cezpdf::setLimitedRightMargin ( startY,
stopY,
rightMargin 
)

Set right margin for limited range

Parameters:
ystart
ystop
newright margin

Definition at line 1460 of file class.ezpdf.php.

Referenced by eZPDFTable\callImage().

Cezpdf::strike ( info)

Definition at line 1315 of file class.ezpdf.php.

Cezpdf::uline ( info)

Definition at line 1270 of file class.ezpdf.php.


Member Data Documentation

Cezpdf::$ez = array('fontSize'=>10)

Definition at line 20 of file class.ezpdf.php.

Cezpdf::$ezPageCount = 0

Definition at line 23 of file class.ezpdf.php.

Cezpdf::$ezPages = array()

Definition at line 22 of file class.ezpdf.php.

Cezpdf::$LeftMarginArray = array()

Definition at line 1467 of file class.ezpdf.php.

Cezpdf::$RightMarginArray = array()

Definition at line 1468 of file class.ezpdf.php.

Cezpdf::$y

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