OpenXmlPowerTools.Core 1.0.0

dotnet add package OpenXmlPowerTools.Core --version 1.0.0                
NuGet\Install-Package OpenXmlPowerTools.Core -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenXmlPowerTools.Core" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenXmlPowerTools.Core --version 1.0.0                
#r "nuget: OpenXmlPowerTools.Core, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenXmlPowerTools.Core as a Cake Addin
#addin nuget:?package=OpenXmlPowerTools.Core&version=1.0.0

// Install OpenXmlPowerTools.Core as a Cake Tool
#tool nuget:?package=OpenXmlPowerTools.Core&version=1.0.0                

OpenXmlPowerTools Content

This branch is created to support .net 8.0 and the latest version of DocumentFormat.OpenXml, 3.0.0 There are multiple breaking changes in DocumentFormat.OpenXml 3.0, which are explained on their package site, and seemed pretty easy to fix. I haven't really tested this - but it seems to work for my little project.

OpenXmlPowerTools.NetCore

Actual 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:

  • 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/CSS.
  • High-fidelity conversion of HTML/CSS to DOCX.
  • 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.
  • Comparing two DOCX files, producing a DOCX with revision tracking markup, and enabling retrieving a list of revisions.
  • 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.
  • Extracting data (along with formatting) from spreadsheets.

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.


OpenXmlPowerTools Content

There is a lot of content about OpenXmlPowerTools at the OpenXmlPowerTools Resource Center at OpenXmlDeveloper.org

See:


Build Instructions

Prerequisites:

  • Visual Studio 2022 or .NET CLI toolchain

Build

With Visual Studio:

  • Open OpenXmlPowerTools.sln in Visual Studio
  • Rebuild the project
  • Build the solution. To validate the build, open the Test Explorer. Click Run All.
  • To run an example, set the example as the startup project, and press F5.

With .NET CLI toolchain:

  • Run dotnet build OpenXmlPowerTools.sln

This 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.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 922 7/10/2024

.netCore 8, openxml 3.0.0 migrated