[Cpdf] element index

Package indexes

All elements
a c d e f g i l m n o p r s t u w y
a
top
Variable $addLooseObjects
Cpdf::$addLooseObjects in class.pdf.php
array contains infomation about how the loose objects are to be added to the document
Variable $arc4
Cpdf::$arc4 in class.pdf.php
the ancryption array for the document encryption is stored here
Variable $arc4_objnum
Cpdf::$arc4_objnum in class.pdf.php
the object Id of the encryption information
Method addDestination
Cpdf::addDestination() in class.pdf.php
create a labelled destination within the document
Method addImage
Cpdf::addImage() in class.pdf.php
add an image into the document, from a GD object
Method addInfo
Cpdf::addInfo() in class.pdf.php
add content to the documents info object
Method addInternalLink
Cpdf::addInternalLink() in class.pdf.php
add a link in the document to an internal destination (ie. within the document)
Method addJpegFromFile
Cpdf::addJpegFromFile() in class.pdf.php
add a JPEG image into the document, from a file
Method addLink
Cpdf::addLink() in class.pdf.php
add a link in the document to an external URL
Method addMessage
Cpdf::addMessage() in class.pdf.php
used to add messages for use in debugging
Method addObject
Cpdf::addObject() in class.pdf.php
after an object has been created, it wil only show if it has been added, using this function.
Method addPngFromFile
Cpdf::addPngFromFile() in class.pdf.php
add a PNG image into the document, from a file
Method addText
Cpdf::addText() in class.pdf.php
add text to the document, at a specified location, size and angle on the page
Method addTextWrap
Cpdf::addTextWrap() in class.pdf.php
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.
Method alink
Cezpdf::alink() in class.ezpdf.php
Method ARC4
Cpdf::ARC4() in class.pdf.php
ARC4 encrypt a text string
Method ARC4_init
Cpdf::ARC4_init() in class.pdf.php
initialize the ARC4 encryption
c
top
Variable $callback
Cpdf::$callback in class.pdf.php
array which forms a stack to keep track of nested callback functions
Variable $catalogId
Cpdf::$catalogId in class.pdf.php
the objectId (number within the objects array) of the document catalog
Variable $checkpoint
Cpdf::$checkpoint in class.pdf.php
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.
Variable $currentBaseFont
Cpdf::$currentBaseFont in class.pdf.php
the current base font
Variable $currentColour
Cpdf::$currentColour in class.pdf.php
current colour for fill operations, defaults to inactive value, all three components should be between 0 and 1 inclusive when active
Variable $currentContents
Cpdf::$currentContents in class.pdf.php
object number of the currently active contents block
Variable $currentFont
Cpdf::$currentFont in class.pdf.php
a record of the current font
Variable $currentFontNum
Cpdf::$currentFontNum in class.pdf.php
the number of the current font within the font array
Variable $currentLineStyle
Cpdf::$currentLineStyle in class.pdf.php
current style that lines are drawn in
Variable $currentNode
Cpdf::$currentNode in class.pdf.php
Variable $currentPage
Cpdf::$currentPage in class.pdf.php
object number of the current page
Variable $currentStrokeColour
current colour for stroke operations (lines etc.)
Variable $currentTextState
Cpdf::$currentTextState in class.pdf.php
track if the current font is bolded or italicised
Class Cezpdf
Cezpdf in class.ezpdf.php
Cpdf
Method Cezpdf
Cezpdf::Cezpdf() in class.ezpdf.php
Method checkAllHere
Cpdf::checkAllHere() in class.pdf.php
should be used for internal checks, not implemented as yet
Method closeObject
Cpdf::closeObject() in class.pdf.php
close an object
Class Cpdf
Cpdf in class.pdf.php
Cpdf
Method Cpdf
Cpdf::Cpdf() in class.pdf.php
class constructor
Method curve
Cpdf::curve() in class.pdf.php
draw a bezier curve based on 4 control points
Page class.pdf.php
class.pdf.php in class.pdf.php
d
top
Variable $destinations
Cpdf::$destinations in class.pdf.php
store label->id pairs for named destinations, these will be used to replace internal links
e
top
Variable $encrypted
Cpdf::$encrypted in class.pdf.php
a flag to say if a document is to be encrypted or not
Variable $encryptionKey
Cpdf::$encryptionKey in class.pdf.php
the ancryption key for the encryption of all the document content (structure is not encrypted)
Variable $ez
Cezpdf::$ez in class.ezpdf.php
Variable $ezPageCount
Cezpdf::$ezPageCount in class.ezpdf.php
Variable $ezPages
Cezpdf::$ezPages in class.ezpdf.php
Method ellipse
Cpdf::ellipse() in class.pdf.php
draw an ellipse note that the part and filled ellipse are just special cases of this function
Method encryptInit
Cpdf::encryptInit() in class.pdf.php
initialize the encryption for processing a particular object
Method execTemplate
Cezpdf::execTemplate() in class.ezpdf.php
Method ezColumnsStart
Cezpdf::ezColumnsStart() in class.ezpdf.php
Method ezColumnsStop
Cezpdf::ezColumnsStop() in class.ezpdf.php
Method ezGetCurrentPageNumber
Method ezImage
Cezpdf::ezImage() in class.ezpdf.php
Method ezInsertMode
Cezpdf::ezInsertMode() in class.ezpdf.php
Method ezNewPage
Cezpdf::ezNewPage() in class.ezpdf.php
Method ezOutput
Cezpdf::ezOutput() in class.ezpdf.php
Method ezProcessText
Cezpdf::ezProcessText() in class.ezpdf.php
Method ezPRVTaddPageNumbers
Method ezPRVTcleanUp
Cezpdf::ezPRVTcleanUp() in class.ezpdf.php
Method ezPrvtGetTextWidth
Cezpdf::ezPrvtGetTextWidth() in class.ezpdf.php
Method ezPRVTpageNumberSearch
Method ezPrvtTableColumnHeadings
Method ezPrvtTableDrawLines
Method ezSetCmMargins
Cezpdf::ezSetCmMargins() in class.ezpdf.php
Method ezSetDy
Cezpdf::ezSetDy() in class.ezpdf.php
Method ezSetMargins
Cezpdf::ezSetMargins() in class.ezpdf.php
Method ezSetY
Cezpdf::ezSetY() in class.ezpdf.php
Method ezStartPageNumbers
Cezpdf::ezStartPageNumbers() in class.ezpdf.php
Method ezStopPageNumbers
Cezpdf::ezStopPageNumbers() in class.ezpdf.php
Method ezStream
Cezpdf::ezStream() in class.ezpdf.php
Method ezTable
Cezpdf::ezTable() in class.ezpdf.php
Method ezText
Cezpdf::ezText() in class.ezpdf.php
Method ezWhatPageNumber
Cezpdf::ezWhatPageNumber() in class.ezpdf.php
f
top
Variable $fileIdentifier
Cpdf::$fileIdentifier in class.pdf.php
the file identifier, used to uniquely identify a pdf document
Variable $firstPageId
Cpdf::$firstPageId in class.pdf.php
the objectId of the first page of the document
Variable $fontFamilies
Cpdf::$fontFamilies in class.pdf.php
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.
Variable $fonts
Cpdf::$fonts in class.pdf.php
array carrying information about the fonts that the system currently knows about
Method filledEllipse
Cpdf::filledEllipse() in class.pdf.php
draw a filled ellipse
Method filledRectangle
Cpdf::filledRectangle() in class.pdf.php
a filled rectangle, note that it is the width and height of the rectangle which are the secondary paramaters, not
g
top
Method getFirstPageId
Cpdf::getFirstPageId() in class.pdf.php
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.
Method getFontDecender
Cpdf::getFontDecender() in class.pdf.php
return the font decender, this will normally return a negative number
Method getFontHeight
Cpdf::getFontHeight() in class.pdf.php
return the height in units of the current font in the given size
Method getTextWidth
Cpdf::getTextWidth() in class.pdf.php
calculate how wide a given text string will be on a page, at a given size.
i
top
Variable $infoObject
Cpdf::$infoObject in class.pdf.php
the objectId of the information object for the document this contains authorship, title etc.
Method ilink
Cezpdf::ilink() in class.ezpdf.php
l
top
Variable $looseObjects
Cpdf::$looseObjects in class.pdf.php
an array which contains information about the objects which are not firmly attached to pages
Method line
Cpdf::line() in class.pdf.php
draw a line from one set of coordinates to another
Method loadTemplate
Cezpdf::loadTemplate() in class.ezpdf.php
m
top
Variable $messages
Cpdf::$messages in class.pdf.php
messages are stored here during processing, these can be selected afterwards to give some useful debug information
Method md5_16
Cpdf::md5_16() in class.pdf.php
calculate the 16 byte version of the 128 bit md5 digest of the string
n
top
Variable $nCallback
Cpdf::$nCallback in class.pdf.php
the number of callback functions in the callback array
Variable $nStack
Cpdf::$nStack in class.pdf.php
number of elements within the object Id storage stack
Variable $nStateStack
Cpdf::$nStateStack in class.pdf.php
number of elements within the state stack
Variable $numFonts
Cpdf::$numFonts in class.pdf.php
number of fonts within the system
Variable $numImages
Cpdf::$numImages in class.pdf.php
number of images being tracked within the document
Variable $numObj
Cpdf::$numObj in class.pdf.php
the current number of pdf objects in the document
Variable $numPages
Cpdf::$numPages in class.pdf.php
number of page objects within the document
Method newPage
Cpdf::newPage() in class.pdf.php
add a new page to the document
o
top
Variable $objects
Cpdf::$objects in class.pdf.php
this array contains all of the pdf objects, ready for final assembly
Variable $options
Cpdf::$options in class.pdf.php
an array containing options about the document
Method openHere
Cpdf::openHere() in class.pdf.php
specify where the document should open when it first starts
Method openObject
Cpdf::openObject() in class.pdf.php
make a loose object, the output will go into this object, until it is closed, then will revert to the current one.
Method output
Cpdf::output() in class.pdf.php
return the pdf stream as a string returned from the function
Method o_action
Cpdf::o_action() in class.pdf.php
an action object, used to link to URLS initially
Method o_annotation
Cpdf::o_annotation() in class.pdf.php
an annotation object, this will add an annotation to the current page.
Method o_catalog
Cpdf::o_catalog() in class.pdf.php
define the document catalog, the overall controller for the document
Method o_contents
Cpdf::o_contents() in class.pdf.php
the contents objects hold all of the content which appears on pages
Method o_destination
Cpdf::o_destination() in class.pdf.php
destination object, used to specify the location for the user to jump to, presently on opening
Method o_encryption
Cpdf::o_encryption() in class.pdf.php
encryption object.
Method o_font
Cpdf::o_font() in class.pdf.php
an object to hold the font description
Method o_fontDescriptor
Cpdf::o_fontDescriptor() in class.pdf.php
a font descriptor, needed for including additional fonts
Method o_fontEncoding
Cpdf::o_fontEncoding() in class.pdf.php
the font encoding
Method o_image
Cpdf::o_image() in class.pdf.php
an image object, will be an XObject in the document, includes description and data
Method o_info
Cpdf::o_info() in class.pdf.php
define the document information
Method o_outlines
Cpdf::o_outlines() in class.pdf.php
define the outlines in the doc, empty for now
Method o_page
Cpdf::o_page() in class.pdf.php
a page object, it also creates a contents object to hold its contents
Method o_pages
Cpdf::o_pages() in class.pdf.php
object which is a parent to the pages in the document
Method o_procset
Cpdf::o_procset() in class.pdf.php
the document procset, solves some problems with printing to old PS printers
Method o_viewerPreferences
set the viewer preferences
p
top
Variable $procsetObjectId
Cpdf::$procsetObjectId in class.pdf.php
the object Id of the procset object
Method partEllipse
Cpdf::partEllipse() in class.pdf.php
draw a part of an ellipse
Method polygon
Cpdf::polygon() in class.pdf.php
draw a polygon, the syntax for this is similar to the GD polygon command
r
top
Method rectangle
Cpdf::rectangle() in class.pdf.php
draw a rectangle, note that it is the width and height of the rectangle which are the secondary paramaters, not
Method reopenObject
Cpdf::reopenObject() in class.pdf.php
open an existing object for editing
Method restoreState
Cpdf::restoreState() in class.pdf.php
restore a previously saved state
s
top
Variable $stack
Cpdf::$stack in class.pdf.php
object Id storage stack
Variable $stateStack
Cpdf::$stateStack in class.pdf.php
an array which is used to save the state of the document, mainly the colours and styles
Method saveState
Cpdf::saveState() in class.pdf.php
this will be called at a new page to return the state to what it was on the
Method selectFont
Cpdf::selectFont() in class.pdf.php
if the font is not loaded then load it and make the required object
Method setColor
Cpdf::setColor() in class.pdf.php
sets the colour for fill operations
Method setEncryption
Cpdf::setEncryption() in class.pdf.php
set the encryption of the document can be used to turn it on and/or set the passwords which it will have.
Method setFontFamily
Cpdf::setFontFamily() in class.pdf.php
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.
Method setLineStyle
Cpdf::setLineStyle() in class.pdf.php
this sets the line drawing style.
Method setPreferences
Cpdf::setPreferences() in class.pdf.php
set the viewer preferences of the document, it is up to the browser to obey these.
Method setStrokeColor
Cpdf::setStrokeColor() in class.pdf.php
sets the colour for stroke operations
Method stopObject
Cpdf::stopObject() in class.pdf.php
stop an object from appearing on pages from this point on
Method stream
Cpdf::stream() in class.pdf.php
output the pdf code, streaming it to the browser
t
top
Method transaction
Cpdf::transaction() in class.pdf.php
a few functions which should allow the document to be treated transactionally.
u
top
Method uline
Cezpdf::uline() in class.ezpdf.php
w
top
Variable $wordSpaceAdjust
Cpdf::$wordSpaceAdjust in class.pdf.php
used to track the last used value of the inter-word spacing, this is so that it is known when the spacing is changed.
y
top
Variable $y
Cezpdf::$y in class.ezpdf.php
a c d e f g i l m n o p r s t u w y