We are using Aspose Words for .Net (v 10.3.0.0, dated : 2011.07.30).
Using VS 2010, .Net 3.5, MS Word 2007/2010.
I have one document which is a big DOCX file containing many bookmarks. I have full control if I need to modify this. ( Doc1)
I have second document which contains only one Table. (Doc2) From my code I want to populate this table. I only want to populate table and don’t want to create whole table in Doc1 by code. I will use Doc2 to populate same table with different data and put it (replace Doc1’s bookmark) in Doc1 many time. In short, Doc1 will show me same table(look and feel) many time at different places ( depend on data ).
When I use AppendDoc “builder.Document.ImportNode” it appends at the end of document ( fair enough),but that’s not what I want. I want to replace that populated table into bookmark. If I try to do that then it gives me an error "The newChild was created from a different document than the one that created this node."
If you can provide me help/link/code on my scenario it will be really appreciated.
Looking forward to see your quick reply.