private function PHPExcel_Writer_Excel2007_Chart::_writePrintSettings in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/Chart.php \PHPExcel_Writer_Excel2007_Chart::_writePrintSettings()
Write Printer Settings
Parameters
PHPExcel_Shared_XMLWriter $objWriter XML Writer:
Throws
1 call to PHPExcel_Writer_Excel2007_Chart::_writePrintSettings()
- PHPExcel_Writer_Excel2007_Chart::writeChart in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ Chart.php - Write charts to XML format
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ Chart.php, line 1584
Class
- PHPExcel_Writer_Excel2007_Chart
- PHPExcel_Writer_Excel2007_Chart
Code
private function _writePrintSettings($objWriter) {
$objWriter
->startElement('c:printSettings');
$objWriter
->startElement('c:headerFooter');
$objWriter
->endElement();
$objWriter
->startElement('c:pageMargins');
$objWriter
->writeAttribute('footer', 0.3);
$objWriter
->writeAttribute('header', 0.3);
$objWriter
->writeAttribute('r', 0.7);
$objWriter
->writeAttribute('l', 0.7);
$objWriter
->writeAttribute('t', 0.75);
$objWriter
->writeAttribute('b', 0.75);
$objWriter
->endElement();
$objWriter
->startElement('c:pageSetup');
$objWriter
->writeAttribute('orientation', "portrait");
$objWriter
->endElement();
$objWriter
->endElement();
}