GoWorkPro.ExcelBuilder
2.1.0-dev
See the version list below for details.
dotnet add package GoWorkPro.ExcelBuilder --version 2.1.0-dev
NuGet\Install-Package GoWorkPro.ExcelBuilder -Version 2.1.0-dev
<PackageReference Include="GoWorkPro.ExcelBuilder" Version="2.1.0-dev" />
paket add GoWorkPro.ExcelBuilder --version 2.1.0-dev
#r "nuget: GoWorkPro.ExcelBuilder, 2.1.0-dev"
// Install GoWorkPro.ExcelBuilder as a Cake Addin #addin nuget:?package=GoWorkPro.ExcelBuilder&version=2.1.0-dev&prerelease // Install GoWorkPro.ExcelBuilder as a Cake Tool #tool nuget:?package=GoWorkPro.ExcelBuilder&version=2.1.0-dev&prerelease
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! For More Information See https://goworkpro.github.io/Excel-Builder-Utility/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
-
net5.0
- 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.
Fixed Styles related issues
Added Styles for Border Color