Convert DOCM to PPSM via Java

DOCM to PPSM 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 DOCM 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 DOCM 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 DOCM to PPSM via Java

  1. Open DOCM file using Document class
  2. Convert DOCM file to HTML by using save method
  3. Initialize a new Presentation object
  4. Extract content from HTML file using BufferedReader and write the content in your presentation file
  5. Save the document to PPSM using save method

DOCM File Conversion in Java

For DOCM 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 DOCM to PPSM with Watermark via Java

Using the API, you can also perform DOCM file to PPSM conversion with watermark. In order to add a watermark to your PPSM document, you can first export DOCM 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.

Other Conversion Options

DOCM TO POT (Microsoft PowerPoint Template Files)
DOCM TO ODP (OpenDocument Presentation Format)
DOCM TO PPTX (Open XML presentation Format)
DOCM TO PPTM (Macro-enabled Presentation File)
DOCM TO PPS (PowerPoint Slide Show)
DOCM TO POTM (Microsoft PowerPoint Template File)
DOCM TO PPSX (PowerPoint Slide Show)
DOCM TO POTX (Microsoft PowerPoint Template Presentation)
DOCM TO PPT (Microsoft PowerPoint 97-2003)
DOCM TO CSV (Comma Seperated Values)
DOCM TO DIF (Data Interchange Format)
DOCM TO FODS (OpenDocument Flat XML Spreadsheet)
DOCM TO ODS (OpenDocument Spreadsheet)
DOCM TO SXC (StarOffice Calc Spreadsheet)
DOCM TO TSV (Tab Seperated Values)
DOCM TO XLAM (Excel Macro-Enabled Add-In)
DOCM TO XLTM (Excel Macro-Enabled Template)
DOCM TO XLS (Microsoft Excel Spreadsheet (Legacy))
DOCM TO XLSB (Excel Binary Workbook)
DOCM TO XLSM (Macro-enabled Spreadsheet)
DOCM TO XLSX (Open XML Workbook)
DOCM TO XLT (Excel 97 - 2003 Template)
DOCM TO XLTM (Excel Macro-Enabled Template)
DOCM TO XLTX (Excel Template)