Inserting multiple formatted paragraphs dynamically

I have a collection of objects containing data that I need to build a paragraph of information about each object dynamically into the word document… (with proper indentation etc)

List<Employees)

foreach(Employee e in employess)
{
// Build a paragraph showing some properties of employee and insert into the word document at a given indentation.
}

Can you give samples on how I can do this ?

Thank you.

@nick1234

Thanks for your inquiry. In your case, we suggest you please use the LINQ Reporting to achieve your requirement. You need to create the template document according to your requirement using MS Word or Aspose.Words. Please read the following article.
Template Syntax for LINQ Reporting

You can also insert the formatted paragraphs into document using DocumentBuilder. Please read the following articles.
Using DocumentBuilder to Modify a Document Easily
Use DocumentBuilder to Insert Document Elements

Please let us know if you have any more queries.