MDL-49515 libraries: Update to editpdf/classes/pdf.php
This updates fpdi_bridge to extend our Moodle pdf class as was done before.
This commit is contained in:
@@ -38,8 +38,10 @@ if (!class_exists('TCPDF', false)) {
|
||||
|
||||
/**
|
||||
* Class fpdi_bridge
|
||||
*
|
||||
* This has been modified to use the Moodle pdflib wrapper which in turn extends TCPDF
|
||||
*/
|
||||
class fpdi_bridge extends TCPDF
|
||||
class fpdi_bridge extends pdf
|
||||
{
|
||||
/**
|
||||
* Array of Tpl-Data
|
||||
|
||||
@@ -12,6 +12,25 @@ Download from: http://www.setasign.de/products/pdf-php-solutions/fpdi/downloads
|
||||
Documentation: http://www.setasign.de/products/pdf-php-solutions/fpdi/manuals/
|
||||
License: Apache Software License 2.0
|
||||
|
||||
Downloaded versions:
|
||||
Installation
|
||||
------------
|
||||
1) Download the latest version of fpdi from the url above.
|
||||
2) Unzip the files into this directory.
|
||||
3) Update mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php (or the replacement file) to extend 'pdf' instead of 'TCPDF'.
|
||||
4) Make a note below of any changes made.
|
||||
|
||||
2015/10/01
|
||||
----------
|
||||
Updated to FPDI: 1.5.4
|
||||
|
||||
fpdi no longer uses fpdi2tcpdf_bridge.php this has been replaced with fpdi_bridge.php.
|
||||
fpdi_bridge.php has been modified to extend pdf (lib/pdflib.php) as was done with
|
||||
fpdi2tcpdf_bridge.php.
|
||||
|
||||
Updated by Adrian Greeve (MDL-49515)
|
||||
|
||||
------------------
|
||||
Previous versions:
|
||||
|
||||
FPDI: 1.4.4
|
||||
FPDF_TPL: 1.2.3
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<location>fpdi</location>
|
||||
<name>FPDI</name>
|
||||
<license>Apache</license>
|
||||
<version>1.4.4</version>
|
||||
<version>1.5.4</version>
|
||||
<licenseversion>2.0</licenseversion>
|
||||
</library>
|
||||
</libraries>
|
||||
|
||||
Reference in New Issue
Block a user