Skip to main content
Open-Xml-PowerTools package icon

Open-Xml-PowerTools

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.

Total Downloads
2.0M
1,950,654
Published
Sep 19, 2018
Latest stable version

Install

.NET CLI
dotnet add package Open-Xml-PowerTools --version 4.4.0
Package Manager Console
Install-Package Open-Xml-PowerTools -Version 4.4.0
PackageReference
<PackageReference Include="Open-Xml-PowerTools" Version="4.4.0" />

Frameworks

.NETFramework4.5 .NETFramework4.6 .NETStandard2.0

Dependencies

DocumentFormat.OpenXml
.NETFramework4.5
[2.8.1, )
DocumentFormat.OpenXml
.NETFramework4.6
[2.8.1, )
DocumentFormat.OpenXml
.NETStandard2.0
[2.8.1, )
System.Drawing.Common
.NETStandard2.0
[4.5.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.