DocX
OfficeIMO
DocX | OfficeIMO | |
---|---|---|
7 | 8 | |
1,694 | 248 | |
- | 5.6% | |
6.2 | 9.4 | |
3 months ago | 5 days ago | |
C# | C# | |
GNU General Public License v3.0 or later | MIT License |
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.
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/
OfficeIMO
-
Get pagesetup header from a word document
While I have method that allows easy find/search for stuff in headers - https://github.com/EvotecIT/OfficeIMO/blob/master/OfficeIMO.Examples/Word/FindAndReplace/FindAndReplace01.cs
-
HTML content to Word doc using PowerShell
Just few days ago I've created a PR https://github.com/EvotecIT/OfficeIMO/pull/104 that allows to embed RTF/HTML inside word with a single command.
-
If Powershell commands can be ran from C# should I favor writing scripts in C# since I’m more comfortable with C#?
For example: - https://github.com/EvotecIT/ImagePlayground - C# lib that takes care of those hard things in c#, and then PowerShell that just interacts with that lib in PowerShell - https://github.com/EvotecIT/OfficeIMO - C# lib that manage Word, and then https://github.com/EvotecIT/PSWriteOffice which takes that c# library and wraps around it to make it easy for day to day users, and for me to do some PowerShell magic with it without having to do some things I don't want in C#.
-
Extract all text from Microsoft Word document?
https://github.com/EvotecIT/PSWriteOffice based on - https://github.com/EvotecIT/OfficeIMO (C#)
-
Combining binary cmdlets with C#/.NET library/DLL
I wrote https://github.com/EvotecIT/OfficeIMO which is C# Library, which I then use in PowerShell module https://github.com/EvotecIT/PSWriteOffice along with other DLL libraries and expose those using verb-noun (in PowerShell).
- Using PS to interact with Office, specifically Word. Is it possible? Is it worth it? Can I automate it? Is there a better alternative?
-
OfficeIMO - free cross-platform Microsoft Word .NET Library
Sources: https://github.com/EvotecIT/OfficeIMO
What are some alternatives?
EPPlus
NPOI - a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
ClosedXML - ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.
Markdown2Docx-PS - Very Simple, Easy and quick! Written in PowerShell, and with the help of Pandoc!
PSWriteOffice - Experimental PowerShell Module to create and edit Microsoft Word, Microsoft Excel, and Microsoft PowerPoint documents without having Microsoft Office installed.
Open XML SDK - Open XML SDK by Microsoft
ConsoleMonster - ConsoleMonster is a PowerShell module to build cool GUI applications using Spectre Console and Terminal GUI.
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
ImagePlayground - ImagePlayground is a PowerShell module that provides a set of functions for image processing. Among other things it can create QRCodes, BarCodes, Charts, and do image processing that can help with daily tasks.
ExcelDna - Excel-DNA - Free and easy .NET for Excel. This repository contains the core Excel-DNA library.