new FPDF version
This commit is contained in:
parent
84d74d8577
commit
5c58f917f1
|
@ -8,7 +8,7 @@ Homepage: http://www.ldap-account-manager.org/
|
||||||
|
|
||||||
Package: ldap-account-manager
|
Package: ldap-account-manager
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: php5 (>= 5.2.4), php5-ldap, php5-gd, apache2 | httpd, php-fpdf (>= 1.6), debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends}
|
Depends: php5 (>= 5.2.4), php5-ldap, php5-gd, apache2 | httpd, php-fpdf (>= 1.7), debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends}
|
||||||
Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl
|
Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl
|
||||||
Description: webfrontend for managing accounts in an LDAP directory
|
Description: webfrontend for managing accounts in an LDAP directory
|
||||||
LDAP Account Manager (LAM) runs on an existing webserver.
|
LDAP Account Manager (LAM) runs on an existing webserver.
|
||||||
|
|
1536
lam/lib/fpdf.php
1536
lam/lib/fpdf.php
File diff suppressed because it is too large
Load Diff
|
@ -54,7 +54,7 @@ $line_width = LAMPDF_LINEWIDTH;
|
||||||
function createModulePDF($accounts,$pdf_structure="default") {
|
function createModulePDF($accounts,$pdf_structure="default") {
|
||||||
|
|
||||||
/** PDF generator class */
|
/** PDF generator class */
|
||||||
include_once(dirname(__FILE__) . "/fpdf.php");
|
include_once("fpdf.php");
|
||||||
/** Unicode support for FPDF */
|
/** Unicode support for FPDF */
|
||||||
include_once("ufpdf.php");
|
include_once("ufpdf.php");
|
||||||
/** LAM PDF generator class */
|
/** LAM PDF generator class */
|
||||||
|
|
|
@ -128,7 +128,7 @@ function Cell($w,$h=0,$txt='',$border=0,$ln=0,$align='J',$fill=0,$link='')
|
||||||
$this->ws=0;
|
$this->ws=0;
|
||||||
$this->_out('0 Tw');
|
$this->_out('0 Tw');
|
||||||
}
|
}
|
||||||
$this->AddPage($this->CurOrientation, $this->CurPageFormat);
|
$this->AddPage($this->CurOrientation, $this->CurPageSize);
|
||||||
$this->x=$x;
|
$this->x=$x;
|
||||||
if($ws>0)
|
if($ws>0)
|
||||||
{
|
{
|
||||||
|
@ -530,13 +530,13 @@ function _putpages()
|
||||||
}
|
}
|
||||||
if($this->DefOrientation=='P')
|
if($this->DefOrientation=='P')
|
||||||
{
|
{
|
||||||
$wPt=$this->DefPageFormat[0]*$this->k;
|
$wPt=$this->DefPageSize[0]*$this->k;
|
||||||
$hPt=$this->DefPageFormat[1]*$this->k;
|
$hPt=$this->DefPageSize[1]*$this->k;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$wPt=$this->DefPageFormat[1]*$this->k;
|
$wPt=$this->DefPageSize[1]*$this->k;
|
||||||
$hPt=$this->DefPageFormat[0]*$this->k;
|
$hPt=$this->DefPageSize[0]*$this->k;
|
||||||
}
|
}
|
||||||
$filter=($this->compress) ? '/Filter /FlateDecode ' : '';
|
$filter=($this->compress) ? '/Filter /FlateDecode ' : '';
|
||||||
for($n=1;$n<=$nb;$n++)
|
for($n=1;$n<=$nb;$n++)
|
||||||
|
|
Loading…
Reference in New Issue