Skip to main content

Posts

Showing posts from May, 2021

Convert PowerPoint to PDF, HTML and Image in Java

  For various purposes, you may want to convert PowerPoint document to other types of files such as PDF, HTML or Image. In this article, I am going to introduce how to convert a PowerPoint document to PDF, HTML and Image programmatically in Java using Free Spire.Presentation for Java library. Add Dependencies Before coding, you need to add the following code to the project’s pom.xml file to include Free Spire.Presentation for Java in your project. <repositories>              <repository>                  <id>com.e-iceblue</id>                  <name>e-iceblue</name>                  <url>http: //repo.e-iceblue.com/nexus/content/groups/public/</url>               </repository>      </repositories>      <dependencies>          <dependency>              <groupId>e-iceblue</groupId>              <artifactId>spire.presentation.free</artifactId>              <version> 3.9 . 0 </version&g

3 Ways to Generate Word Documents from Templates in Java

A template is a document with pre-applied formatting like styles, tabs, line spacing and so on. You can quickly generate a batch of documents with the same structure based on the template. In this article, I am going to show you the different ways to generate Word documents from templates programmatically in Java using Free Spire.Doc for Java library. Prerequisite First of all, you need to add needed dependencies for including Free Spire.Doc for Java into your Java project. There are two ways to do that. If you use maven, you need to add the following code to your project’s pom.xml file. <repositories>               <repository>                   <id>com.e-iceblue</id>                   <name>e-iceblue</name>                   <url>http: //repo.e-iceblue.com/nexus/content/groups/public/</url>                </repository>       </repositories>       <dependencies>           <dependency>               <g