Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please login
Re: Change pdf font size and table 21.10.2011 14:30
Hi ,
In order to change font size and table size for pdf you should change
/components/com_calcbuilder/views/calcbuilder/tmpl/pdf.php.
Probably you are interested in $this->SetFont(...); lines and
$w=190/(count($colsNames)+1); in FancyTable function which is used to set
the width of the table shown. Also you can change page orientation: change
$pdf=new PDF(); to $pdf=new PDF('L');
If you want more info, visit http://www.fpdf.org/
Hope this helps. Regards,
Moonsoft Team
www.moonsoft.es
In order to change font size and table size for pdf you should change
/components/com_calcbuilder/views/calcbuilder/tmpl/pdf.php.
Probably you are interested in $this->SetFont(...); lines and
$w=190/(count($colsNames)+1); in FancyTable function which is used to set
the width of the table shown. Also you can change page orientation: change
$pdf=new PDF(); to $pdf=new PDF('L');
If you want more info, visit http://www.fpdf.org/
Hope this helps. Regards,
Moonsoft Team
www.moonsoft.es