Logo Search packages:      
Sourcecode: acidbase version File versions  Download package

Public Member Functions | Public Attributes

Cpdf Class Reference

Inheritance diagram for Cpdf:
Inheritance graph

List of all members.

Public Member Functions

 addContent ($content)
 addDestination ($label, $style, $a=0, $b=0, $c=0)
 addImage (&$img, $x, $y, $w=0, $h=0, $quality=75)
 addInfo ($label, $value=0)
 addInternalLink ($label, $x0, $y0, $x1, $y1)
 addJpegFromFile ($img, $x, $y, $w=0, $h=0)
 addJpegImage_common (&$data, $x, $y, $w=0, $h=0, $imageWidth, $imageHeight, $channels=3)
 addLink ($url, $x0, $y0, $x1, $y1)
 addMessage ($message)
 addObject ($id, $options='add')
 addPngFromFile ($file, $x, $y, $w=0, $h=0)
 addText ($x, $y, $size, $text, $angle=0, $wordSpaceAdjust=0)
 addTextWrap ($x, $y, $width, $size, $text, $justification='left', $angle=0, $test=0)
 ARC4 ($text)
 ARC4_init ($key='')
 checkAllHere ()
 closeObject ()
 Cpdf ($pageSize=array(0, 0, 612, 792))
 curve ($x0, $y0, $x1, $y1, $x2, $y2, $x3, $y3)
 ellipse ($x0, $y0, $r1, $r2=0, $angle=0, $nSeg=8, $astart=0, $afinish=360, $close=1, $fill=0)
 encryptInit ($id)
 filledEllipse ($x0, $y0, $r1, $r2=0, $angle=0, $nSeg=8, $astart=0, $afinish=360)
 filledRectangle ($x1, $y1, $width, $height)
 filterText ($text)
 getFirstPageId ()
 getFontDecender ($size)
 getFontHeight ($size)
 getTextWidth ($size, $text)
 line ($x1, $y1, $x2, $y2)
 md5_16 ($string)
 newDocument ($pageSize=array(0, 0, 612, 792))
 newPage ($insert=0, $id=0, $pos='after')
 o_action ($id, $action, $options='')
 o_annotation ($id, $action, $options='')
 o_catalog ($id, $action, $options='')
 o_contents ($id, $action, $options='')
 o_destination ($id, $action, $options='')
 o_encryption ($id, $action, $options='')
 o_font ($id, $action, $options='')
 o_fontDescriptor ($id, $action, $options='')
 o_fontEncoding ($id, $action, $options='')
 o_image ($id, $action, $options='')
 o_info ($id, $action, $options='')
 o_outlines ($id, $action, $options='')
 o_page ($id, $action, $options='')
 o_pages ($id, $action, $options='')
 o_procset ($id, $action, $options='')
 o_viewerPreferences ($id, $action, $options='')
 openFont ($font)
 openHere ($style, $a=0, $b=0, $c=0)
 openObject ()
 output ($debug=0)
 partEllipse ($x0, $y0, $astart, $afinish, $r1, $r2=0, $angle=0, $nSeg=8)
 polygon ($p, $np, $f=0)
 PRVT_getBytes (&$data, $pos, $num)
 PRVTadjustWrapText ($text, $actual, $width, &$x, &$adjust, $justification)
 PRVTcheckTextDirective (&$text, $i, &$f)
 PRVTcheckTextDirective1 (&$text, $i, &$f, $final, &$x, &$y, $size=0, $angle=0, $wordSpaceAdjust=0)
 PRVTgetTextPosition ($x, $y, $angle, $size, $wa, $text)
 rectangle ($x1, $y1, $width, $height)
 reopenObject ($id)
 restoreState ($pageEnd=0)
 saveState ($pageEnd=0)
 selectFont ($fontName, $encoding='', $set=1)
 setColor ($r, $g, $b, $force=0)
 setCurrentFont ()
 setEncryption ($userPass='', $ownerPass='', $pc=array())
 setFontFamily ($family, $options='')
 setLineStyle ($width=1, $cap='', $join='', $dash='', $phase=0)
 setPreferences ($label, $value=0)
 setStrokeColor ($r, $g, $b, $force=0)
 stopObject ($id)
 stream ($options='')
 transaction ($action)

Public Attributes

 $addLooseObjects = array()
 $arc4 = ''
 $arc4_objnum = 0
 $callback = array()
 $checkpoint = ''
 $currentBaseFont = ''
 $currentColour = array('r'=>-1,'g'=>-1,'b'=>-1)
 $currentFont = ''
 $currentFontNum = 0
 $currentLineStyle = ''
 $currentStrokeColour = array('r'=>-1,'g'=>-1,'b'=>-1)
 $currentTextState = ''
 $destinations = array()
 $encrypted = 0
 $encryptionKey = ''
 $fileIdentifier = ''
 $fontFamilies = array()
 $fonts = array()
 $infoObject = 0
 $looseObjects = array()
 $messages = ''
 $nCallback = 0
 $nStack = 0
 $nStateStack = 0
 $numFonts = 0
 $numImages = 0
 $numObj = 0
 $numPages = 0
 $objects = array()
 $options = array('compression'=>1)
 $stack = array()
 $stateStack = array()
 $wordSpaceAdjust = 0

Detailed Description

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

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

Generated by  Doxygen 1.6.0   Back to index