OpenXMLSDK.Engine
2022.10312.0-preview-041
See the version list below for details.
dotnet add package OpenXMLSDK.Engine --version 2022.10312.0-preview-041
NuGet\Install-Package OpenXMLSDK.Engine -Version 2022.10312.0-preview-041
<PackageReference Include="OpenXMLSDK.Engine" Version="2022.10312.0-preview-041" />
paket add OpenXMLSDK.Engine --version 2022.10312.0-preview-041
#r "nuget: OpenXMLSDK.Engine, 2022.10312.0-preview-041"
// Install OpenXMLSDK.Engine as a Cake Addin #addin nuget:?package=OpenXMLSDK.Engine&version=2022.10312.0-preview-041&prerelease // Install OpenXMLSDK.Engine as a Cake Tool #tool nuget:?package=OpenXMLSDK.Engine&version=2022.10312.0-preview-041&prerelease
OpenXMLSDK.Engine
This library let you to create quickly some docx documents, based on the ooxml sdk of Microsoft.
By using the WordManager object, you will be able to geneate quickly your documents.
Quality and packaging
API
The API of WordManager is very easy to understand and to use.
WordManager Open existing template
In order to open a template, call the OpenDocFromTemplate method
var resourceName = "<Set full template file path here>"; // ex : C:\temp\template.dotx
var finalFilePath = "<Set saved new document file path here>"; // ex : C:\temp\createdDoc.docx
using (var word = new WordManager())
{
word.OpenDocFromTemplate(resourceName, finalFilePath, true);
word.SaveDoc();
word.CloseDoc();
}
WordManager Insert text on bookmark
Using the name of the database and the folder on the client device where to store database files:
var resourceName = "<Set full template file path here>"; // ex : C:\temp\template.dotx
var finalFilePath = "<Set saved new document file path here>"; // ex : C:\temp\createdDoc.docx
using (var word = new WordManager())
{
word.OpenDocFromTemplate(resourceName, finalFilePath, true);
word.SaveDoc();
word.CloseDoc();
}
Contribute
How to contribute
If you want to contribute to this project, you can do it in several ways:
- [Submit bugs and feature requests]
- [Review source code changes]
- [Review the documentation and make pull requests for anything from typos to new content]
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 is compatible. 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. net9.0 is compatible. |
.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 was computed. 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. |
-
.NETStandard 2.0
- DocumentFormat.OpenXml (>= 3.2.0)
- LazZiya.ImageResize (>= 4.1.4)
- Newtonsoft.Json (>= 13.0.3)
-
net8.0
- DocumentFormat.OpenXml (>= 3.2.0)
- LazZiya.ImageResize (>= 4.1.4)
- Newtonsoft.Json (>= 13.0.3)
-
net9.0
- DocumentFormat.OpenXml (>= 3.2.0)
- LazZiya.ImageResize (>= 4.1.4)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on OpenXMLSDK.Engine:
Package | Downloads |
---|---|
MarkdownToDocxGenerator
Helper library that let you generate Word document based on markdown files. |
|
RAG.Parsers.Docx
Helper library that let you generate Word document based on markdown files. |
|
MDev.Dotnet.SemanticKernel.Plugins.Oxml.Docx
Plugin for semantic kernel that let you (or the LLM) to create docx documents |
GitHub repositories
This package is not used by any popular GitHub repositories.