Open-Xml-PowerTools 4.4.0

Install-Package Open-Xml-PowerTools -Version 4.4.0
dotnet add package Open-Xml-PowerTools --version 4.4.0
<PackageReference Include="Open-Xml-PowerTools" Version="4.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Open-Xml-PowerTools --version 4.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Open-Xml-PowerTools, 4.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Open-Xml-PowerTools as a Cake Addin
#addin nuget:?package=Open-Xml-PowerTools&version=4.4.0

// Install Open-Xml-PowerTools as a Cake Tool
#tool nuget:?package=Open-Xml-PowerTools&version=4.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


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 2016-2017 Licensed under the Microsoft Public License. See License.txt in the project root for license information.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Open-Xml-PowerTools:

Package Downloads

SiteServer CMS

word excel 转 html 实现


The library allows to generate .*docx document based on the provided *.docx template and model.


WE@ Infrastructure project for use in api project

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Open-Xml-PowerTools:

Repository Stars
SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
Version Downloads Last updated
4.4.0 251,660 9/19/2018