DocumentFormat.OpenXml 2.7.2

.NET Standard 1.3 .NET Framework 3.5
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package DocumentFormat.OpenXml -Version 2.7.2
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.
dotnet add package DocumentFormat.OpenXml --version 2.7.2
<PackageReference Include="DocumentFormat.OpenXml" Version="2.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DocumentFormat.OpenXml --version 2.7.2
#r "nuget: DocumentFormat.OpenXml, 2.7.2"
#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 DocumentFormat.OpenXml as a Cake Addin
#addin nuget:?package=DocumentFormat.OpenXml&version=2.7.2

// Install DocumentFormat.OpenXml as a Cake Tool
#tool nuget:?package=DocumentFormat.OpenXml&version=2.7.2

The Open XML SDK provides open-source libraries for working with Open XML Documents (DOCX, XLSX, and PPTX). It supports scenarios such as:

- High-performance generation of word-processing documents, spreadsheets, and presentations.
- Populating content in DOCX files from an XML data source.
- Splitting up (shredding) a DOCX or PPTX file into multiple files, and combining multiple DOCX / PPTX files into a single file.
- High fidelity conversion of DOCX => HTML/CSS and HTML/CSS => DOCX.
- Extraction of data from XLSX.
- Searching and replacing content in DOCX / PPTX using regular expressions.
- Updating cached data and embedded spreadsheets for charts in DOCX / PPTX.
- Document modification, such as removing tracked revisions or removing unacceptable content from documents.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (504)

Showing the top 5 NuGet packages that depend on DocumentFormat.OpenXml:

Package Downloads
ClosedXML

Package Description

Omnia.Fx.NetCore

Package Description

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

Microting.eForm

Package Description

SpreadsheetLight

SpreadsheetLight is an open source Open XML spreadsheet .NET library written in C#, and is released under the MIT License. You can create new Open XML spreadsheets, or work with existing Open XML spreadsheets that are compatible with Microsoft Excel 2007/2010/2013 and LibreOffice Calc. No Office/Excel Interop needed. You do not need Microsoft Office/Excel to be installed.

GitHub repositories (50)

Showing the top 5 popular GitHub repositories that depend on DocumentFormat.OpenXml:

Repository Stars
ClosedXML/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.
FastReports/FastReport
Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports
radzenhq/radzen-blazor
Radzen Blazor is a set of 60+ free native Blazor UI controls packed with DataGrid, Scheduler, Charts and robust theming including Material design.
DynamoDS/Dynamo
Open Source Graphical Programming for Design
mini-software/MiniExcel
Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet
Version Downloads Last updated
2.18.0 127,729 9/7/2022
2.17.1 610,496 6/30/2022
2.16.0 2,400,873 3/15/2022
2.15.0 1,887,767 12/17/2021
2.14.0 895,324 10/28/2021
2.14.0-beta0001 11,647 9/20/2021
2.13.1 1,640,029 8/18/2021
2.13.0 2,091,478 5/13/2021
2.13.0-beta0002 2,886 4/20/2021
2.13.0-beta0001 7,873 3/10/2021
2.12.3 1,768,187 2/24/2021
2.12.2 196,739 2/17/2021
2.12.1 971,752 1/11/2021
2.12.0 816,068 12/15/2020
2.11.3 4,039,710 7/17/2020
2.11.2 198,801 7/10/2020
2.11.1 2,842 7/10/2020
2.11.0 1,353,874 5/21/2020
2.11.0-beta0001 36,939 3/25/2020
2.10.1 2,573,810 2/28/2020
2.10.0 1,253,472 1/10/2020
2.10.0-beta0002 164,593 7/11/2019
2.10.0-beta0001 58,953 6/10/2019
2.9.1 6,326,644 3/13/2019
2.9.0 822,671 1/25/2019
2.8.1 6,192,829 1/6/2018
2.8.0 118,979 12/30/2017
2.7.2 24,687,916 6/7/2017
2.7.1 388,520 5/1/2017
2.5.0 9,211,443 8/4/2013
1.0.0 1,300,692 6/18/2011

2.7.1 : January 31, 2017
-Fixed crash when validation is invoked on .NET Framework with strong-naming enforced

Version 2.7.0 : January 24, 2017
- Added support for .NET Standard 1.3
- Moved to using System.IO.Packaging from dotnet/corefx for .NET Standard 1.3 and WindowsBase for .NET 4.5
- Cleaned up project build system to use .NET CLI

Version 2.6.1 : January 15, 2016
- Added hundreds of XUnit tests. There are now a total of 1333 tests. They take about 20 minutes to run, so be patient.

Version 2.6.0 : June 29, 2015
- The big feature in 2.6 is the inclusion of a replacement for System.IO.Packaging, which has a serious bug that causes it (albeit rarely and in specific circumstances) to throw exceptions (ObjectDisposedException and NullReferenceException). You can find out more about this bug and whether it affects you in [the blog post that announces the release of the new System.IO.Packaging] (http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2015/06/29/announcing-the-release-of-a-new-system-io-packaging-implementation.aspx).