The OpenXML SDK extensions. Including libraries and tools.
Build |
---|
A dotnet tool to assist in editing Office document files
dotnet tool update -g dotnetCampus.OfficeDocumentZipper
OfficeDocumentZipper
- Unzip pptx docx xlsx file
- Zip directory to pptx docx xlsx file
- Convert OpenXML unit
Name | NuGet |
---|---|
dotnetCampus.OpenXMLUnitConverter | |
dotnetCampus.OpenXMLUnitConverter.Source | |
dotnetCampus.DocumentFormat.OpenXml.Flatten | |
dotnetCampus.DocumentFormat.OpenXml.Flatten.Source |
Defining units for OpenXml properties and the unit conversion function.
DLL Pakcage:
<PackageReference Include="dotnetCampus.OpenXmlUnitConverter" Version="1.9.0" />
SouceYard Package:
<PackageReference Include="dotnetCampus.OpenXmlUnitConverter.Source" Version="1.9.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
The sample:
void Foo(DocumentFormat.OpenXml.Drawing.Point2DType point)
{
var x = new Emu(point.X);
var pixelValue = x.ToPixel();
var cmValue = x.ToCm();
}
DLL Pakcage:
<PackageReference Include="dotnetCampus.DocumentFormat.OpenXml.Flatten" Version="2.0.0" />
SouceYard Package:
<PackageReference Include="dotnetCampus.DocumentFormat.OpenXml.Flatten.Source" Version="2.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
See DocumentFormat.OpenXml.Flatten README.md
- OfficeDev/Open-XML-SDK: Open XML SDK by Microsoft
- ironfede/openmcdf: Microsoft Compound File .net component - pure C# - NET Standard 2.0
If you would like to contribute, feel free to create a Pull Request, or give us Bug Report.