how to modify content in filestream while using open xml?
问题 In the code below, I am merging some files together and saving them in the test.docx file. However, before I merg each file, I would like to first replace the text of some content controls which are used as place holders. Can someone show me how to do that? suppose I have one content control in template2 and it is called placeholder1. How can I add text to this placeholder while usig the filestream? string fileName = Path.Combine(@"Docs\templates", "test.docx"); for (int i = 1; i < 3; i++) {