GoWorkPro.ExcelBuilder
1.2.0
See the version list below for details.
dotnet add package GoWorkPro.ExcelBuilder --version 1.2.0
NuGet\Install-Package GoWorkPro.ExcelBuilder -Version 1.2.0
<PackageReference Include="GoWorkPro.ExcelBuilder" Version="1.2.0" />
paket add GoWorkPro.ExcelBuilder --version 1.2.0
#r "nuget: GoWorkPro.ExcelBuilder, 1.2.0"
// Install GoWorkPro.ExcelBuilder as a Cake Addin #addin nuget:?package=GoWorkPro.ExcelBuilder&version=1.2.0 // Install GoWorkPro.ExcelBuilder as a Cake Tool #tool nuget:?package=GoWorkPro.ExcelBuilder&version=1.2.0
ExcelBuilder Author: Samer Shahbaz Create Date: 06/11/2023
Description The ExcelBuilder utility is developed on top of the ClosedXML.Excel package, providing a convenient wrapper for creating Excel sheets without requiring an in-depth understanding of ClosedXML.Excel.
Features Simplified Excel Sheet Development: Easily create Excel sheets without extensive knowledge of ClosedXML.Excel. Table Creation: Build tables with rows, columns, and customizable styles. Rich Text Support: Support for rich text formatting within cells. Cell and Column Styling: Customize cell and column styles, including font, alignment, borders, and more. Flexibility: Build multiple worksheets with different tables in a single workbook. Usage Create ExcelBuilder Instance: var excelBuilder = ExcelBuilder.Datasets( new ExcelTable( new ExcelRow("Header1", "Header2"), new ExcelRow("Data1", "Data2") ) );
Custom Styling: var customStyle = new ExcelTable.CellStyle { FontBold = true, FontColor = XLColor.Blue, // ... other style configurations };
var excelBuilder = ExcelBuilder.Datasets( new ExcelTable( new ExcelRow(customStyle, "Bold Blue Header", "Another Header"), new ExcelRow("Data1", "Data2") ) );
Save to File: using (var file = excelBuilder.SaveAsFile("example.xlsx")) { // Perform additional operations or return the file stream }
Retrieve Worksheet: var worksheet = excelBuilder.GetWorksheet("Sheet1");
Stream Output: var excelStream = excelBuilder.GetStream(); // Use the stream as needed
Important Notes At least one table is required to build an Excel sheet. The utility is built on the ClosedXML.Excel package (version: 1.0.0).
See more details on our project site Feel free to contribute, report issues, or suggest improvements!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- ClosedXML (>= 0.102.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.