hi out there,
i need some help find the best solution for my app. so here are the facts:
my client shoud upload a final docx template with merge fields,images etc. to do some mass mailing.
the template contains some nested regions (if i got that right there is no way to handle this directly with aspose words so i had a try with a solution from sourceforge AdvancedMailMerge
http://advancedmailmerge.codeplex.com/ and this works for me)
now there are a lot of images in the doc file and each time when i save the document to a new stream as html all the images are created again.
i came up with the idea to export the template once as html and store the result in the database. this way it should be a bit faster anyway instead of handling the files everytime to create a new email.
my problem now is to get back the mergefields from html to run the MailMerge with the final html. there is another post in here doing the same and this solution seems to work. Preserving mergefield in html format
but now with this solution there is a problem with the nested tables. somehow these regions are duplicated and the final result is not what i expected.
looking around a couple of hours i’m not sure if i’m following the right idea. so perhaps you can give an advice how to handle the situation in good way.
is there a chance to stop the image export each time. just do it once and reuse the same image for the next export to stream?
is it a good idea to store the html export in the db (performance issues) and how can i get back the mergefiled when loading the Document from the html file without the problems of duplicated regions?
is there another way i missed to create html output?
thanks for your time and greetings from germany