General: (rentalhost) Work Item GH-575 - Excel 2007 Reader freezes because of conditional formatting

This commit is contained in:
MarkBaker 2016-03-22 13:35:28 +00:00
parent 79f95213e0
commit 7fa160905b
2 changed files with 4 additions and 2 deletions

View File

@ -960,8 +960,9 @@ class PHPExcel_Reader_Excel2007 extends PHPExcel_Reader_Abstract implements PHPE
} }
// Extract all cell references in $ref // Extract all cell references in $ref
foreach (PHPExcel_Cell::extractAllCellReferencesInRange($ref) as $reference) { $cellBlocks = explode(' ', str_replace('$', '', strtoupper($ref)));
$docSheet->getStyle($reference)->setConditionalStyles($conditionalStyles); foreach ($cellBlocks as $cellBlock) {
$docSheet->getStyle($cellBlock)->setConditionalStyles($conditionalStyles);
} }
} }
} }

View File

@ -32,6 +32,7 @@ Planned for 1.8.2
- Feature: (MBaker) - Initial implementation of SUMIFS() function - Feature: (MBaker) - Initial implementation of SUMIFS() function
- Feature: (MBaker) - Additional codepages - Feature: (MBaker) - Additional codepages
- Feature: (Tomino2112) Work Item GH-808 - MemoryDrawing not working in HTML writer - 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): 2015-04-30 (v1.8.1):