Class PDFParser

Description
  • author: Greg Beaver <cellog@php.net>
  • version: $Id: Parser.inc 238276 2007-06-22 14:58:30Z ashnazg $
  • copyright: 2000-2007 Kellin, Joshua Eichorn
  • since: 1.2
  • usedby: phpdocpdf::ezText() - extracts all meta-tags and processes text for output

Located in /phpDocumentor/Converters/PDF/default/ParserPDF.inc (line 68)

Publisher
   |
   --Parser
      |
      --PDFParser
Method Summary
 PDFParser PDFParser ()
 void getParserEventName (integer $value)
 bool parse (string $parse_data, string $fontdir, phpdocpdf &$pdf, [boolean $debug = false])
 void setupStates ()
Variables

Inherited Variables

Inherited from Publisher

Publisher::$subscriber
Methods
Constructor PDFParser (line 89)

Sets up the wordparser for this class

PDFParser PDFParser ()
getParserEventName (line 549)

Return the name of the parser event

void getParserEventName (integer $value)
  • integer $value

Redefinition of:
Parser::getParserEventName()
Debugging function, takes an event number and attempts to return its name
parse (line 105)

Parse text for PDFParser XML tags, and add the text to the PDF file

  • staticvar: integer $endrecur: used for recursion limiting if a handler for an event is not found
bool parse (string $parse_data, string $fontdir, phpdocpdf &$pdf, [boolean $debug = false])
  • 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

Redefinition of:
Parser::parse()
Parse a new file
setupStates (line 485)

setup the parser tokens, and the pushEvent/popEvent arrays

void setupStates ()

Redefinition of:
Parser::setupStates()
setup the parser tokens, and the pushEvent/popEvent arrays

Inherited Methods

Inherited From Parser

 Parser::Parser()
 Parser::categoryTagHandler()
 Parser::checkEventPop()
 Parser::checkEventPush()
 Parser::configWordParser()
 Parser::defaultTagHandler()
 Parser::endTag()
 Parser::exampleTagHandler()
 Parser::getParserEventName()
 Parser::globalTagHandler()
 Parser::invalidTagHandler()
 Parser::packageTagHandler()
 Parser::paramTagHandler()
 Parser::parse()
 Parser::propertyTagHandler()
 Parser::returnTagHandler()
 Parser::setupStates()
 Parser::staticvarTagHandler()
 Parser::usesTagHandler()
 Parser::varTagHandler()

Inherited From Publisher

 Publisher::publishEvent()
 Publisher::subscribe()

Documentation generated on Mon, 05 Dec 2011 21:06:34 -0600 by phpDocumentor 1.4.4