Located in /class.xhtml2pdf.php (line 84)
addBottomMarker()
adds a bottom marker
addCodeForEzPDF($szCode)
adds the specified code $szCode to the $arrEvalEzPDF-Array
addReplacement($data)
adds an array to $this->arrReplacements with new replacements
addTextToStack($szText)
adds text to the stack text
createParamList($arrOpts)
creates an evaled-param list
createTextMethod($htmlTag) target of this method is to create a evaled $pdf->ezText() method.
this evaled method contains all important parameters, such as font, font-size, padding, intendent and so on support for CSS through class.styleparser.php is planed for the future
debug($szString)
endList($szTag)
removes the last element from the cacheArrayLists array
executePDFCode()
executes all code, which is saved in $arrEvalForEzPDF
executeTag($szTag,$szLastText,$arrTagInfo)
executes the corresponding tag-plugin
ezGetPosY()
returns the current y-position
ezGetWidth()
returns the width of the document
flushText()
merges the complete text-stack and returns it
getAbsolutePathOfElement($hndElement)
returns a string, which is generated through the default directory
getAttributeVal($szKey)
returns the key of the last attriubte of element
getCurrenState()
returns the current state position
getCurrentTextOfStack()
gets the last element of the text-stack
getRootDirectory() gets root directory.
getTotalLists() returns the number of total open lists.
getYPosForCenterAlignment($szString, $iFontSize = 6)
returns the y-position, so that the given string is centered
incrementCurrentList()
increments the current list value
lookupTag($szTag)
searches for the tag-plugin $szTag and adds it to the array
mergeHash($arrBase,$arrAdd)
merges two hashs
parseTag($szText)
parses the string $szText and set the current tag, attributes and styles
processData()
main-method for starting the converting
restoreParamState($szTag)
restores the last saved options. The param can be used for checking the right element is kicked
run()
run convert-mechanism
saveParamState($arrOpts)
saves the current settings for text, width etc in an array. This settings can be restored through restoreState() saveParamState although generates an eval-string, which contains the "real" param list
setCurrentTextOfStack($szText)
sets the last element of the text-stack to the new text
setData() set the data, which will be converted.
the function splits the input an does replacements. setData is more or less a pre-parsing of the document.
setInput($html)
setLastAttributeList($arrInfo)
sets the last attribute list of the assigned element
setMargins()
sets the margin of the document
setPreferencesOfTag($szTag,$arrTagInfo)
calls the function setPreferences($szTag,$arrTagInfo) in the assigned tag-class (if exist)
setReplacements()
uses the $arrReplacements to replace special strings / signs
setRootDirectory($hndDir) sets the root directory in where to search for a style-sheet, an image etc.
setSourceFile($absPath)
set the input as path. this can be an url (has to start with http://) or a path
setSourceText($htmlText)
sets the input as a text
shortenText($szString)
trims the string
startList($szTag)
starts a new list with given tag
throwError($error)
traceList()
goes through the cacheArrayList and creates a line
Documentation generated on Tue, 29 Mar 2005 12:37:31 +0200 by phpDocumentor 1.3.0RC3