mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 05:16:06 +03:00
General: (rentalhost) Work Item GH-575 - Excel 2007 Reader freezes because of conditional formatting
This commit is contained in:
parent
79f95213e0
commit
7fa160905b
@ -960,8 +960,9 @@ class PHPExcel_Reader_Excel2007 extends PHPExcel_Reader_Abstract implements PHPE
|
||||
}
|
||||
|
||||
// Extract all cell references in $ref
|
||||
foreach (PHPExcel_Cell::extractAllCellReferencesInRange($ref) as $reference) {
|
||||
$docSheet->getStyle($reference)->setConditionalStyles($conditionalStyles);
|
||||
$cellBlocks = explode(' ', str_replace('$', '', strtoupper($ref)));
|
||||
foreach ($cellBlocks as $cellBlock) {
|
||||
$docSheet->getStyle($cellBlock)->setConditionalStyles($conditionalStyles);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,6 +32,7 @@ Planned for 1.8.2
|
||||
- Feature: (MBaker) - Initial implementation of SUMIFS() function
|
||||
- Feature: (MBaker) - Additional codepages
|
||||
- Feature: (Tomino2112) Work Item GH-808 - MemoryDrawing not working in HTML writer
|
||||
- General: (rentalhost) Work Item GH-575 - Excel 2007 Reader freezes because of conditional formatting
|
||||
|
||||
|
||||
2015-04-30 (v1.8.1):
|
||||
|
Loading…
Reference in New Issue
Block a user