[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/assign/feedback/editpdf/fpdi/ -> pdf_parser.php (summary)

(no description)

File Size: 719 lines (24 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 mod/assign/feedback/editpdf/fpdi/pdf_context.php

Defines 1 class

pdf_parser:: (12 methods):
  pdf_parser()
  closeFile()
  error()
  getEncryption()
  pdf_find_root()
  pdf_read_root()
  getPDFVersion()
  pdf_find_xref()
  pdf_read_xref()
  pdf_read_value()
  pdf_resolve_object()
  pdf_read_token()


Class: pdf_parser  - X-Ref

pdf_parser($filename)   X-Ref
Constructor

param: string $filename  Source-Filename

closeFile()   X-Ref
Close the opened file


error($msg)   X-Ref
Print Error and die

param: string $msg  Error-Message

getEncryption()   X-Ref
Check Trailer for Encryption


pdf_find_root()   X-Ref
Find/Return /Root

return: array

pdf_read_root()   X-Ref
Read the /Root


getPDFVersion()   X-Ref
Get PDF-Version

And reset the PDF Version used in FPDI if needed

pdf_find_xref()   X-Ref
Find the xref-Table


pdf_read_xref(&$result, $offset)   X-Ref
Read xref-table

param: array $result Array of xref-table
param: integer $offset of xref-table

pdf_read_value(&$c, $token = null)   X-Ref
Reads an Value

param: object $c pdf_context
param: string $token a Token
return: mixed

pdf_resolve_object(&$c, $obj_spec, $encapsulate = true)   X-Ref
Resolve an object

param: object $c pdf_context
param: array $obj_spec The object-data
param: boolean $encapsulate Must set to true, cause the parsing and fpdi use this method only without this para

pdf_read_token(&$c)   X-Ref
Reads a token from the file

param: object $c pdf_context
return: mixed



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1