Often times developers have to convert WORD file to PPSM 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 WORD 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 PPSM.
How to Convert WORD to PPSM via Java
WORD File Conversion in Java
For WORD to PPSM 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 Protected WORD to PPSM via Java
The API also allows you to convert password-protected WORD documents to PPSM. If your input WORD document is password protected, you cannot convert it to PPSM format without using the password. In order to open a encrypted document you can set the correct password in LoadOptions object and pass it to the Document constructor.
Convert WORD to PPSM with Watermark via Java
Using the API, you can also perform WORD file to PPSM conversion with watermark. In order to add a watermark to your PPSM document, you can first export WORD 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 PPSM.