private function PHPExcel_Writer_Excel2007_Theme::_writeColourScheme in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/Theme.php \PHPExcel_Writer_Excel2007_Theme::_writeColourScheme()
* Write colour scheme to XML format * *
Parameters
PHPExcel_Shared_XMLWriter $objWriter: * @return string XML Output * @throws PHPExcel_Writer_Exception
1 call to PHPExcel_Writer_Excel2007_Theme::_writeColourScheme()
- PHPExcel_Writer_Excel2007_Theme::writeTheme in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ Theme.php - * Write theme to XML format * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel2007/ Theme.php, line 858
Class
- PHPExcel_Writer_Excel2007_Theme
- PHPExcel_Writer_Excel2007_Theme
Code
private function _writeColourScheme($objWriter) {
foreach (self::$_colourScheme as $colourName => $colourValue) {
$objWriter
->startElement('a:' . $colourName);
$objWriter
->startElement('a:srgbClr');
$objWriter
->writeAttribute('val', $colourValue);
$objWriter
->endElement();
$objWriter
->endElement();
}
}