Lines Matching defs:parser
44 protected $parser;
54 * @param PdfParser $parser
58 public function __construct(PdfParser $parser, $fileHeaderOffset = 0)
60 $this->parser = $parser;
168 $parser = $this->parser;
170 $parser->getTokenizer()->clearStack();
171 $parser->getStreamReader()->reset($offset + $this->fileHeaderOffset);
175 $object = $parser->readValue(null, PdfIndirectObject::class);
206 $this->parser->getStreamReader()->reset($offset);
207 $this->parser->getTokenizer()->clearStack();
208 $initValue = $this->parser->readValue();
223 $position = $this->parser->getStreamReader()->getPosition()
224 + $this->parser->getStreamReader()->getOffset() + $this->fileHeaderOffset;
228 return new FixedReader($this->parser);
230 $this->parser->getStreamReader()->reset($position);
231 $this->parser->getTokenizer()->clearStack();
233 return new LineReader($this->parser);
261 'free parser shipped with FPDI. (See https://www.setasign.com/fpdi-pdf-parser for more details)',
296 $reader = $this->parser->getStreamReader();
317 $value = $this->parser->readValue(null, PdfNumeric::class);