ClosedXML
DocX
Our great sponsors
ClosedXML | DocX | |
---|---|---|
26 | 7 | |
4,407 | 1,689 | |
3.1% | - | |
9.5 | 6.2 | |
8 days ago | 3 months ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ClosedXML
-
When XML in Word Became Illegal
It's also country specific.
I work on Excel library and the text to number/date feature was one of less fun things to implement at least semi-correctly.
I remember my comment on the PR back then:
https://github.com/ClosedXML/ClosedXML/pull/1899
-
Visual Studio C#: Is it possible to manipulate Excel file via Visual Studio
Once installed, you can start using ClosedXML directly in your project. Go through their wiki for some sample codes based on what you are trying to achieve in your app.
-
VBA script in Excel runs much slower is Outlook is open
There are alternatives to requiring opening the full Excel application and its resource overhead. Especially given you're simply reading, sorting, and writing. One of the most popular is CloseXML which you add via a NuGet package.
-
Any tips on converting a XLSX file to HTML without using a licensed library?
Time to dig into those open xml docs. Honestly it’s not that bad once you get your bearings. ClosedXML offers a somewhat thin wrapper as well. I’ve used these with great success but they are quite low level.
- I need a Data-Grid that I can copy/paste excel data with
-
adding cell color in Excel file using c#
ClosedXML is an open wrapper around OOXML.
- How do I get Excel column data type with OpenXml?
-
Discovered a NuGet package called ClosedXML. Takes away the pain of dealing with OpenXML
It's open-source: https://github.com/ClosedXML/ClosedXML
- Need help with reading files in C#
- Does anyone have an opensource project they'd like a hand with?
DocX
-
Is it possible to use Microsoft Word features programatically?
DocX (by XCeed, open source, non commercial use)
-
Bull converting .doc to .docx
If you still want to give it a go yourself, I'd suggest you take a look at the many code samples/API's available in VBA or C#, those could be translated to or used in PoSh. Examples: DocX Aspose.Words GemBox.Document UseOffice.Net
-
OfficeIMO - free cross-platform Microsoft Word .NET Library
No I mean https://github.com/xceedsoftware/DocX - I've owned it a few years back, but they changed license now where commercial usage is very restrictive if at all possible, but also it's limited to .NET Framework only.
-
Convert .doc to .docx using .NET 6 (not .NET Framework)
Try https://github.com/xceedsoftware/DocX instead of interops.
-
Microsoft.Office.Interop.Word ?
I high recommend don't use microsoft interops. There is great word library DocX.
-
Which package is the best for working with MS Word (.docx) documents?
Check out the DocX package: https://www.nuget.org/packages/DocX/
What are some alternatives?
Open XML SDK - Open XML SDK by Microsoft
EPPlus
NPOI - a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
ExcelDataReader - Lightweight and fast library written in C# for reading Microsoft Excel files
Report-From-DocX-HTML-To-PDF-Converter - .NET Core library to create custom reports based on Word docx or HTML documents and convert to PDF
MiniExcel - Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet (support Linux, Mac)
ExcelDna - Excel-DNA - Free and easy .NET for Excel. This repository contains the core Excel-DNA library.
ShapeCrawler - 🍂 A .NET library for manipulating PowerPoint presentations