eZ Publish  [4.2]
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 39 of file class.ezpdf.php.


Member Function Documentation

Cezpdf::alink ( info,
internal = 0 
)

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

Referenced by ilink().

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

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

Referenced by eZPDFTable\eZPDFTable().

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

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

Cezpdf::ezColumnsStart ( options = array())

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

Referenced by eZPDFTable\callIndex().

Cezpdf::ezColumnsStop ( )

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

Referenced by eZPDFTable\callIndex().

Cezpdf::ezGetCurrentPageNumber ( )
Cezpdf::eZGetMaxWordWidth ( size,
text 
)

Get maximum length of single word in sentence.

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

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

Referenced by eZPDFTable\ezTable().

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

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

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

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

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

Cezpdf::ezOutput ( options = 0)

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

Cezpdf::ezProcessText ( text)

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

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

Cezpdf::ezPRVTaddPageNumbers ( )

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

Referenced by ezPRVTcleanUp().

Cezpdf::ezPRVTcleanUp ( )

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

Referenced by ezOutput(), and ezStream().

Cezpdf::ezPrvtGetTextWidth ( size,
text 
)

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

Referenced by eZPDFTable\ezTable().

Cezpdf::ezPRVTpageNumberSearch ( lbl,
&$  tmp 
)

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

Referenced by ezPRVTaddPageNumbers().

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

Definition at line 699 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 658 of file class.ezpdf.php.

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

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

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

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

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

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

Referenced by ezSetCmMargins().

Cezpdf::ezSetY ( y)

Definition at line 622 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 830 of file class.ezpdf.php.

Referenced by eZPDFTable\callFilledRectangle().

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

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

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

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

Referenced by eZPDFTable\insertTOC().

Cezpdf::ezStream ( options = '')

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

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

Reimplemented in eZPDFTable.

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

Cezpdf::ezWhatPageNumber ( pageNum,
i = 0 
)

Reimplemented in eZPDFTable.

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

Cezpdf::ilink ( info)

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

Cezpdf::justification ( )

Definition at line 200 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 1439 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 1381 of file class.ezpdf.php.

Referenced by eZPDFTable\callImage().

Cezpdf::loadTemplate ( templateFile)

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

Cezpdf::rightMargin ( yOffset = false)

Get right margin, page offset

Parameters:
yoffset ( optional )
Returns:
right margin

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

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

Cezpdf::setJustification ( align)

Definition at line 191 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 1468 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 1482 of file class.ezpdf.php.

Referenced by eZPDFTable\callImage().

Cezpdf::strike ( info)

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

Cezpdf::uline ( info)

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


Member Data Documentation

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

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

Cezpdf::$ezPageCount = 0

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

Cezpdf::$ezPages = array()

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

Cezpdf::$LeftMarginArray = array()

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

Cezpdf::$RightMarginArray = array()

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

Cezpdf::$y

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