https://github.com/dotnet-campus/documentformat.openxml.extensions
The OpenXML SDK extensions. Including libraries and tools.
https://github.com/dotnet-campus/documentformat.openxml.extensions
dotnet dotnet-tool dotnetcampus maui openxml-sdk uno-platform wpf-application
Last synced: 12 months ago
JSON representation
The OpenXML SDK extensions. Including libraries and tools.
- Host: GitHub
- URL: https://github.com/dotnet-campus/documentformat.openxml.extensions
- Owner: dotnet-campus
- License: mit
- Created: 2020-07-23T04:17:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-19T07:36:28.000Z (over 1 year ago)
- Last Synced: 2025-06-01T05:30:07.022Z (about 1 year ago)
- Topics: dotnet, dotnet-tool, dotnetcampus, maui, openxml-sdk, uno-platform, wpf-application
- Language: C#
- Homepage:
- Size: 627 KB
- Stars: 27
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# DocumentFormat.OpenXml.Extensions
[中文](README.zh-cn.md) | [English](README.md)
The OpenXML SDK extensions. Including libraries and tools.
| Build |
|--|
||
# Tools
## dotnetCampus.OfficeDocumentZipper
A dotnet tool to assist in editing Office document files
### Usage
```
dotnet tool update -g dotnetCampus.OfficeDocumentZipper
OfficeDocumentZipper
```
### Feature
- Unzip pptx docx xlsx file
- Zip directory to pptx docx xlsx file
- Convert OpenXML unit

# Libraries
| Name | NuGet|
|--|--|
|dotnetCampus.OpenXMLUnitConverter|[](https://www.nuget.org/packages/dotnetCampus.OpenXMLUnitConverter)|
|dotnetCampus.OpenXMLUnitConverter.Source|[](https://www.nuget.org/packages/dotnetCampus.OpenXMLUnitConverter.Source)|
|dotnetCampus.DocumentFormat.OpenXml.Flatten|[](https://www.nuget.org/packages/dotnetCampus.DocumentFormat.OpenXml.Flatten)|
|dotnetCampus.DocumentFormat.OpenXml.Flatten.Source|[](https://www.nuget.org/packages/dotnetCampus.DocumentFormat.OpenXml.Flatten.Source)|
## dotnetCampus.OpenXMLUnitConverter
Defining units for OpenXml properties and the unit conversion function.
### Install
DLL Pakcage:
```xml
```
[SouceYard](https://github.com/dotnet-campus/SourceYard) Package:
```xml
all
runtime; build; native; contentfiles; analyzers
```
### Usage
The sample:
```csharp
void Foo(DocumentFormat.OpenXml.Drawing.Point2DType point)
{
var x = new Emu(point.X);
var pixelValue = x.ToPixel();
var cmValue = x.ToCm();
}
```
## DocumentFormat.OpenXml.Flatten
### Install
DLL Pakcage:
```xml
```
[SouceYard](https://github.com/dotnet-campus/SourceYard) Package:
```xml
all
runtime; build; native; contentfiles; analyzers
```
### Usage
See [DocumentFormat.OpenXml.Flatten README.md](src/DocumentFormat.OpenXml.Flatten/README.md) and the [Demo](demo).
# Thanks
- [OfficeDev/Open-XML-SDK: Open XML SDK by Microsoft](https://github.com/OfficeDev/Open-XML-SDK/ )
- [ironfede/openmcdf: Microsoft Compound File .net component - pure C# - NET Standard 2.0](https://github.com/ironfede/openmcdf )
# Contributing
[](https://github.com/dotnet-campus/DocumentFormat.OpenXml.Extensions/pulls)
If you would like to contribute, feel free to create a [Pull Request](https://github.com/dotnet-campus/DocumentFormat.OpenXml.Extensions/pulls), or give us [Bug Report](https://github.com/dotnet-campus/DocumentFormat.OpenXml.Extensions/issues/new).
# License
[](LICENSE)