Giving some brief about what we are trying to achieve. We have template defined in xml format. Using this xml template we have to generate letter out of it. For this we are using Aspose. Now the problem is when we open the generated letter document it opens compatibility mode.
We have found one option in MSWord which saves the document in docx/docm format and opens it normal (Without compatibility) mode. This same thing we want to do it using Aspose. Below are the step we followed in MSWord.
Steps we have followed:
- Created one xml document. Let’s say Template.xml
- Now open this xml file with MSWord and added some macro code or we can just add some text to it and save it.
- Now click on save as option and select .docm or .docx format. We will get “Maintain compatibility with previous version of word”. If we uncheck this check box then document opens up without compatibility mode.
Where can we set this “Maintain compatibility with previous version of word” option in Aspose so that we can get rid of compatibility option.
your support will be much appreciated.