Subtotals/Total in Aspose.words

Hello,
We have Aspose.Total license, and we have implemented project on Aspose.Cells and generating reports using smart markers. We have also used them to populate data from DataTables.
Now, we want to implement same for Word file inputs, and want to achieve subtotals and grouping like we did in Aspose.Cells (refer attached sample of excel template).
Can we achieve same in Aspose.Words? Please let us know example code and template samples.
Thanks,
Navnath

Hi Navnath,

Thanks for your inquiry. Aspose.Words can generate documents from templates with mail merge fields. The data from an external source like a database or file is placed into these fields and formatted, and the resulting document is saved in the folder you specify.

In your case, I suggest you to use Mail Merge with regions. Please read the details about Mail Merge with regions from here:
https://docs.aspose.com/words/net/types-of-mail-merge-operations/
https://docs.aspose.com/words/java/types-of-mail-merge-operations/
https://docs.aspose.com/words/net/nested-mail-merge-with-regions/

Hope this helps you. Please let us know if you have any more queries.