[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

(no description)

File Size: 588 lines (19 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 3 files
 mod/assign/feedback/editpdf/fpdi/fpdi_pdf_parser.php
 mod/assign/feedback/editpdf/fpdi/fpdf_tpl.php
 mod/assign/feedback/editpdf/fpdi/fpdi2tcpdf_bridge.php

Defines 1 class

FPDI:: (15 methods):
  setSourceFile()
  _getPdfParser()
  getPDFVersion()
  setPDFVersion()
  importPage()
  getLastUsedPageBox()
  useTemplate()
  _putimportedobjects()
  _putformxobjects()
  _newobj()
  pdf_write_value()
  _straightOut()
  _enddoc()
  _closeParsers()
  cleanUp()


Class: FPDI  - X-Ref

setSourceFile($filename)   X-Ref
Set a source-file

param: string $filename a valid filename
return: int number of available pages

_getPdfParser($filename)   X-Ref
Returns a PDF parser object

param: string $filename
return: fpdi_pdf_parser

getPDFVersion()   X-Ref
Get the current PDF version

return: string

setPDFVersion($version = '1.3')   X-Ref
Set the PDF version

return: string

importPage($pageno, $boxName = '/CropBox')   X-Ref
Import a page

param: int $pageno pagenumber
return: int Index of imported page - to use with fpdf_tpl::useTemplate()

getLastUsedPageBox()   X-Ref
Returns the last used page box

return: string

useTemplate($tplidx, $_x = null, $_y = null, $_w = 0, $_h = 0, $adjustPageSize = false)   X-Ref
No description

_putimportedobjects()   X-Ref
Private method, that rebuilds all needed objects of source files


_putformxobjects()   X-Ref
Private Method that writes the form xobjects


_newobj($obj_id = false, $onlynewobj = false)   X-Ref
Rewritten to handle existing own defined objects


pdf_write_value(&$value)   X-Ref
Writes a value
Needed to rebuild the source document

param: mixed $value A PDF-Value. Structure of values see cases in this method

_straightOut($s)   X-Ref
Modified so not each call will add a newline to the output.


_enddoc()   X-Ref
rewritten to close opened parsers


_closeParsers()   X-Ref
close all files opened by parsers


cleanUp()   X-Ref
Removes cylced references and closes the file handles of the parser objects




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