Convert WORDML to PPTM via Java
WORDML to PPTM conversion by using on premise Java API within any Java J2SE, J2EE, J2ME applications without using Microsoft® PowerPoint or Word
Often times developers have to convert WORDML file to PPTM programmatically. By using the File Automation Java libraries Aspose.Total for Java you can automate the rendering process in a few simple steps. You can load your WORDML file by using Aspose.Words for Java and convert it to HTML. After that by using powerful PowerPoint manipulation Java API Aspose.Slides for Java you can create a new Presentation, write HTML content in it, and save it as PPTM.
How to Convert WORDML to PPTM via Java
- Open WORDML file using Document class
- Convert WORDML file to HTML by using save method
- Initialize a new Presentation object
- Extract content from HTML file using BufferedReader and write the content in your presentation file
- Save the document to PPTM using save method
WORDML File Conversion in Java
For WORDML to PPTM file conversion, you can easily use Aspose.Total for Java directly from a Maven based project and include libraries in your pom.xml.
Alternatively, you can get a ZIP file from downloads .
Convert WORDML to PPTM with Watermark via Java
Using the API, you can also perform WORDML file to PPTM conversion with watermark. In order to add a watermark to your PPTM document, you can first export WORDML to HTML and write HTML content in Presentation object. After that to add a watermark, you can add text using addTextFrame, set all the relevant options like color, fillType and more and can save the document to PPTM.