SpreadsheetLight.Cross.Platform
10.0.0
dotnet add package SpreadsheetLight.Cross.Platform --version 10.0.0
NuGet\Install-Package SpreadsheetLight.Cross.Platform -Version 10.0.0
<PackageReference Include="SpreadsheetLight.Cross.Platform" Version="10.0.0" />
<PackageVersion Include="SpreadsheetLight.Cross.Platform" Version="10.0.0" />
<PackageReference Include="SpreadsheetLight.Cross.Platform" />
paket add SpreadsheetLight.Cross.Platform --version 10.0.0
#r "nuget: SpreadsheetLight.Cross.Platform, 10.0.0"
#:package SpreadsheetLight.Cross.Platform@10.0.0
#addin nuget:?package=SpreadsheetLight.Cross.Platform&version=10.0.0
#tool nuget:?package=SpreadsheetLight.Cross.Platform&version=10.0.0
SpreadsheetLight Cross Platform
This project is a fork of the SpreadsheetLight library.
The purpose of this fork is to create a version of the library that runs on .NET Core and is also capable of running in cross-platform environments.
The library uses System.Drawing.Common, which required some platform checks to ensure those code sections only run on Windows machines. This does mean that certain features will not work on other platforms, these features will typically silently fail. Identified so far:
.InsertPicture()method Issue Reference
Versioning Notice
As of version 10.0.0, SpreadsheetLight Cross Platform has adopted a new versioning scheme that aligns its major version with the .NET major version it targets. This change is intended to provide better clarity and consistency with regard to supported frameworks.
Going forward, the major version of SpreadsheetLight Cross Platform will correspond to the major version of .NET it targets (e.g., SpreadsheetLight Cross Platform 10.x.x targets .NET 10). The minor and patch versions are used for library-specific updates and do not map to .NET's minor or SDK versions.
Getting Started
These instuctions can be used to acquire and implement the library.
Installation
To use this library either clone a copy of the repository or check out the NuGet package
Usage
Here are some examples, there are more in the examples directory. You can run all of them by executing the Test-Examples.ps1 PowerShell script found in that directory.
- The Hello World
- How to modify an existing spreadsheet
- How to format numbers and dates
- How to set font settings
- How to copy cells
- How to merge and unmerge cells
- How to autofit row heights and column widths
- How to insert hyperlinks
- How to insert tables
- How to import data from a DataTable
Authors
- Vincent Tan
- NF Software Inc.
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
Thank you to:
- Freepik for the project icon
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- DocumentFormat.OpenXml (>= 2.18.0 && < 3.0.0)
- System.Drawing.Common (>= 8.0.0 && < 11.0.0)
-
net8.0
- DocumentFormat.OpenXml (>= 2.18.0 && < 3.0.0)
- System.Drawing.Common (>= 8.0.0 && < 11.0.0)
-
net9.0
- DocumentFormat.OpenXml (>= 2.18.0 && < 3.0.0)
- System.Drawing.Common (>= 8.0.0 && < 11.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on SpreadsheetLight.Cross.Platform:
| Package | Downloads |
|---|---|
|
SharpLightReporting
SharpLightReporting is a .Net reporting system where developers design a report using excel like software and insert supported template markers for dynamic content and method calls. This dynamic content is defined in a custom backing class (ReportData class) where custom properties behave as the source for this dynamic content and custom methods could be used to change the data like NextRecord() etc. resulting in a very easy, simple and flexible reporting system. |
|
|
EfServerTools
Ef Server Tools |
|
|
SpreadsheetUtility
Ultra lightweight spreadsheet utility to display processed collections of data and occasionally reading it. |
GitHub repositories
This package is not used by any popular GitHub repositories.
10.0.0 Add support for .NET 10.0
3.7.0 Drop support for .NET 6.0 and add support for .NET 9.0
3.6.0 Drop support for .NET 7.0, Enable use in .NET 9.0, Bugfix for ArgumentOutOfRangeException on SLDocument creation on Linux (Issue #5)
3.5.8 Bugfix for NullReferenceException on SLDocument creation on Linux (PR #4)
3.5.7 Add DateOnly and TimeOnly support to SetCellValue and ImportDataTable
3.5.6 Fix issue causing InvalidOperationException
3.5.5 Update publishing to include source link, deterministic, and compiler flags
3.5.4 Prevent using with DocumentFormat.OpenXml >= 3.0.0 due to breaking changes
3.5.3 Update to enable multi-targeting for .NET 6.0, .NET 7.0, and .NET 8.0
3.5.2 Add project icon, include XML documentation
3.5.1 Update to move to .NET 6.0 and improve cross platform compatibility
3.5.0 Original release from https://spreadsheetlight.com/