We use a software product from a company which has licensed Aspose.Words (amoung other Aspose Modules) to facilitate combining multiple stand alone documents into a single MS Word Document.
As far as I can tell, all interaction between the software and Aspose.Words is handled programatically by the use of .dll application extensions.
We use MS Word to create individual document templates which contain data fields that are pulled from the software's SQL database. These templates are formatted with the use of custom paragraph, table and font styles. We have a list of around 40 unique style elements which are added to the individual templates as they are built.
If we choose a customer, then a single specific template, the data merges and the resulting MS Word document is opened, with the formatting styles all looking as intended.
If we choose a customer, then choose 2 specific templates, again the data merges and the resulting MS Word document is opened, with the formatting styles all looking as intended, HOWEVER if we use the "Style Organizer" each of the style elements shows up twice in the resulting document.
If we choose 3 specific templates, the MS Word document which is produced becomes UNUSASBLE. Font and Paragraph styles are changed (some paragrapf styles end up with huge indent values, huge spacing before or after each paragraph).
So my questions are as follows:
1) Is it likely that my issues are the result of multiple Style Elements with the same name in the rsulting document?
2) Is there any way for me (the end user) to control how Aspose.Words handles the combination of multiple documents that have the same Style Elements?
3) Is there any type of documentation available to me (the end user) which would suggest the "best practise" method for integrating this type of use case? For example, should we limit the addition of needed Style Elements to Global Document Templates?
4) Is there something different the software developer should change in their implementation of Aspose.Words on their end?
Any comments or suggestions would be greatly appreciated!
Thanks,
Brian