7ddf6ccf41
I wanted to investigate #1523, but I couldn't duplicate its results because the sample code in the issue caused an Exception to be thrown. The exception happened because, when the Print Range Set method is set to Insert (as oppposed to Overwrite), and the Print Range is empty, it is created with a leading or trailing comma, and Writer/Xlsx objects. This is, in a sense, a user error, but the software should be more resilient. This can be accomplished by ensuring that no leading or trailing comma is generated when Print Range is empty. This code change fixes that problem. Since I couldn't reproduce the original, I can't say for sure that it fixes it. However, with the sample code provided, I can write a spreadsheet which Excel reads without any problems, so it probably fixes the original. Closes #1544 Fixes #1523 |
||
---|---|---|
.. | ||
Calculation | ||
Cell | ||
Chart | ||
Collection | ||
Custom | ||
Functional | ||
Helper | ||
Reader | ||
Shared | ||
Style | ||
Worksheet | ||
Writer | ||
DocumentGeneratorTest.php | ||
IOFactoryTest.php | ||
ReferenceHelperTest.php | ||
SettingsTest.php | ||
SpreadsheetTest.php |