var $lineHeight;
//var $rtl;
+ var $row;
var $cols;
var $params;
var $headers;
$this->currency = '';
$this->scaleLogoWidth = false; // if Logo, scale on width (else height).
$this->headerFunc = 'Header'; // default to the original header template
+
$rtl = ($_SESSION['language']->dir === 'rtl' ? 'rtl' : 'ltr');
$code = $_SESSION['language']->code;
$enc = strtoupper($_SESSION['language']->encoding);
$this->pageNumber++;
if ($this->pageNumber > 1)
$this->newPage();
+
$this->row = $this->pageHeight - $this->topMargin;
$this->SetDrawColor(128, 128, 128);
{
include("includes/doctext.inc");
}
-
+
include("includes/header2.inc");
$this->row = $temp;
// Move one line down the page
$this->row -= ($l * $h);
- // Reset the "current line height" for the new line
- $this->curLineHeight = $this->fontSize;
+
// Check to see if we're at the bottom and should insert a page break
if ($this->row < $this->bottomMargin + ($np * $h))
$this->{$this->headerFunc}(); // call header template chosen by current report