Aspose.Total for Java File Format Automation libraries empower Java developers to automate the batch conversion process of PowerPoint POTX to Word DOC. Converting the document is a two-step process and involves using two APIs. We’ll use Aspose.Slides for Java that is a PowerPoint API for presentations manipulation and management to convert POTX to HTML. After that by using feature-rich Word Processing API Aspose.Words for Java we will convert the HTML to DOC.
How to Convert POTX to DOC via Java
POTX File Conversion in Java
For POTX to DOC 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 POTX to DOC with Watermark via Java
Using the API, you can also perform POTX file to DOC conversion with watermark. In order to add a watermark to your DOC document, you can first convert the POTX file to HTML and add a watermark to it. In order to add a watermark, load the newly created HTML file using the Document class, create an instance of TextWatermarkOptions and set its properties, Call Watermark.setText method and pass watermark text & object of TextWatermarkOptions.