Codeuctivity.OpenXmlPowerTools 5.1.40-Prerelease

Prefix Reserved
This is a prerelease version of Codeuctivity.OpenXmlPowerTools.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Codeuctivity.OpenXmlPowerTools --version 5.1.40-Prerelease                
NuGet\Install-Package Codeuctivity.OpenXmlPowerTools -Version 5.1.40-Prerelease                
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.
<PackageReference Include="Codeuctivity.OpenXmlPowerTools" Version="5.1.40-Prerelease" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codeuctivity.OpenXmlPowerTools --version 5.1.40-Prerelease                
#r "nuget: Codeuctivity.OpenXmlPowerTools, 5.1.40-Prerelease"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Codeuctivity.OpenXmlPowerTools as a Cake Addin
#addin nuget:?package=Codeuctivity.OpenXmlPowerTools&version=5.1.40-Prerelease&prerelease

// Install Codeuctivity.OpenXmlPowerTools as a Cake Tool
#tool nuget:?package=Codeuctivity.OpenXmlPowerTools&version=5.1.40-Prerelease&prerelease                

OpenXmlPowerTools

.NET build and test Nuget Codacy Badge

This is a fork of https://www.nuget.org/packages/OpenXmlPowerTools/

Focus of this fork

  • Linux and Windows support
  • Conversion of DOCX to HTML/CSS.

Example - Convert DOCX to HTML

var sourceDocxFileContent = File.ReadAllBytes("./source.docx");
using var memoryStream = new MemoryStream();
await memoryStream.WriteAsync(sourceDocxFileContent, 0, sourceDocxFileContent.Length);
using var wordProcessingDocument = WordprocessingDocument.Open(memoryStream, true);
var settings = new WmlToHtmlConverterSettings("htmlPageTile");
var html = WmlToHtmlConverter.ConvertToHtml(wordProcessingDocument, settings);
var htmlString = html.ToString(SaveOptions.DisableFormatting);
File.WriteAllText("./target.html", htmlString, Encoding.UTF8);
Product 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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Codeuctivity.OpenXmlPowerTools:

Package Downloads
Codeuctivity.OpenXmlToHtml

Converts docx to html without the need to setup any dependency

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.251 3,411 7/24/2024
8.0.237 3,015 3/19/2024
7.0.210 6,129 11/14/2023
6.0.195 3,429 9/12/2023
6.0.178 342 8/11/2023
6.0.172-Prerelease 161 7/15/2023
5.1.156-Prerelease 123 7/6/2023
5.1.137-Prerelease 498 2/22/2023
5.1.116-Prerelease 309 12/15/2022
5.1.103-Prerelease 141 11/13/2022
5.1.76-Prerelease 545 8/7/2022
5.1.60-Prerelease 317 7/17/2022
5.1.52-Prerelease 200 7/8/2022
5.1.40-Prerelease 1,241 4/6/2022
5.1.34-Prerelease 167 4/4/2022
5.1.27-Prerelease 772 2/21/2022
5.1.15-Prerelease 172 1/29/2022

Handle invalid twips values