Sets up the wordparser for this class
void getParserEventName(
integer
$value
)
|
|
Return the name of the parser event
Parameters:
Redefinition of:
- Parser::getParserEventName()
- Debugging function, takes an event number and attempts to return its name
bool parse(
string
$parse_data, string
$fontdir, phpdocpdf
&$pdf, [boolean
$debug = false]
)
|
|
Parse text for PDFParser XML tags, and add the text to the PDF file
Parameters:
string |
$parse_data: |
text to parse for PDFParser XML tags |
string |
$fontdir: |
full path to the font directory |
phpdocpdf |
&$pdf: |
|
boolean |
$debug: |
determines whether output is saved in a variable or added directly to the output |
API Tags:
Staticvar: | integer $endrecur: used for recursion limiting if a handler for an event is not found |
Redefinition of:
- Parser::parse()
- Parse a new file
setup the parser tokens, and the pushEvent/popEvent arrays
API Tags:
Redefinition of:
- Parser::setupStates()
- setup the parser tokens, and the pushEvent/popEvent arrays