MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe Cpdf
Diagrama de heranças da classe Cpdf
MCpdf

Membros públicos

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

Campos de Dados

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

Descrição detalhada

Definido na linha 29 do ficheiro class.pdf.php.

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $pageSize = array(0, 0, 612, 792))

Definido na linha 221 do ficheiro class.pdf.php.

Documentação das funções

◆ addContent()

addContent ( $content)

add content to the currently active object

@access private

Definido na linha 2382 do ficheiro class.pdf.php.

◆ addDestination()

addDestination ( $label,
$style,
$a = 0,
$b = 0,
$c = 0 )

create a labelled destination within the document

Definido na linha 4271 do ficheiro class.pdf.php.

◆ addImage()

addImage ( & $img,
$x,
$y,
$w = 0,
$h = 0,
$quality = 75 )

add an image into the document, from a GD object this function is not all that reliable, and I would probably encourage people to use the file based functions

Definido na linha 4149 do ficheiro class.pdf.php.

◆ addInfo()

addInfo ( $label,
$value = 0 )

add content to the documents info object

Definido na linha 3773 do ficheiro class.pdf.php.

◆ addInternalLink()

addInternalLink ( $label,
$x0,
$y0,
$x1,
$y1 )

add a link in the document to an internal destination (ie. within the document)

Definido na linha 1720 do ficheiro class.pdf.php.

◆ addJpegFromFile()

addJpegFromFile ( $img,
$x,
$y,
$w = 0,
$h = 0 )

add a JPEG image into the document, from a file

Definido na linha 4097 do ficheiro class.pdf.php.

◆ addJpegImage_common()

addJpegImage_common ( & $data,
$x,
$y,
$w = 0,
$h = 0,
$imageWidth,
$imageHeight,
$channels = 3 )

common code used by the two JPEG adding functions

@access private

Definido na linha 4223 do ficheiro class.pdf.php.

◆ addLink()

addLink ( $url,
$x0,
$y0,
$x1,
$y1 )

functions which can be called to adjust or add to the document add a link in the document to an external URL

Definido na linha 1704 do ficheiro class.pdf.php.

◆ addMessage()

addMessage ( $message)

used to add messages for use in debugging

Definido na linha 4337 do ficheiro class.pdf.php.

◆ addObject()

addObject ( $id,
$options = 'add' )

after an object has been created, it wil only show if it has been added, using this function.

Definido na linha 3705 do ficheiro class.pdf.php.

◆ addPngFromFile()

addPngFromFile ( $file,
$x,
$y,
$w = 0,
$h = 0 )

add a PNG image into the document, from a file this should work with remote files

Definido na linha 3834 do ficheiro class.pdf.php.

◆ addText()

addText ( $x,
$y,
$size,
$text,
$angle = 0,
$wordSpaceAdjust = 0 )

add text to the document, at a specified location, size and angle on the page

Definido na linha 3138 do ficheiro class.pdf.php.

◆ addTextWrap()

addTextWrap ( $x,
$y,
$width,
$size,
$text,
$justification = 'left',
$angle = 0,
$test = 0 )

add text to the page, but ensure that it fits within a certain width if it does not fit then put in as much as possible, splitting at word boundaries and return the remainder. justification and angle can also be specified for the text

Definido na linha 3413 do ficheiro class.pdf.php.

◆ ARC4()

ARC4 ( $text)

ARC4 encrypt a text string

Definido na linha 1675 do ficheiro class.pdf.php.

◆ ARC4_init()

ARC4_init ( $key = '')

initialize the ARC4 encryption

Definido na linha 1637 do ficheiro class.pdf.php.

◆ checkAllHere()

checkAllHere ( )

should be used for internal checks, not implemented as yet

Definido na linha 1781 do ficheiro class.pdf.php.

◆ closeObject()

closeObject ( )

close an object

Definido na linha 3675 do ficheiro class.pdf.php.

◆ Cpdf()

Cpdf ( $pageSize = array(0, 0, 612, 792))

Definido na linha 216 do ficheiro class.pdf.php.

◆ curve()

curve ( $x0,
$y0,
$x1,
$y1,
$x2,
$y2,
$x3,
$y3 )

