OpenXMLSDK.Engine 2022.10310.0-preview-25

This is a prerelease version of OpenXMLSDK.Engine.
There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenXMLSDK.Engine --version 2022.10310.0-preview-25
                    
NuGet\Install-Package OpenXMLSDK.Engine -Version 2022.10310.0-preview-25
                    
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="OpenXMLSDK.Engine" Version="2022.10310.0-preview-25" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenXMLSDK.Engine" Version="2022.10310.0-preview-25" />
                    
Directory.Packages.props
<PackageReference Include="OpenXMLSDK.Engine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenXMLSDK.Engine --version 2022.10310.0-preview-25
                    
#r "nuget: OpenXMLSDK.Engine, 2022.10310.0-preview-25"
                    
#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.
#:package OpenXMLSDK.Engine@2022.10310.0-preview-25
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OpenXMLSDK.Engine&version=2022.10310.0-preview-25&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=OpenXMLSDK.Engine&version=2022.10310.0-preview-25&prerelease
                    
Install as a Cake Tool

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

Quality Gate Status .NET NuGet package

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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on OpenXMLSDK.Engine:

Package Downloads
MarkdownToDocxGenerator

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.

Version Downloads Last Updated
2022.10313.0 188 9/23/2025
2022.10313.0-preview-045 158 9/23/2025
2022.10313.0-preview-044 445 9/11/2025
2022.10312.0 2,216 12/16/2024
2022.10312.0-preview-041 2,079 12/16/2024
2022.10312.0-preview-040 159 12/16/2024
2022.10311.0 202 12/4/2024
2022.10311.0-preview-038 165 12/4/2024
2022.10311.0-preview-037 127 11/28/2024
2022.10311.0-preview-036 121 11/28/2024
2022.10311.0-preview-035 124 11/28/2024
2022.10311.0-preview-034 259 11/28/2024
2022.10311.0-preview-033 129 11/24/2024
2022.10311.0-preview-030 119 11/24/2024
2022.10310.0 957 7/3/2023
2022.10310.0-preview-25 1,854 7/3/2023
2022.10310.0-preview-24 275 7/2/2023
2022.10310.0-preview-23 176 7/2/2023
2022.10310.0-preview-21 539 12/16/2022
2022.10310.0-preview-20 207 12/16/2022
2022.10310.0-preview-19 223 12/16/2022
2022.10310.0-preview-17 247 11/21/2022
2022.10310.0-preview-16 251 11/21/2022
2022.10309.0 491 11/18/2022
2022.10308.1 630 3/8/2022
2022.10220.1-alpha 293 2/20/2022
2021.11215.3 1,797 12/15/2021
2021.11215.2-alpha 354 12/15/2021
2021.10914.4 502 9/14/2021
2021.10914.3-alpha 380 9/14/2021
2021.10914.2-alpha 341 9/14/2021
2021.10914.1-alpha 367 9/14/2021
2021.10515.2 525 5/15/2021
2021.10506.1 4,587 5/6/2021
2021.10505.2-alpha 385 5/6/2021
2021.10427.2-alpha 400 4/27/2021
2021.10427.1-alpha 353 4/27/2021
2021.10426.2-alpha 396 4/26/2021
2021.10426.1-alpha 342 4/26/2021
2021.10321.2-alpha 410 3/21/2021
2021.10321.1 858 3/21/2021
2021.10314.4-alpha 357 3/14/2021
2021.10314.3 647 3/13/2021
2021.10314.1-alpha 354 3/13/2021
2021.10305.1-alpha 370 3/5/2021
2021.10226.1 530 2/26/2021
2021.10225.1-alpha 351 2/25/2021
2021.10210.2 1,095 2/10/2021
2021.10210.1-alpha 442 2/10/2021
2021.10206.1-alpha 374 2/6/2021
2021.10205.1 1,413 2/5/2021
2021.10204.2-alpha 384 2/4/2021
2021.10204.1-alpha 357 2/4/2021
2021.10203.1-alpha 376 2/3/2021
2021.10202.2-alpha 379 2/2/2021
2021.10202.1-alpha 392 2/2/2021
2021.10125.2-alpha 361 1/25/2021
2021.10125.1-alpha 412 1/25/2021
2020.11221.2 1,203 12/21/2020
2020.11221.1-alpha 453 12/21/2020
2020.11217.1-alpha 449 12/17/2020
2020.11211.1 669 12/11/2020
2020.11210.1-alpha 421 12/10/2020
2020.11209.1 552 12/9/2020
2020.11207.1-alpha 474 12/7/2020
2020.11126.2-alpha 455 11/26/2020
2020.11125.2-alpha 386 11/25/2020
2020.11125.1-alpha 433 11/25/2020
2020.11124.3-alpha 477 11/24/2020
2020.11124.2-alpha 423 11/24/2020
2020.11124.1-alpha 427 11/24/2020
2020.11123.2-alpha 433 11/23/2020
2020.11123.1-alpha 447 11/23/2020
2020.11119.1-alpha 478 11/19/2020
2020.10607.1 667 6/7/2020
2020.10603.1-alpha 508 6/3/2020
2020.10518.1 667 5/18/2020
2020.10401.1 1,994 4/1/2020
2020.10331.10-alpha 514 3/31/2020
2020.10331.9 711 3/31/2020
2020.10331.8-alpha 563 3/31/2020
2020.10331.6 671 3/31/2020
2020.10331.5-alpha 523 3/31/2020
2020.10331.4-alpha 527 3/31/2020
2020.10331.3 677 3/31/2020
2020.10331.2-alpha 535 3/31/2020
2020.10331.1-alpha 521 3/31/2020
2020.10330.5 661 3/30/2020
2020.10330.4-alpha 498 3/30/2020
2020.10330.3-alpha 489 3/30/2020
2020.10330.2 633 3/30/2020
2020.10330.1-alpha 497 3/30/2020
2020.10329.1-alpha 574 3/29/2020
2020.10328.3-alpha 574 3/28/2020
2020.10328.1 700 3/28/2020
2020.10327.5-alpha 559 3/27/2020
2020.10327.4-alpha 561 3/27/2020
2020.10327.3-alpha 521 3/27/2020
2020.10327.2-alpha 473 3/27/2020
2020.10327.1-alpha 519 3/27/2020
2020.10309.1-alpha 563 3/9/2020
2020.10221.2-alpha 518 2/21/2020
2020.10221.1-alpha 535 2/21/2020
2020.10128.1 671 1/28/2020
2020.10127.1-alpha 548 1/27/2020
2020.10123.1-alpha 1,502 1/23/2020
2020.10122.1-alpha 483 1/22/2020
2019.11206.1 935 12/6/2019
2019.11203.1-alpha 501 12/3/2019
2019.11129.1 644 11/29/2019
2019.11128.4-alpha 558 11/28/2019
2019.11128.3-alpha 546 11/28/2019
2019.11128.2-alpha 531 11/28/2019
2019.11128.1-alpha 528 11/28/2019
2019.11120.1 651 11/20/2019
2019.11115.2-alpha 500 11/15/2019
2019.11115.1-alpha 678 11/15/2019
2019.11114.4-alpha 514 11/14/2019
2019.11114.3-alpha 512 11/14/2019
2019.11114.2-alpha 536 11/14/2019
2019.11114.1-alpha 522 11/14/2019
2019.11113.1-alpha 552 11/13/2019
2019.11108.1-alpha 525 11/8/2019
2019.11105.6 697 11/5/2019
2019.11105.5 652 11/5/2019
2019.11105.4-alpha 549 11/5/2019
2019.11105.2-alpha 534 11/5/2019
2019.11105.1 659 11/5/2019
2019.11030.1 664 10/30/2019
2019.11018.3-alpha 500 10/18/2019
2019.11018.2-alpha 502 10/18/2019
2019.11018.1 680 10/18/2019
2019.11004.1-alpha 696 10/4/2019
2019.10927.1-alpha 536 9/27/2019
2019.10919.1-alpha 548 9/19/2019
2019.10903.4 695 9/3/2019
2019.10903.3-alpha 561 9/3/2019
2019.10903.2 686 9/3/2019
2019.10903.1-alpha 547 9/3/2019
2019.10902.7 714 9/2/2019
2019.10902.6-alpha 545 9/2/2019
2019.10902.5-alpha 545 9/2/2019
2019.10902.4 671 9/2/2019
2019.10902.3 706 9/2/2019
2019.10902.2-alpha 523 9/2/2019
2019.10902.1 700 9/1/2019
2019.10831.3 655 8/31/2019
2019.10831.2-alpha 537 8/31/2019
2019.10831.1-alpha 570 8/30/2019
2019.10830.14 701 8/30/2019
2019.10830.13-alpha 570 8/30/2019
2019.10830.12-alpha 553 8/30/2019
2019.10830.11-alpha 561 8/30/2019
2019.10830.10-alpha 548 8/30/2019
2019.10830.9 676 8/30/2019
2019.10826.2 731 8/26/2019
2019.10825.3 686 8/25/2019
2019.10825.1 693 8/25/2019
2019.10822.1-alpha 539 8/22/2019
2019.10711.3 793 7/10/2019
2019.10711.2 721 7/10/2019