All Projects → ClosedXML → Closedxml.report

ClosedXML / Closedxml.report

Licence: mit
ClosedXML.Report is a tool for report generation with which you can easily export any data from your .NET classes to Excel using a XLSX-template.

Projects that are alternatives of or similar to Closedxml.report

Samples-JS-PHP
JavaScript and PHP samples for Stimulsoft Reports.PHP reporting tool.
Stars: ✭ 17 (-92.61%)
Mutual labels:  excel, reporting
Samples-ASP.NET-MVC-CSharp
ASP.NET MVC C# samples for Stimulsoft Reports.Web reporting tool.
Stars: ✭ 31 (-86.52%)
Mutual labels:  excel, reporting
Psexcel
A simple Excel PowerShell module
Stars: ✭ 234 (+1.74%)
Mutual labels:  excel, reporting
Yarg
Yet Another Report Generator - CUBA Platform reporting engine
Stars: ✭ 215 (-6.52%)
Mutual labels:  excel, reporting
Jsreport
javascript based business reporting platform 🚀
Stars: ✭ 798 (+246.96%)
Mutual labels:  excel, reporting
Samples-NET.Core-MVC-CSharp
ASP.NET Core 2.0 MVC C# samples for Stimulsoft Reports.Web reporting tool.
Stars: ✭ 28 (-87.83%)
Mutual labels:  excel, reporting
Reports.JS
Stimulsoft Reports.JS is a reporting tool for Node.js and JavaScript applications.
Stars: ✭ 33 (-85.65%)
Mutual labels:  excel, reporting
Jxls
Java library for creating Excel reports using Excel templates
Stars: ✭ 128 (-44.35%)
Mutual labels:  excel, reporting
React Csv
React components to build CSV files on the fly basing on Array/literal object of data
Stars: ✭ 732 (+218.26%)
Mutual labels:  excel, reporting
StormReport
🌀 Library - Create your reports using only annotations
Stars: ✭ 17 (-92.61%)
Mutual labels:  excel, reporting
Openvasreporting
OpenVAS Reporting: Convert OpenVAS XML report files to reports
Stars: ✭ 42 (-81.74%)
Mutual labels:  excel, reporting
Xlwings
xlwings is a BSD-licensed Python library that makes it easy to call Python from Excel and vice versa. It works with Microsoft Excel on Windows and macOS.
Stars: ✭ 2,181 (+848.26%)
Mutual labels:  excel, reporting
Vue Easytable
🍉 Table Component/ Data Grid / Data Table.Support Virtual Scroll,Column Fixed,Header Fixed,Header Grouping,Filter,Sort,Cell Ellipsis,Row Expand,Row Checkbox ...
Stars: ✭ 2,501 (+987.39%)
Mutual labels:  excel
Office Ribbonx Editor
An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
Stars: ✭ 205 (-10.87%)
Mutual labels:  excel
Koolreport
This is an Open Source PHP Reporting Framework which you can use to write perfect data reports or to construct awesome dashboards using PHP
Stars: ✭ 204 (-11.3%)
Mutual labels:  reporting
Portphp
Data import/export framework for PHP
Stars: ✭ 225 (-2.17%)
Mutual labels:  excel
Fastexcel
Fast Excel Reading and Writing in .Net
Stars: ✭ 213 (-7.39%)
Mutual labels:  excel
Img2xls
Convert images to colored cells in an Excel spreadsheet.
Stars: ✭ 200 (-13.04%)
Mutual labels:  excel
Allure Docker Service
This docker container allows you to see up to date reports simply mounting your "allure-results" directory in the container (for a Single Project) or your "projects" directory (for Multiple Projects). Every time appears new results (generated for your tests), Allure Docker Service will detect those changes and it will generate a new report automatically (optional: send results / generate report through API), what you will see refreshing your browser.
Stars: ✭ 194 (-15.65%)
Mutual labels:  reporting
Allure2
Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process
Stars: ✭ 2,596 (+1028.7%)
Mutual labels:  reporting

ClosedXML.Report

Build status Open Source Helpers NuGet Badge All Contributors

ClosedXML.Report is a tool for report generation and data analysis in .NET applications through the use of Microsoft Excel. It is a .NET-library for report generation Microsoft Excel without requiring Excel to be installed on the machine that's running the code. With ClosedXML.Report, you can easily export any data from your .NET classes to Excel using the XLSX-template.

Excel is an excellent alternative to common report generators, and using Excel’s built-in features can make your reports much more responsive. Use ClosedXML.Report as a tool for generating files of Excel. Then use Excel visual instruments: formatting (including conditional formatting), AutoFilter, Pivot tables to construct a versatile data analysis system. With ClosedXML.Report, you can move a lot of report programming and tuning into Excel. ClosedXML.Report templates are simple and our algorithms are fast – we carefully count every millisecond – so you waste less time on routine report programming and get surprisingly fast results. If you want to master such a versatile tool as Excel – ClosedXML.Report is an excellent choice. Furthermore, ClosedXML.Report doesn’t operate with the usual concepts of band-oriented report tools: Footer, Header, and Detail. So you get a much greater degree of freedom in report construction and design, and the easiest possible integration of .NET and Microsoft Excel.

For more information see the wiki

Install ClosedXML.Report via NuGet

If you want to include ClosedXML.Report in your project, you can install it directly from NuGet

To install ClosedXML.Report, run the following command in the Package Manager Console

PM> Install-Package ClosedXML.Report

or if you have a signed assembly, then use:

PM> Install-Package ClosedXML.Report.Signed

Features

  • Copying cell formatting
  • Propagation conditional formatting
  • Vertical and horizontal tables and subranges
  • Ability to implement Excel formulas
  • Using dynamically calculated formulas with the syntax of C # and Linq
  • Operations with tabular data: sorting, grouping, total functions.
  • Pivot tables
  • Subranges

How to use?

To create a report you must first create a report template. You can apply any formatting to any workbook cells, insert pictures, and modify any of the parameters of the workbook itself. In this example, we have turned off the zero values display and hidden the gridlines. ClosedXML.Report will preserve all changes to the template.

Template

template1

Code

    protected void Report()
    {
        const string outputFile = @".\Output\report.xlsx";
        var template = new XLTemplate(@".\Templates\report.xlsx");

        using (var db = new DbDemos())
        {
            var cust = db.customers.LoadWith(c => c.Orders).First();
            template.AddVariable(cust);
            template.Generate();
        }

        template.SaveAs(outputFile);

        //Show report
        Process.Start(new ProcessStartInfo(outputFile) { UseShellExecute = true });
    }

Result

result1

For more information see the wiki and tests

Credits

  • Afalinasoft team with their XLReport for the idea
  • ClosedXML team for a great library
  • Logo design by @Tobaloidee

Contributors

Thanks goes to these wonderful people (emoji key):


Rozhkov Alexey

💻 📖 👀

Aleksei

💻 🌍 👀 🚇

Francois Botha

📦

tobaloidee

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].