Skip to content

v1.17.0

Compare
Choose a tag to compare
@sveinungf sveinungf released this 07 Sep 22:52
· 217 commits to main since this release

Features

  • Support for named styles. A named style is created by passing the name as the second argument to Spreadsheet.AddStyle. An optional visibility parameter can also be set that determines if the style name should be visible in Excel.
  • Source generator: Support for using styling (#44). The CellStyle attribute can now be placed on a property to reference a named style. More details with an example in the wiki.
  • Source generator: Support for custom converters to control how property values are mapped to cells (#67). This is done by implementing CellValueConverter<T> and using it on a property with the CellValueConverter attribute. More details with an example in the wiki. Thanks to @Ashymonth for the contribution!
  • StyledCell and Cell now have new constructors so they can be created from DataCell.

Performance improvements

  • Minor improvements to generated IL for SpreadsheetUtility methods.