var $bottomMargin = 0;
var $lineHeight;
var $leftMargin = 0;
+ var $pageWidth; // dummy
+ var $rightMargin; // dummy
var $cols;
var $params;
$this->title = $title;
$this->lineHeight = 12;
$this->endLine = 760;
- $this->fontSize = $fontsize;
+ $this->SetFontSize($fontsize);
$this->oldFontSize = 0;
$this->y = 0;
$this->currency = '';
function Font($fontname = '', $style = 'normal')
{
}
+
+ function SetFontSize($size)
+ {
+ $this->fontSize = $size;
+ }
function Info($params, $cols, $headers, $aligns,
$cols2 = null, $headers2 = null, $aligns2 = null)
{
if (!$conv)
$txt = date2sql($txt);
- list($year, $mo, $day) = explode("-", $txt);
+ list($year, $mo, $day) = explode("-", $txt);
$date = $this->ymd2date((int)$year, (int)$mo, (int)$day);
$this->sheet->writeNumber($this->y, $c, $date, $this->formatDate);
}