Have tried to find this use case in the docs: Json representation or any other plus pointing out or submitting a Word file template. Result is Word file with data populated in Word.
@markkantor You can use LINQ Reporting Engine to fill the template with data from JSON data source.
https://docs.aspose.com/words/net/linq-reporting-engine-api/#accessing-json-data
Thanks for the reply.
Is there a similar way to inject data into a pptx and populate the data and formatting in a similar way like Linq?
@markkantor There is Aspose.Slides product to hanlde PowerPoint presentations. Please ask this question on the Aspose.Slides Product Family forum.
In addition to @Konstantin.Kornilov’s comment, you can try make use of Aspose’s venture product - GroupDocs.Assembly. It provides similar template syntax for more file formats including Word Processing, Spreadsheet, Presentation documents and emails.
Hi Ivan
Thanks.
I looked through the docs for GroupDocs.Assembly - are there any limitations in the template syntax when using GroupDocs. Assembly compared to Aspose.Words?
The aim here is to - get away from building and formatting the document programmatically in C# - in favor of a Word / PPT template.
Rely on the template syntax to render and format the output.
If it can help I can send you an example of a more complex Word builder class.
Regards,
Mark
You may think of GroupDocs.Assembly as of an extension of LINQ Reporting Engine to more document formats. So, regarding Word Processing documents, the set of manipulations through a template is quite the same. There can be some limitations for other file formats though, but those are typically minor.
If in doubt whether a specific GroupDocs.Assembly feature is available for Presentation documents, please feel free to ask.