As we are creating many merge documents for our application, we ran into a bug in Aspose.Words.
To put it simply, it duplicates a table entirely in the next page if it is at the bottom of the existing page (this is if the output is .pdf, which it is what we require). In the case of Word .doc it works fine.
I included the code, which is a running sample application (subset of what we actually have in data sources), and clearly reproduces the problem. (The license file is included as to not have any issues with trial versions, etc.).
Please note the following documents:
TABB.doc – Sample template document. This is exactly the one we have in our project.
TABB_Out.pdf – Final output file (Adobe) produced by merging according to the process. This clearly shows the bug, in which the grid that ends the page is repeated in the next page.
TABB_Out.doc – Final output file (Word) produced by merging according to the process. In this document the output is ok, no duplicate grid.
We use Visual Studio 2008 and the version of Aspose.Words is 184.108.40.206, which I believe is the latest.
Please let me know what you think, and if there is a new version or patch coming.
This message was posted using Email2Forum by aske012. (attachment)