Skip to content

Commit

Permalink
General: (rentalhost) Work Item PHPOfficeGH-575 - Excel 2007 Reader f…
Browse files Browse the repository at this point in the history
…reezes because of conditional formatting
  • Loading branch information
MarkBaker committed Mar 22, 2016
1 parent 79f9521 commit 7fa1609
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Classes/PHPExcel/Reader/Excel2007.php
Original file line number Diff line number Diff line change
Expand Up @@ -960,8 +960,9 @@ public function load($pFilename)
}

// 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);
}
}
}
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7fa1609

Please sign in to comment.