Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ignatandrei/exporter
Export to Office(Excel,Word) , Pdf,OpenDocumentFormat( ODS,ODT )from Classes/DataSet/DataTable/IDataReader/JSON/CSV/RSS/
https://github.com/ignatandrei/exporter
Last synced: 5 days ago
JSON representation
Export to Office(Excel,Word) , Pdf,OpenDocumentFormat( ODS,ODT )from Classes/DataSet/DataTable/IDataReader/JSON/CSV/RSS/
- Host: GitHub
- URL: https://github.com/ignatandrei/exporter
- Owner: ignatandrei
- License: apache-2.0
- Created: 2016-01-02T15:22:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-11T07:58:48.000Z (about 2 years ago)
- Last Synced: 2024-04-15T03:09:36.693Z (8 months ago)
- Language: C#
- Homepage: http://exporter.azurewebsites.net/
- Size: 2.66 MB
- Stars: 93
- Watchers: 13
- Forks: 30
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exporter
[![Join the chat at https://gitter.im/ignatandrei/Exporter](https://badges.gitter.im/ignatandrei/Exporter.svg)](https://gitter.im/ignatandrei/Exporter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Export a list/array to Office(Excel,Word) , Pdf, Html,Open Document Format for Office Applications (ODF ) (ODT - OpenDocument Text, ODS - OpenDocument Spreadsheet)The data could be a C# class or a JSON string or a CSV string or a DataTable
NuGet package at https://www.nuget.org/packages/ExporterWordExcelPDF/
The source code has tests and a console project for easy testing the package
[![Build status](https://ci.appveyor.com/api/projects/status/w4w6k0kxu2cide0m/branch/master?svg=true)](https://ci.appveyor.com/project/ignatandrei/exporter/branch/master)
Code examples in C# / JavaScript at
Demo online at
You can contribute to the project - read
PS: Just to make you an idea, this can be the code to export to Excel
```csharp
List listWithPerson = ... //obtained from database
var export=new ExportExcel2007();
var data = export.ExportResult(listWithPerson);
File.WriteAllBytes("a.xlsx", data);
Process.Start("a.xlsx");
```
(Do not forget
```csharp
using ExporterObjects;
using ExportImplementation;
```
)You can also watch video tutorials at [YouTube](https://www.youtube.com/playlist?list=PL4aSKgR4yk4MqsH5M-f1f5YLVG-nwr4FG)
But is better to read the [Wiki](https://github.com/ignatandrei/Exporter/wiki)
# Support this software
This software is available for free and all of its source code is public domain. If you want further modifications, or just to show that you appreciate this, money are always welcome.
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/ignatandrei1970/25)
* $5 for a cup of coffee
* $10 for pizza
* $25 for a lunch or two
* $100+ for upgrading my development environment