Hi,
after evaluating Aspose.Words and found it extremely efficient, we purchased a license for our company.
What we do is : automatically fill in Words templates with data received from a web service, and then merge the resulting documents into one.
But we have a problem with the merged documents that makes MS-Word crash for some of our users.
Please find attached the original documents and the resulting merged document.
The source code that creates the merged doc is as follows :
Document firstDoc = new Document(documents.get(0).getDocumentOutputFilename());
for (Item item: items)
{
Document doc = new Document(item.getDocumentOutputFilename());
doc.getFirstSection().getPageSetup().setSectionStart(SectionStart.NEW_PAGE);
doc.getFirstSection().getPageSetup().setRestartPageNumbering(true);
doc.getFirstSection().getPageSetup().setPageStartingNumber(1);
firstDoc.appendDocument(doc, ImportFormatMode.KEEP_SOURCE_FORMATTING);
}
}
firstDoc.save(outputFileName);
At first, I thought that was a problem with the number of styles contained in our templates, so I cleaned them and removed avery unused style. But still, the problem occurs for some users.
I don’t have any more idea what is the cause of the problem.
Can you help?
I can provide you with the original templates if you need them.
Hello
Thanks for your request. Could you please attach the original templates you are getting problem with? I will check it on my side and provide you more information.
Best regards,
Thanks for your request.
I managed to reproduce the problem on my side using the MS Word 2000 (9.0.2812). Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Thanks for your request. Unfortunately, at the moment I cannot provide you any estimate regarding these issues. Our development team will analyze the issues and then we will provide you an estimate.
Thanks for your request. Unfortunately, the issue is still unresolved. Priority of these issues was increased (due to Priority Support). We will be sure to inform you of any developments regarding this issue.
Sorry for inconvenience.
Hello
Thanks for your request. Unfortunately, the issue is not resolved yet. However, the responsible developer already started analyzing the issue to determine the root cause of the problem. We will keep you informed and let you know once it is resolved.
Best regards,