Hi,
I’m creating Word templates and using the Merge Fields functionality to dynamically create Word documents. I would like to dynamically add and remove sections (or paragraphs). This will be determined by a form field value, which will be associated to each section. Currently Aspose allows accessing sections with index rather than names. My concern is if a section in template is removed or moved to a different place in the same template, say section 1, now that section will have a different index, say section 5 (if the section is moved to a different place in the same template itself).
Also, all the other section’s index in the template will be affected by this change. Now, I’ve to update the code and underlying program logic to keep up with the change.
Is there any other alternative to this issue. All I want is to remove a block of text (with merge fields and static text), based on form field value from a template, irrespective of whether the block of text in template is moved somewhere or removed from the template.
Any help is much appreciated.
Thanks,
Ramiya.
This message was posted using Email2Forum by alexey.noskov.