We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding elements to a specific list

Hi,

We’re generating PDFs based on a .docx template.

At a non-fixed point in the document we have 3 lists, each beginning with a header and currently containing a dummy line, for formatting purposes.

Is there an way way to locate each list? I need to dynamically add elements in each one.

Thanks

@lorena.sfat

Yes, you can find the desired text/list from your input document and insert new content into it using Aspose.Words. We suggest you please read the following articles.
Find and Replace
Use DocumentBuilder to Insert Document Elements
Using DocumentBuilder to Modify a Document Easily

Could you please ZIP and attach your input and expected output documents here for our reference? We will then provide you more information about your query.