MicrosoftTranslator / DocumentTranslator-Legacy

Microsoft Document Translator (Archive) - Replaced by the MicrosoftTranslator/DocumentTranslation project in this repository.
Other
409 stars 152 forks source link

OpenXMLPower Tools - mail merge content #108

Open Pieter-1337 opened 4 years ago

Pieter-1337 commented 4 years ago

Hi, we are facing an issue with the documentBuilder, we are currenly using var output = DocumentBuilder.BuildDocument(sources); to import reports in our document. Now until lately we were using MergeFields, but I assume an older version, of merge fields which are not viewable in the edit portion of Word Online, so we thought easy enough we update our merge fields to the new standard of merge fields and we are good to go now, upon testing we notice that suddenly when using the following code DocumentBuilder.BuildDocument(sources); we get the error message: Source {0} is unsupported document - contains Mail Merge content".

Now upon viewing the DocumentBuilder.cs file I indeed find this message, however I find it odd that with the older version of the mailMerge fields this was not an issue. Can we bypass this issue in any way?

chriswendt1 commented 4 years ago

Hi Pieter, you will want to ask this question in the OpenXMLPowerTools project. Document Translator is just using a copy of it.