NuGet Package OpenXml Variables Replacer

using (WordprocessingDocument document = WordprocessingDocument.Open(filePath, true))
{
MainDocumentPart mainPart = document.MainDocumentPart;
Dictionary<string, string> replacers = new Dictionary<string, string>(32);
_openXmlVariableReplacer.ReplaceVariables(mainPart.Document, replacers);
}.

Info

Version: 0.1.0
Author(s): Sergey Shoshin
Last Update: Monday, December 4, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/shoshins/open-xml-variable-replacer
NuGet Url: https://www.nuget.org/packages/DocumentFormat.OpenXml.VariableReplacer


Install
Install-Package DocumentFormat.OpenXml.VariableReplacer
dotnet add package DocumentFormat.OpenXml.VariableReplacer
paket add DocumentFormat.OpenXml.VariableReplacer
DocumentFormat.OpenXml.VariableReplacer Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.3

avg-downloads-per-day

1

days-since-last-release

1230