Merged Cells not parsed if in "readonly" mode #2681
MattInventPartners
started this conversation in
Ideas
Replies: 1 comment
-
That's because the "structure" of the spreadsheet isn't data; so it depends on your definition of "incorrectly". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Took me quite a while to find this one.
In Reader/Xlsx.php, we have the following:
Line 877:
if ($xmlSheet && $xmlSheet->mergeCells && $xmlSheet->mergeCells->mergeCell && !$this->readDataOnly) {
The net effect is that if the sheet is opened in "readonly" mode, it won't find any of the mergedCells, and other methods such as:
cell::isInMergeRange()
cell::isMergeRangeValueCell()
cell::getMergeRange()
...incorrectly return false for merged cells.
Beta Was this translation helpful? Give feedback.
All reactions