Hi,
We have around 500 Word templates, that we use Aspose to perform merges on. A new requirement has been added to new templates that will be created.
-
Ability to remove specific paragraphs. These paragraphs that may need to be removed are specified. So, we know which paragraphs may need to be deleted.
-
Ability to add a paragraph into a location.
Notes: Sections and pages are not reliable, because other documents are sometimes merged into the master document. I need to get to the location, without using sections, because the section could be different in different templates. I realized, that I could use bookmarks to do this.
Question:
- Can I find a bookmark in the document, without knowing the section or page?
- Can I add a paragraph, or remove a paragraph, right after this bookmark?
- Do you have any other suggestion for doing this?