var $y;
var $numcols;
var $excelColWidthFactor;
+ var $endLine;
var $formatTitle;
var $formatDateTime;
$this->size = $size;
$this->title = $title;
$this->lineHeight = 12;
+ $this->endLine = 760;
$this->fontSize = $fontsize;
$this->oldFontSize = 0;
$this->y = 1;
$this->sheet->mergeCells($this->y, $c, $this->y, $n - 1);
}
- function AmountCol($c, $n, $txt, $dec=0, $corr=0, $r=0, $border=0, $fill=0, $link=NULL, $stretch=0)
+ function AmountCol($c, $n, $txt, $dec=0, $corr=0, $r=0, $border=0, $fill=0, $link=NULL, $stretch=0, $color_red=false)
{
if (!is_numeric($txt))
$txt = 0;
$this->sheet->writeNumber($this->y, $c, $txt, $this->NumFormat($dec));
}
- function AmountCol2($c, $n, $txt, $dec=0, $corr=0, $r=0, $border=0, $fill=0, $link=NULL, $stretch=0, $amount_locale = NULL, $amount_format = NULL)
+ function AmountCol2($c, $n, $txt, $dec=0, $corr=0, $r=0, $border=0, $fill=0, $link=NULL, $stretch=0, $color_red=false, $amount_locale = NULL, $amount_format = NULL)
{
if (!is_numeric($txt))
$txt = 0;