Open kato-el opened 3 months ago
@kato-el,
There are a few ways using Aspose APIs which you can try to accomplish your task.
1) You can use Aspose.Slides to load/read POTX (PowerPoint Template File) and save to POTX/PPTX or PDF file format. But for importing/extracting JSON data, you have to do it by yourselves using your own code as currently there is no relevant options/APIs available for the task in Aspose.Slides.
2) You can use Aspose.Cells to directly import/load JSON data file and save to PPTX or PDF. See the document for your reference. https://products.aspose.com/cells/net/conversion/json-to-pdf/
Many thanks @amjad-sahi, another follow up question; I would like to convert the PPT created into HTML5 Canvas object where the user can move things around and hopefully be able to save it back to PPT and download it.
Is there any solution that is compatible with ASPOSE solution?
@kato-el,
PPT to HTML5 conversion is supported in Aspose.Slides, see the document on how to export PPTX to HTML for your reference.
Thanks @amjad-sahi - but how about Canvas?
@kato-el,
HTML5 Convas seems out of scope for Aspose.Slides. I think once you have the HTML5 representation of the PPT document, you have to use your own code (e.g, in JavaScript) to draw the content onto an HTML5 Canvas. May be your could use Aspose.Imaging or Aspose.HTML API for your task, you may post your queries in the relevant forums: https://forum.aspose.com/categories
Please check if it satisfies the following requirements:
If your requirement is actually a bug in our APIs or a feature request for our APIs then please use our forum to report it and get quick help: https://forum.aspose.com/
If all the above requirements are satisfied then please move on:
< describe your free consulting project requirements briefly> Looking to generate PowerPoint and PDF document based on 2 parameters; one is POTX/Powerpoint template files and JSON data structure that can be married up to the PowerPoint template; the output can be ppt, pdf
< which platform you're working on -- operating system, development environment etc.> OS: Linux, ideally runs in docker