We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Word error message when opening (in russian):
Template: HiddenRepeatReproTemplate.docx
Repro:
using System; using System.IO; using TemplateEngine.Docx; namespace HiddenRepeatRepro { static class Program { static void Main(string[] args) { string templateFile = "HiddenRepeatReproTemplate.docx"; string outputFile = "HiddenRepeatRepro.docx"; File.Delete(outputFile); File.Copy(templateFile, outputFile); var repeat = new RepeatContent("repeat1") .AddItem(new FieldContent("val", "123")) .AddItem(new FieldContent("val", "456")); repeat.Hide(); // breaks document var table = new TableContent("table1") .AddRow(repeat); var content = new Content(table); using (var template = new TemplateProcessor(outputFile).SetRemoveContentControls(true)) { template.FillContent(content); template.SaveChanges(); } } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Word error message when opening (in russian):
![worderror](https://user-images.githubusercontent.com/2846896/43181587-a916236c-8fe6-11e8-8032-3db9b040bec0.png)
Template: HiddenRepeatReproTemplate.docx
Repro:
The text was updated successfully, but these errors were encountered: