Skip to main content

Posts

Showing posts from March, 2020

Encrypt and Decrypt PowerPoint document in Java

  At some point, you may want to encrypt a PowerPoint file. In this article, I will introduce how to encrypt and decrypt a PowerPoint document in Java application by using Free Spire.Presentation for Java library. Add dependencies First of all, you need to add needed dependencies for including Free Spire.Presentation 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>               <groupId>e-iceblue</groupId>               <artifactId>spire.presentation.free</artifact

Convert Excel to Image, CSV, HTML, XPS and XML in Java

  Introduction This blog introduces how to convert Excel files by using a Free Excel API – Free Spire.XLS for Java.   Free Spire.XLS for Java is a free and independent Java API that supports converting Excel files including Excel 97-2003, Excel 2007, Excel 2010, Excel 2013 etc.) to a batch of other file formats such as PDF, Image, HTML, XPS, XML, CSV, PCL, ODS and PostScript. In the following example, I will show you how to convert Excel to Image, CSV, HTML, XPS and XML by using this API.   Add dependencies First of all, you need to add needed dependencies for including Free Spire.XLS 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/cont