Based on maintainer Lionel Vallet's vNext fork, includes .NET 6.0 and .NET 7.0 build target for use in cross-platform scenarios. For compatibility with .NET 7.0, the System.Drawing.Common library was replaced with the cross-platform SkiaSharp library. The Open XML PowerTools provides guidance and example code for programming with Open XML Documents (DOCX, XLSX, and PPTX). It is based on, and extends the functionality of the Open XML SDK. It supports scenarios such as: •Splitting DOCX/PPTX files into multiple files. •Combining multiple DOCX/PPTX files into a single file. •Populating content in template DOCX files with data from XML. •High-fidelity conversion of DOCX to HTML. •Searching and replacing content in DOCX/PPTX using regular expressions. •Managing tracked-revisions, including detecting tracked revisions, and accepting tracked revisions. •Updating Charts in DOCX/PPTX files, including updating cached data, as well as the embedded XLSX. •Retrieving metrics from DOCX files, including the hierarchy of styles used, the languages used, and the fonts used. •Writing XLSX files using far simpler code than directly writing the markup, including a streaming approach that enables writing XLSX files with millions of rows.
$ dotnet add package OpenXmlPowerTools.NetCoreActual Nuget Package
As you know, Microsoft has archived this repository and does not maintain it. Current repo is created from the LionelVallet/Open-Xml-PowerTools project and configured to be used only in actual versions .NET
For compatibility with .NET 7.0, the System.Drawing.Common library was replaced with the cross-platform SkiaSharp library.
About OpenXmlPowerTools
The Open XML PowerTools provides guidance and example code for programming with Open XML Documents (DOCX, XLSX, and PPTX). It is based on, and extends the functionality of the Open XML SDK.
It supports scenarios such as:
Copyright (c) Microsoft Corporation 2012-2017 Portions Copyright (c) Eric White Inc 2018-2019
Licensed under the MIT License. See License in the project root for license information.
There is a lot of content about OpenXmlPowerTools at the OpenXmlPowerTools Resource Center at OpenXmlDeveloper.org
See:
Prerequisites:
Build
With Visual Studio:
OpenXmlPowerTools.sln in Visual StudioWith .NET CLI toolchain:
dotnet build OpenXmlPowerTools.slnThis project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.