Skip to content

Conversation

@michelebastione
Copy link
Contributor

@michelebastione michelebastione commented Mar 18, 2025

Edit

- When trying to save an excel file with a sheet name of more than 31 charachters in length the program now throws an exception instead of writing a potentially broken document
- Some test and code cleanup
- Added options TrimColumnNames and IgnoreEmptyRows to OpenXmlConfiguration. The first one allows properties to be mapped to column names even if they have whitespace or newline padding, the second one skips rows whose values are all null instead of instantiating a class with all values set to default (in the case of strong type mapping)
- Added tests and samples for afermonetioned options
- Refactored the ExcelOpenXmlSheetReader logic that reads the headers of an excel file and moved it to the CustomPropertyHelper class
- General code and test cleanup
Restoring after reset
Added exception throw for sheet name to long to Insert method as well.
@izanhzh izanhzh self-requested a review March 19, 2025 00:51
@michelebastione michelebastione merged commit 05c8062 into mini-software:master Mar 19, 2025
3 checks passed
@michelebastione michelebastione linked an issue Mar 21, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants