DocumentFormat.OpenXml
2.10.0-beta0001
See the version list below for details.
dotnet add package DocumentFormat.OpenXml --version 2.10.0-beta0001
NuGet\Install-Package DocumentFormat.OpenXml -Version 2.10.0-beta0001
<PackageReference Include="DocumentFormat.OpenXml" Version="2.10.0-beta0001" />
paket add DocumentFormat.OpenXml --version 2.10.0-beta0001
#r "nuget: DocumentFormat.OpenXml, 2.10.0-beta0001"
// Install DocumentFormat.OpenXml as a Cake Addin #addin nuget:?package=DocumentFormat.OpenXml&version=2.10.0-beta0001&prerelease // Install DocumentFormat.OpenXml as a Cake Tool #tool nuget:?package=DocumentFormat.OpenXml&version=2.10.0-beta0001&prerelease
The Open XML SDK provides tools for working with Office Word, Excel, and PowerPoint documents. It supports scenarios such as:
- High-performance generation of word-processing documents, spreadsheets, and presentations.
- Populating content in Word files from an XML data source.
- Splitting up (shredding) a Word or PowerPoint file into multiple files, and combining multiple Word/PowerPoint files into a single file.
- Extraction of data from Excel documents.
- Searching and replacing content in Word/PowerPoint using regular expressions.
- Updating cached data and embedded spreadsheets for charts in Word/PowerPoint.
- Document modification, such as removing tracked revisions or removing unacceptable content from documents.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.6
- System.IO.Packaging (>= 4.5.0)
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- System.IO.Packaging (>= 4.5.0)
- System.Runtime.Serialization.Xml (>= 4.3.0)
-
.NETStandard 2.0
- System.IO.Packaging (>= 4.5.0)
NuGet packages (779)
Showing the top 5 NuGet packages that depend on DocumentFormat.OpenXml:
Package | Downloads |
---|---|
ClosedXML
See release notes https://github.com/ClosedXML/ClosedXML/releases/tag/0.104.2 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. |
|
Omnia.Fx.NetCore
Package Description |
|
Microting.eForm
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. |
|
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 (62)
Showing the top 5 popular GitHub repositories that depend on DocumentFormat.OpenXml:
Repository | Stars |
---|---|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
|
|
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.
|
|
radzenhq/radzen-blazor
Radzen Blazor is a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.
|
|
mini-software/MiniExcel
Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet (support Linux, Mac)
|
Version | Downloads | Last updated |
---|---|---|
3.2.0 | 46,602 | 11/22/2024 |
3.1.1 | 628,210 | 10/16/2024 |
3.1.0 | 1,478,951 | 7/30/2024 |
3.0.2 | 3,148,770 | 3/14/2024 |
3.0.1 | 2,680,224 | 1/9/2024 |
3.0.0 | 1,207,616 | 11/15/2023 |
3.0.0-beta0003 | 23,315 | 9/5/2023 |
3.0.0-beta0002 | 20,178 | 6/14/2023 |
2.20.0 | 11,094,504 | 4/6/2023 |
2.19.0 | 5,192,976 | 12/14/2022 |
2.18.0 | 5,855,478 | 9/7/2022 |
2.17.1 | 3,373,709 | 6/30/2022 |
2.16.0 | 35,049,117 | 3/15/2022 |
2.15.0 | 5,506,451 | 12/17/2021 |
2.14.0 | 2,262,487 | 10/28/2021 |
2.14.0-beta0001 | 21,701 | 9/20/2021 |
2.13.1 | 3,347,666 | 8/18/2021 |
2.13.0 | 4,258,336 | 5/13/2021 |
2.13.0-beta0002 | 6,909 | 4/20/2021 |
2.13.0-beta0001 | 15,015 | 3/10/2021 |
2.12.3 | 3,357,248 | 2/24/2021 |
2.12.2 | 375,343 | 2/17/2021 |
2.12.1 | 2,093,855 | 1/11/2021 |
2.12.0 | 2,314,481 | 12/15/2020 |
2.11.3 | 8,032,496 | 7/17/2020 |
2.11.2 | 323,346 | 7/10/2020 |
2.11.1 | 8,383 | 7/10/2020 |
2.11.0 | 2,241,085 | 5/21/2020 |
2.11.0-beta0001 | 48,410 | 3/25/2020 |
2.10.1 | 4,958,383 | 2/28/2020 |
2.10.0 | 2,075,406 | 1/10/2020 |
2.10.0-beta0002 | 286,631 | 7/11/2019 |
2.10.0-beta0001 | 68,665 | 6/10/2019 |
2.9.1 | 10,279,171 | 3/13/2019 |
2.9.0 | 1,184,703 | 1/25/2019 |
2.8.1 | 8,788,918 | 1/6/2018 |
2.8.0 | 163,255 | 12/30/2017 |
2.7.2 | 49,512,334 | 6/7/2017 |
2.7.1 | 552,569 | 5/1/2017 |
2.5.0 | 13,460,462 | 8/4/2013 |
1.0.0 | 1,971,505 | 6/18/2011 |
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## Version 2.10.0
### Added
- Added initial Office 2016 support, including `FileFormatVersion.Office2016`, `ExtendedChartPart` and other new schema elements (#586)
- Added .NET Standard 2.0 target (#587)
- Exposed `IXmlNamespaceResolver` from `XmlPath` instead of formatted list of strings to expose namespace/prefix mapping (#536)
- Implemented `IComparable<T>` and `IEquatable<T>` on `OpenXmlComparableSimpleValue` to allow comparisons without boxing (#550)
### Changes
- Consolidated data for element children/properties to reduce duplication (#540, #547, #548)
### Fixed
- Fixed some documentation inconsistencies (#582)
## Version 2.9.1 - 2019-03-13
### Changed
- Added a workaround for a .NET Native compiler issue that doesn't support calling Marshal.SizeOf<T> with a struct that contains auto-implemented properties (#569)
- Fixed a documentation error (#528)
## Version 2.9.0 - 2018-06-08
### Added
- `ListValue` now implements `IEnumerable<T>` (#385)
- Added a `WebExtension.Frozen` and obsoleted misspelled `Fronzen` property (#460)
- Added an `OpenXmlPackage.CanSave` property that indicates whether a platform supports saving without closing the package (#468)
- Simple types (except `EnumValue` and `ListValue`) now implement `IComparable<T>` and `IEquatable<T>` (#487)
### Changed
- Removed state that was carried in validators that would hold onto packages when not in use (#390)
- `EnumSimpleType` parsing was improved and uses less allocations and caches for future use (#408)
- Fixed a number of spelling mistakes in documentation (#462)
- When calling `OpenXmlPackage.Save` on .NET Framework, the package is now flushed to the stream (#468)
- Fixed race condition while performing strict translation of attributes (#480)
- Schema data for validation uses a more compact format leading to a reduction in dll size and performance improvements for loading (#482, #483)
- A number of APIs are marked as obsolete as they have simple workarounds and will be removed in the next major change
- Fixed some constraint values for validation that contained Office 2007, even when it was only supported in later versions
- Updated `System.IO.Packaging` to 4.5.0 which fixes some issues on Xamarin platforms as well as minimizes dependencies on .NET Framework
## Version 2.8.1 - 2018-01-03
### Changed
- Corrected package license file reference to show updated MIT License
## Version 2.8.0 - 2017-12-28
### Added
- Default runtime directive for better .NET Native support.
### Changed
- Fixed part saving to be encoded with UTF8 but no byte order mark. This caused some renderers to not be able to open the generated document.
- Fixed exceptions thrown when errors are encountered while opening packages to be consistent across platforms.
- Fixed issue on Mono platforms using System.IO.Packaging NuGet package (Xamarin, etc) when creating a document.
- Fixed manual saving of a package when autosave is false.
- Fixed schema constraint data and standardized serialization across platforms.
- Upgraded to `System.IO.Packaging` version 4.4.0 which fixes some consistency with .NET Framework in opening packages.
## Version 2.7.2 - 2017-06-06
### Added
- Package now supports .NET 3.5 and .NET 4.0 in addition to .NET Standard 1.3 and .NET Framework 4.6
### Changed
- Fixed issue where assembly version wasn't set in assembly.
## Version 2.7.1 - 2017-01-31
### Changed
- Fixed crash when validation is invoked on .NET Framework with strong-naming enforced.
## Version 2.7.0 - 2017-01-24
### Added
- SDK now supports .NET Standard 1.3
### Changed
- 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 - 2016-01-15
### Added
- 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 - 2015-06-29
### Added
- Incorporated a replacement `System.IO.Packaging` that fixes some serious (but exceptional) bugs found in the WindowsBase implementation