OpenXMLSDK.Engine
2022.10310.0-preview-17
See the version list below for details.
dotnet add package OpenXMLSDK.Engine --version 2022.10310.0-preview-17
NuGet\Install-Package OpenXMLSDK.Engine -Version 2022.10310.0-preview-17
<PackageReference Include="OpenXMLSDK.Engine" Version="2022.10310.0-preview-17" />
paket add OpenXMLSDK.Engine --version 2022.10310.0-preview-17
#r "nuget: OpenXMLSDK.Engine, 2022.10310.0-preview-17"
// Install OpenXMLSDK.Engine as a Cake Addin #addin nuget:?package=OpenXMLSDK.Engine&version=2022.10310.0-preview-17&prerelease // Install OpenXMLSDK.Engine as a Cake Tool #tool nuget:?package=OpenXMLSDK.Engine&version=2022.10310.0-preview-17&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 is compatible. 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 is compatible. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.1
- DocumentFormat.OpenXml (>= 2.18.0)
- LazZiya.ImageResize (>= 4.1.1)
- Newtonsoft.Json (>= 13.0.1)
-
net6.0
- DocumentFormat.OpenXml (>= 2.18.0)
- LazZiya.ImageResize (>= 4.1.1)
- Newtonsoft.Json (>= 13.0.1)
-
net7.0
- DocumentFormat.OpenXml (>= 2.18.0)
- LazZiya.ImageResize (>= 4.1.1)
- Newtonsoft.Json (>= 13.0.1)
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.