mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-25 14:56:04 +03:00
Bugfix: Work items 15799 and 18278
Background color cell is always black when editing cell
This commit is contained in:
parent
57464cbf1a
commit
6710c8a136
@ -245,6 +245,7 @@ class PHPExcel_Writer_Excel2007_Style extends PHPExcel_Writer_Excel2007_WriterPa
|
|||||||
$objWriter->startElement('patternFill');
|
$objWriter->startElement('patternFill');
|
||||||
$objWriter->writeAttribute('patternType', $pFill->getFillType());
|
$objWriter->writeAttribute('patternType', $pFill->getFillType());
|
||||||
|
|
||||||
|
if ($pFill->getFillType() !== PHPExcel_Style_Fill::FILL_NONE) {
|
||||||
// fgColor
|
// fgColor
|
||||||
$objWriter->startElement('fgColor');
|
$objWriter->startElement('fgColor');
|
||||||
$objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB());
|
$objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB());
|
||||||
@ -254,6 +255,7 @@ class PHPExcel_Writer_Excel2007_Style extends PHPExcel_Writer_Excel2007_WriterPa
|
|||||||
$objWriter->startElement('bgColor');
|
$objWriter->startElement('bgColor');
|
||||||
$objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB());
|
$objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB());
|
||||||
$objWriter->endElement();
|
$objWriter->endElement();
|
||||||
|
}
|
||||||
|
|
||||||
$objWriter->endElement();
|
$objWriter->endElement();
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
**************************************************************************************
|
**************************************************************************************
|
||||||
|
|
||||||
|
|
||||||
Fixed in SVN:
|
Fixed in develop branch:
|
||||||
- Feature: (MBaker) Refactor PDF Writer to allow use with a choice of PDF Rendering library
|
- Feature: (MBaker) Refactor PDF Writer to allow use with a choice of PDF Rendering library
|
||||||
rather than restricting to tcPDF
|
rather than restricting to tcPDF
|
||||||
Current options are tcPDF, mPDF, DomPDF
|
Current options are tcPDF, mPDF, DomPDF
|
||||||
@ -33,6 +33,8 @@ Fixed in SVN:
|
|||||||
- Bugfix: (schir1964) Fix to listWorksheetInfo() method for OOCalc Reader
|
- Bugfix: (schir1964) Fix to listWorksheetInfo() method for OOCalc Reader
|
||||||
- Bugfix: (MBaker) Support for "e" (epoch) date format mask
|
- Bugfix: (MBaker) Support for "e" (epoch) date format mask
|
||||||
Rendered as a 4-digit CE year in non-Excel outputs
|
Rendered as a 4-digit CE year in non-Excel outputs
|
||||||
|
- Bugfix: (MBaker) Work items 15799 and 18278 - Background color cell is always black when editing cell
|
||||||
|
|
||||||
|
|
||||||
2012-05-19 (v1.7.7):
|
2012-05-19 (v1.7.7):
|
||||||
- Bugfix: (Progi1984) Work item 8916 - Support for Rich-Text in PHPExcel_Writer_Excel5
|
- Bugfix: (Progi1984) Work item 8916 - Support for Rich-Text in PHPExcel_Writer_Excel5
|
||||||
|
Loading…
Reference in New Issue
Block a user