draw a bezier curve based on 4 control points

Definido na linha 2444 do ficheiro class.pdf.php.

◆ ellipse()

ellipse ( $x0,
$y0,
$r1,
$r2 = 0,
$angle = 0,
$nSeg = 8,
$astart = 0,
$afinish = 360,
$close = 1,
$fill = 0 )

draw an ellipse note that the part and filled ellipse are just special cases of this function

draws an ellipse in the current line style centered at $x0,$y0, radii $r1,$r2 if $r2 is not set, then a circle is drawn nSeg is not allowed to be less than 2, as this will simply draw a line (and will even draw a pretty crappy shape at 2, as we are approximating with bezier curves.

Definido na linha 2485 do ficheiro class.pdf.php.

◆ encryptInit()

encryptInit ( $id)

initialize the encryption for processing a particular object

Definido na linha 1617 do ficheiro class.pdf.php.

◆ filledEllipse()

filledEllipse ( $x0,
$y0,
$r1,
$r2 = 0,
$angle = 0,
$nSeg = 8,
$astart = 0,
$afinish = 360 )

draw a filled ellipse

Definido na linha 2470 do ficheiro class.pdf.php.

◆ filledRectangle()

filledRectangle ( $x1,
$y1,
$width,
$height )

a filled rectangle, note that it is the width and height of the rectangle which are the secondary paramaters, not the coordinates of the upper-right corner

Definido na linha 2676 do ficheiro class.pdf.php.

◆ filterText()

filterText ( $text)

filter the text, this is applied to all text just before being inserted into the pdf document it escapes the various things that need to be escaped, and so on

@access private

Definido na linha 2849 do ficheiro class.pdf.php.

◆ getFirstPageId()

getFirstPageId ( )

function for the user to find out what the ID is of the first page that was created during startup - useful if they wish to add something to it later.

Definido na linha 2372 do ficheiro class.pdf.php.

◆ getFontDecender()

getFontDecender ( $size)

return the font decender, this will normally return a negative number if you add this number to the baseline, you get the level of the bottom of the font it is in the pdf user units

Definido na linha 2831 do ficheiro class.pdf.php.

◆ getFontHeight()

getFontHeight ( $size)

return the height in units of the current font in the given size

Definido na linha 2814 do ficheiro class.pdf.php.

◆ getTextWidth()

getTextWidth ( $size,
$text )

calculate how wide a given text string will be on a page, at a given size. this can be called externally, but is alse used by the other class functions

Definido na linha 3300 do ficheiro class.pdf.php.

◆ line()

line ( $x1,
$y1,
$x2,
$y2 )

draw a line from one set of coordinates to another

Definido na linha 2432 do ficheiro class.pdf.php.

◆ md5_16()

md5_16 ( $string)

ARC4 functions A series of function to implement ARC4 encoding in PHP calculate the 16 byte version of the 128 bit md5 digest of the string

Definido na linha 1601 do ficheiro class.pdf.php.

◆ newDocument()

newDocument ( $pageSize = array(0, 0, 612, 792))

intialize a new document if this is called on an existing document results may be unpredictable, but the existing document would be lost at minimum this function is called automatically by the constructor function

@access private

Definido na linha 1852 do ficheiro class.pdf.php.

◆ newPage()

newPage ( $insert = 0,
$id = 0,
$pos = 'after' )

add a new page to the document this also makes the new page the current active object

Definido na linha 2704 do ficheiro class.pdf.php.

◆ o_action()

o_action ( $id,
$action,
$options = '' )

an action object, used to link to URLS initially

Definido na linha 1035 do ficheiro class.pdf.php.

◆ o_annotation()

o_annotation ( $id,
$action,
$options = '' )

an annotation object, this will add an annotation to the current page. initially will support just link annotations

Definido na linha 1109 do ficheiro class.pdf.php.

◆ o_catalog()

o_catalog ( $id,
$action,
$options = '' )

define the document catalog, the overall controller for the document

Definido na linha 357 do ficheiro class.pdf.php.

◆ o_contents()

o_contents ( $id,
$action,
$options = '' )

the contents objects hold all of the content which appears on pages

Definido na linha 1300 do ficheiro class.pdf.php.

◆ o_destination()

o_destination ( $id,
$action,
$options = '' )

Document object methods (internal use only)

There is about one object method for each type of object in the pdf document Each function has the same call list ($id,$action,$options). $id = the object ID of the object, or what it is to be if it is being created $action = a string specifying the action to be performed, though ALL must support: 'new' - create the object with the id $id 'out' - produce the output for the pdf object $options = optional, a string or array containing the various parameters for the object

These, in conjunction with the output function are the ONLY way for output to be produced within the pdf 'file'. destination object, used to specify the location for the user to jump to, presently on opening

Definido na linha 250 do ficheiro class.pdf.php.

◆ o_encryption()

o_encryption ( $id,
$action,
$options = '' )

encryption object.

Definido na linha 1498 do ficheiro class.pdf.php.

◆ o_font()

o_font ( $id,
$action,
$options = '' )

an object to hold the font description

Definido na linha 655 do ficheiro class.pdf.php.

◆ o_fontDescriptor()

o_fontDescriptor ( $id,
$action,
$options = '' )

a font descriptor, needed for including additional fonts

Definido na linha 781 do ficheiro class.pdf.php.

◆ o_fontEncoding()

o_fontEncoding ( $id,
$action,
$options = '' )

the font encoding

Definido na linha 856 do ficheiro class.pdf.php.

◆ o_image()

o_image ( $id,
$action,
$options = '' )

an image object, will be an XObject in the document, includes description and data

Definido na linha 1381 do ficheiro class.pdf.php.

◆ o_info()

o_info ( $id,
$action,
$options = '' )

define the document information

Definido na linha 967 do ficheiro class.pdf.php.

◆ o_outlines()

o_outlines ( $id,
$action,
$options = '' )

define the outlines in the doc, empty for now

Definido na linha 605 do ficheiro class.pdf.php.

◆ o_page()

o_page ( $id,
$action,
$options = '' )

a page object, it also creates a contents object to hold its contents

Definido na linha 1189 do ficheiro class.pdf.php.

◆ o_pages()

o_pages ( $id,
$action,
$options = '' )

object which is a parent to the pages in the document

Definido na linha 434 do ficheiro class.pdf.php.

◆ o_procset()

o_procset ( $id,
$action,
$options = '' )

the document procset, solves some problems with printing to old PS printers

Definido na linha 915 do ficheiro class.pdf.php.

◆ o_viewerPreferences()

o_viewerPreferences ( $id,
$action,
$options = '' )

set the viewer preferences

Definido na linha 301 do ficheiro class.pdf.php.

◆ openFont()

openFont ( $font)

open the font file and return a php structure containing it. first check if this one has been done before and saved in a form more suited to php note that if a php serialized version does not exist it will try and make one, but will require write access to the directory to do it... it is MUCH faster to have these serialized files.

@access private

Definido na linha 1893 do ficheiro class.pdf.php.

◆ openHere()

openHere ( $style,
$a = 0,
$b = 0,
$c = 0 )

specify where the document should open when it first starts

Definido na linha 4249 do ficheiro class.pdf.php.

◆ openObject()

openObject ( )

make a loose object, the output will go into this object, until it is closed, then will revert to the current one. this object will not appear until it is included within a page. the function will return the object number

Definido na linha 3633 do ficheiro class.pdf.php.

◆ output()

output ( $debug = 0)

return the pdf stream as a string returned from the function

Definido na linha 1788 do ficheiro class.pdf.php.

◆ partEllipse()

partEllipse ( $x0,
$y0,
$astart,
$afinish,
$r1,
$r2 = 0,
$angle = 0,
$nSeg = 8 )

draw a part of an ellipse

Definido na linha 2462 do ficheiro class.pdf.php.

◆ polygon()

polygon ( $p,
$np,
$f = 0 )

draw a polygon, the syntax for this is similar to the GD polygon command

Definido na linha 2649 do ficheiro class.pdf.php.

◆ PRVT_getBytes()

PRVT_getBytes ( & $data,
$pos,
$num )

extract an integer from a position in a byte stream

@access private

Definido na linha 3816 do ficheiro class.pdf.php.

◆ PRVTadjustWrapText()

PRVTadjustWrapText ( $text,
$actual,
$width,
& $x,
& $adjust,
$justification )

do a part of the calculation for sorting out the justification of the text

@access private

Definido na linha 3368 do ficheiro class.pdf.php.

◆ PRVTcheckTextDirective()

PRVTcheckTextDirective ( & $text,
$i,
& $f )

wrapper function for PRVTcheckTextDirective1

@access private

Definido na linha 2886 do ficheiro class.pdf.php.

◆ PRVTcheckTextDirective1()

PRVTcheckTextDirective1 ( & $text,
$i,
& $f,
$final,
& $x,
& $y,
$size = 0,
$angle = 0,
$wordSpaceAdjust = 0 )

checks if the text stream contains a control directive if so then makes some changes and returns the number of characters involved in the directive this has been re-worked to include everything neccesary to fins the current writing point, so that the location can be sent to the callback function if required if the directive does not require a font change, then $f should be set to 0

@access private

Definido na linha 2902 do ficheiro class.pdf.php.

◆ PRVTgetTextPosition()

PRVTgetTextPosition ( $x,
$y,
$angle,
$size,
$wa,
$text )

given a start position and information about how text is to be laid out, calculate where on the page the text will end

@access private

Definido na linha 2869 do ficheiro class.pdf.php.

◆ rectangle()

rectangle ( $x1,
$y1,
$width,
$height )

draw a rectangle, note that it is the width and height of the rectangle which are the secondary paramaters, not the coordinates of the upper-right corner

Definido na linha 2690 do ficheiro class.pdf.php.

◆ reopenObject()

reopenObject ( $id)

open an existing object for editing

Definido na linha 3654 do ficheiro class.pdf.php.

◆ restoreState()

restoreState ( $pageEnd = 0)

restore a previously saved state

Definido na linha 3611 do ficheiro class.pdf.php.

◆ saveState()

saveState ( $pageEnd = 0)

this will be called at a new page to return the state to what it was on the end of the previous page, before the stack was closed down This is to get around not being able to have open 'q' across pages

Definido na linha 3581 do ficheiro class.pdf.php.

◆ selectFont()

selectFont ( $fontName,
$encoding = '',
$set = 1 )

if the font is not loaded then load it and make the required object else just make it the current font the encoding array can contain 'encoding'=> 'none','WinAnsiEncoding','MacRomanEncoding' or 'MacExpertEncoding' note that encoding='none' will need to be used for symbolic fonts and 'differences' => an array of mappings between numbers 0->255 and character names.

Definido na linha 2051 do ficheiro class.pdf.php.

◆ setColor()

setColor ( $r,
$g,
$b,
$force = 0 )

sets the colour for fill operations

Definido na linha 2390 do ficheiro class.pdf.php.

◆ setCurrentFont()

setCurrentFont ( )

sets up the current font, based on the font families, and the current text state note that this system is quite flexible, a font can be completely different to a font, and even will have to be defined within the family to have meaning This function is to be called whenever the currentTextState is changed, it will update the currentFont setting to whatever the appropriatte family one is. If the user calls selectFont themselves then that will reset the currentBaseFont, and the currentFont This function will change the currentFont to whatever it should be, but will not change the currentBaseFont.

@access private

Definido na linha 2337 do ficheiro class.pdf.php.

◆ setEncryption()

setEncryption ( $userPass = '',
$ownerPass = '',
$pc = array(        ) )

set the encryption of the document can be used to turn it on and/or set the passwords which it will have. also the functions that the user will have are set here, such as print, modify, add

Definido na linha 1738 do ficheiro class.pdf.php.

◆ setFontFamily()

setFontFamily ( $family,
$options = '' )

define font families, this is used to initialize the font families for the default fonts and for the user to add new ones for their fonts. The default bahavious can be overridden should that be desired.

Definido na linha 4289 do ficheiro class.pdf.php.

◆ SetFontsPath()

SetFontsPath ( $path)

Definido na linha 4455 do ficheiro class.pdf.php.

◆ setLineStyle()

setLineStyle ( $width = 1,
$cap = '',
$join = '',
$dash = '',
$phase = 0 )

this sets the line drawing style. width, is the thickness of the line in user units cap is the type of cap to put on the line, values can be 'butt','round','square' where the diffference between 'square' and 'butt' is that 'square' projects a flat end past the end of the line. join can be 'miter', 'round', 'bevel' dash is an array which sets the dash pattern, is a series of length values, which are the lengths of the on and off dashes. (2) represents 2 on, 2 off, 2 on , 2 off ... (2,1) is 2 on, 1 off, 2 on, 1 off.. etc phase is a modifier on the dash pattern which is used to shift the point at which the pattern starts.

Definido na linha 2595 do ficheiro class.pdf.php.

◆ setPreferences()

setPreferences ( $label,
$value = 0 )

set the viewer preferences of the document, it is up to the browser to obey these.

Definido na linha 3795 do ficheiro class.pdf.php.

◆ setStrokeColor()

setStrokeColor ( $r,
$g,
$b,
$force = 0 )

sets the colour for stroke operations

Definido na linha 2411 do ficheiro class.pdf.php.

◆ stopObject()

stopObject ( $id)

stop an object from appearing on pages from this point on

Definido na linha 3692 do ficheiro class.pdf.php.

◆ stream()

stream ( $options = '')

output the pdf code, streaming it to the browser the relevant headers are set so that hopefully the browser will recognise it

Definido na linha 2773 do ficheiro class.pdf.php.

◆ transaction()

transaction ( $action)

a few functions which should allow the document to be treated transactionally.

Definido na linha 4392 do ficheiro class.pdf.php.

Documentação dos campos e atributos

◆ $addLooseObjects

$addLooseObjects
Valor inicial:
= array(
)

array contains infomation about how the loose objects are to be added to the document

Definido na linha 123 do ficheiro class.pdf.php.

◆ $arc4

$arc4 = ''

the ancryption array for the document encryption is stored here

Definido na linha 170 do ficheiro class.pdf.php.

◆ $arc4_objnum

$arc4_objnum = 0

the object Id of the encryption information

Definido na linha 174 do ficheiro class.pdf.php.

◆ $callback

$callback
Valor inicial:
= array(
)

array which forms a stack to keep track of nested callback functions

Definido na linha 190 do ficheiro class.pdf.php.

◆ $catalogId

$catalogId

the objectId (number within the objects array) of the document catalog

Definido na linha 44 do ficheiro class.pdf.php.

◆ $checkpoint

$checkpoint = ''

store the stack for the transaction commands, each item in here is a record of the values of all the variables within the class, so that the user can rollback at will (from each 'start' command) note that this includes the objects array, so these can be large.

Definido na linha 207 do ficheiro class.pdf.php.

◆ $currentBaseFont

$currentBaseFont = ''

the current base font

Definido na linha 58 do ficheiro class.pdf.php.

◆ $currentColour

$currentColour = array('r' => -1, 'g' => -1, 'b' => -1)

current colour for fill operations, defaults to inactive value, all three components should be between 0 and 1 inclusive when active

Definido na linha 82 do ficheiro class.pdf.php.

◆ $currentContents

$currentContents

object number of the currently active contents block

Definido na linha 74 do ficheiro class.pdf.php.

◆ $currentFont

$currentFont = ''

a record of the current font

Definido na linha 54 do ficheiro class.pdf.php.

◆ $currentFontNum

$currentFontNum = 0

the number of the current font within the font array

Definido na linha 62 do ficheiro class.pdf.php.

◆ $currentLineStyle

$currentLineStyle = ''

current style that lines are drawn in

Definido na linha 90 do ficheiro class.pdf.php.

◆ $currentNode

$currentNode

Definido na linha 66 do ficheiro class.pdf.php.

◆ $currentPage

$currentPage

object number of the current page

Definido na linha 70 do ficheiro class.pdf.php.

◆ $currentStrokeColour

$currentStrokeColour = array('r' => -1, 'g' => -1, 'b' => -1)

current colour for stroke operations (lines etc.)

Definido na linha 86 do ficheiro class.pdf.php.

◆ $currentTextState

$currentTextState = ''

track if the current font is bolded or italicised

Definido na linha 162 do ficheiro class.pdf.php.

◆ $destinations

$destinations
Valor inicial:
= array(
)

store label->id pairs for named destinations, these will be used to replace internal links done this way so that destinations can be defined after the location that links to them

Definido na linha 200 do ficheiro class.pdf.php.

◆ $encrypted

$encrypted = 0

a flag to say if a document is to be encrypted or not

Definido na linha 182 do ficheiro class.pdf.php.

◆ $encryptionKey

$encryptionKey = ''

the ancryption key for the encryption of all the document content (structure is not encrypted)

Definido na linha 186 do ficheiro class.pdf.php.

◆ $fileIdentifier

$fileIdentifier = ''

the file identifier, used to uniquely identify a pdf document

Definido na linha 178 do ficheiro class.pdf.php.

◆ $firstPageId

$firstPageId

the objectId of the first page of the document

Definido na linha 142 do ficheiro class.pdf.php.

◆ $fontFamilies

$fontFamilies
Valor inicial:
= array(
)

store the information about the relationship between font families this used so that the code knows which font is the bold version of another font, etc. the value of this array is initialised in the constuctor function.

Definido na linha 157 do ficheiro class.pdf.php.

◆ $fonts

$fonts
Valor inicial:
= array(
)

array carrying information about the fonts that the system currently knows about used to ensure that a font is not loaded twice, among other things

Definido na linha 49 do ficheiro class.pdf.php.

◆ $fonts_path

$fonts_path

Definido na linha 214 do ficheiro class.pdf.php.

◆ $infoObject

$infoObject = 0

the objectId of the information object for the document this contains authorship, title etc.

Definido na linha 129 do ficheiro class.pdf.php.

◆ $looseObjects

$looseObjects
Valor inicial:
= array(
)

an array which contains information about the objects which are not firmly attached to pages these have been added with the addObject function

Definido na linha 118 do ficheiro class.pdf.php.

◆ $messages

$messages = ''

messages are stored here during processing, these can be selected afterwards to give some useful debug information

Definido na linha 166 do ficheiro class.pdf.php.

◆ $nCallback

$nCallback = 0

the number of callback functions in the callback array

Definido na linha 195 do ficheiro class.pdf.php.

◆ $nStack

$nStack = 0

number of elements within the object Id storage stack

Definido na linha 113 do ficheiro class.pdf.php.

◆ $nStateStack

$nStateStack = 0

number of elements within the state stack

Definido na linha 100 do ficheiro class.pdf.php.

◆ $numFonts

$numFonts = 0

number of fonts within the system

Definido na linha 78 do ficheiro class.pdf.php.

◆ $numImages

$numImages = 0

number of images being tracked within the document

Definido na linha 133 do ficheiro class.pdf.php.

◆ $numObj

$numObj = 0

the current number of pdf objects in the document

Definido na linha 35 do ficheiro class.pdf.php.

◆ $numPages

$numPages = 0

number of page objects within the document

Definido na linha 104 do ficheiro class.pdf.php.

◆ $objects

$objects
Valor inicial:
= array(
)

this array contains all of the pdf objects, ready for final assembly

Definido na linha 39 do ficheiro class.pdf.php.

◆ $options

$options = array('compression' => 1)

an array containing options about the document it defaults to turning on the compression of the objects

Definido na linha 138 do ficheiro class.pdf.php.

◆ $procsetObjectId

$procsetObjectId

the object Id of the procset object

Definido na linha 151 do ficheiro class.pdf.php.

◆ $stack

$stack
Valor inicial:
= array(
)

object Id storage stack

Definido na linha 108 do ficheiro class.pdf.php.

◆ $stateStack

$stateStack
Valor inicial:
= array(
)

an array which is used to save the state of the document, mainly the colours and styles it is used to temporarily change to another state, the change back to what it was before

Definido na linha 95 do ficheiro class.pdf.php.

◆ $wordSpaceAdjust

$wordSpaceAdjust = 0

used to track the last used value of the inter-word spacing, this is so that it is known when the spacing is changed.

Definido na linha 147 do ficheiro class.pdf.php.


A documentação para esta classe foi gerada a partir do seguinte ficheiro: