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.
$ dotnet add package DocumentFormat.OpenXml.FrameworkLow-level infrastructure and shared primitives used by the Open XML SDK libraries.
Most consumers should reference DocumentFormat.OpenXml (and optionally DocumentFormat.OpenXml.Linq) directly. This package is intended primarily for advanced scenarios and library authors extending the SDK.
Typical usage is indirect, via DocumentFormat.OpenXml types such as OpenXmlElement, OpenXmlPart, and related infrastructure.