Parse commas in print area (#263)
* add method to format the defined names if a comma exists in the sheet name

* add Excel workbook to test loading of sheets with commas in them (when they have a print area)

* Regex change to make sure all tests pass successfully

* use String.Format instead of new fangled string interpolation.

* Improve defined name parsing.

* Add unit test for references to a sheet with commas in the name

* Add unit tests and adjust CalcEngine to allow enclosing characters around identifiers

* Reformat code using CodeMaid

* Don't use C#6 syntax for dictionary initialiser.
1 parent 5b3c176 commit 865472fa987e7bb4aaf3ba3b2694b461a329cacf
@Francois Botha Francois Botha authored on 11 Apr 2017
GitHub committed on 11 Apr 2017
Showing 9 changed files
View
ClosedXML/Excel/CalcEngine/CalcEngine.cs
View
ClosedXML/Excel/CalcEngine/XLCalcEngine.cs
View
ClosedXML/Excel/XLWorkbook_Load.cs
View
ClosedXML/Excel/XLWorksheets.cs
View
ClosedXML_Tests/ClosedXML_Tests.csproj
View
ClosedXML_Tests/Excel/Loading/LoadingTests.cs
View
ClosedXML_Tests/Excel/Misc/FormulaTests.cs
View
ClosedXML_Tests/Excel/Worksheets/XLWorksheetTests.cs
View
ClosedXML_Tests/Resource/Misc/LoadSheetsWithCommas.xlsx 0 → 100644
Not supported