Spire.Presentation for Java

Java PowerPoint Library – Create Read Modify Print Convert PowerPoint Documents in Java

  • Overview
  • Features
  • Support
  • What's New
  • Live Demo

A PowerPoint® Compatible Library without Microsoft PowerPoint

Over 1,000,000 Developers Are Already Using Our Libraries
To Create Their Amazing Applications.

Spire.Presentation for Java is a professional PowerPoint API that enables developers to create, read, write, convert and save PowerPoint documents in Java Applications. As an independent Java library, Spire.Presentation doesn't need Microsoft PowerPoint to be installed on system.


A rich set of features can be supported by Spire.Presentation for Java, such as add/edit/remove slide, create chart, create table, add bullets, encrypt and decrypt PPT, add watermark, add hyperlink, insert audio and video, paragraph settings, document properties settings, insert/extract image, extract text, set animation, add header and footer, add/delete comment, add note, create SmartArt.


Spire.Presentation for Java also supports to convert PowerPoint document to image, PDF, HTML, XPS, PPTX and SVG in high quality.

  • Convert

  • Master

  • Watermark

  • Extract

  • eSign

  • Chart

  • SmartArt

  • Graphic

  • Note

  • Animation

Convert PowerPoint to PDF

Converting PowerPoint to PDF helps you maintain the layout and formatting of your presentation when viewed on different systems or devices.

Create Slide Masters

A slide master controls the design of all the slides based on it. Using a slide master makes it easier to create presentations that look consistent and visually appealing.

Add a Watermark

Watermarks are used to declare confidentiality, copyright, source, or other attributes of the document, or as a decoration to make the document more attractive. Both text watermarks and image watermarks can be added to presentations.

Extract Text and Images

If you only need the text and images of a PowerPoint document regardless of their formatting and layout, you can directly extract them from the document.

Digitally Sign PowerPoint Documents

A digital signature provides assurances about the validity and authenticity of your presentation. Once a PowerPoint document is digitally signed, any changes to the document will invalidate the signature.

Insert Charts

Charts in PowerPoint can help illustrate data, show trends or changes in data over time, and make the whole document more professional and attractive.

Insert a SmartArt

SmartArt is a way to combine text, shapes and colors into an image or illustration. SmartArt graphics let you easily create a visual representation of your information.

Insert Images and Shapes

Adding pictures and shapes can make your presentations more interesting and engaging. And you can customize your images by cropping, reordering, changing colors or adding other formatting and customize shape according to your own color palette, preferences.

Add Speaker Notes

Adding speaker notes to a PowerPoint presentation provides reference material for the speaker when they’re presenting a slideshow, allowing them to stay on track without forgetting the key points to deliver a flawless presentation.

Set Animations on Shapes in PowerPoint

Animation is a great way to emphasize important points, to control the flow of information, and to increase viewer interest in your presentation. You can animate almost every objects in PowerPoint slide to give them visual effects.

JAVA

Standalone Java API

100% independent Java PowerPoint API which
doesn't require Microsoft PowerPoint to be installed on system.

VERSION

  • PPT - PowerPoint Presentation 97-2003
  • PPS - PowerPoint SlideShow 97-2003
  • PPTX - PowerPoint Presentation 2007/2010/2013/2016/2019
  • PPSX - PowerPoint SlideShow 2007, 2010

OPERATION

Powerful Toolset, Multichannel Support

  • Work with PowerPoint Charts

  • Print PowerPoint Presentations

  • Work with SmartArt

  • Images and Shapes

  • Audio and Video

  • Protect Presentation Slides

  • Text and Image Watermark

  • Merge Split PowerPoint Document

  • Comments and Notes

  • Manage PowerPoint Tables

  • Set Animations on Shapes

  • Manage Hyperlink

  • Extract Text and Image

  • Replace Text

CONVERSION

Conversion File Documents with High Quality

  • PDF

  • HTML

  • XPS

  • SVG

  • Image

PowerPoint Document

  • PNG

  • BMP

  • JPEG

  • EMF

  • TIFF

MAIN FUNCTION

Only Spire.Presentation for Java, No Microsoft Office Installed

Spire.Presentation for Java is a 100% independent Java PowerPoint library, it doesn't require Microsoft Office or any other 3rd party library to be installed on system.

High Quality PowerPoint File Conversion

Spire.Presentation for Java allows converting PowerPoint to image, PDF, PPTX and SVG file in high quality.

Rich PowerPoint Elements Supported

Spire.Presentation for Java supports to process a variety of PowerPoint elements, such as slide, text, image, shape, table, chart, watermark, animation, header and footer, comment, note, SmartArt, hyperlink, OLE object, audio and video.

Easy Integration

Spire.Presentation for Java can be easily integrated into Java applications.

Commercial Edition $799

Compared with the free version, the commercial edition has no slides limitation and is more comprehensive in processing PowerPoint files.

Free Edition $0

Free version is limited to 10 presentation slides when creating PPT and PPTX. When converting PowerPoint files to PDF, Image or XPS, you can only get the first 10 pages of the generated file.

GET STARTED

Free Trials for All Progress Solutions

Here is a brief summary of Spire.Presentation for Java features.

Support Environment

  • 100% Written in Java
  • Supports 32-bit and 64-bit OS
  • Works on Windows, Linux, Unix and Mac OS
  • No Need to Install Additional Software

Support PowerPoint Version

  • PPT - PowerPoint Presentation 97-2003
  • PPS - PowerPoint SlideShow 97-2003
  • PPTX - PowerPoint Presentation 2007, 2010, 2013, 2016 and 2019
  • PPSX - PowerPoint SlideShow 2007, 2010

Conversion

Protect

Slide

Paragraph and Text

Image and Shape

Table and Chart

Media

SmartArt

Comment and Note

We guarantee one business day Forum questions Reply.

We guarantee one business day E-mail response.

Free Customized service for OEM Users.

Skype name: iceblue.support

Apply for a Free Trial License File.

If you have tried out Spire.Doc and found it useful, please consider sharing your experience with others. By sharing your testimonial with us, you will not only help others to make the right decision but will also to earn rewards from us. Please send your testimonials to sales@e-iceblue.com.

This is the list of changelogs of Spire.Presentation for Java New release and hotfix. You can get the detail information of each version's new features and bug solutions.

Download Spire.Presentation for Java to start a free trial:

Version: 9.2.8

Category ID Description
Bug SPIREPPT-2440 Fixes the issue that the program threw "NullPointerException" error when loading a PPT document.

Version: 9.2.2

Category ID Description
New feature SPIREPPT-2419 Adds getTransparency() and setTransparency(value) methods to get and set the transparency of the color, getBrightness() and setBrightness(value) methods to get and set the brightness of the color.
Bug SPIREPPT-2392 Fixes the issue that the charts were incorrect after converting a PowerPoint document to a PDF document.
Bug SPIREPPT-2413 Fixes the issue that the obtained alignment of text was incorrect.
Bug SPIREPPT-2429 Fixes the issue that it failed to parse color:rgb(0, 0, 0) in HTML.
Bug SPIREPPT-2430 Fixes the issue that the values of axes changed after converting a PowerPoint document to a PDF document.

Version: 8.12.1

Category ID Description
New feature SPIREPPT-2395 Improves the speed of converting PowerPoint to SVG.
New feature SPIREPPT-2400 Adds a method to load encrypted stream files.
presentation.loadFromStream(inputStream, FileFormat.AUTO,"password"); 
New feature SPIREPPT-2405 Supports creating irregular polygons using coordinates.
Presentation ppt = new Presentation();
ISlide slide = ppt.getSlides().get(0);
List points = new ArrayList<>();
points.add(new Point2D.Float(50f, 50f));
points.add(new Point2D.Float(50f, 150f));
points.add(new Point2D.Float(60f, 200f));
points.add(new Point2D.Float(200f, 200f));
points.add(new Point2D.Float(220f, 150f));
points.add(new Point2D.Float(150f, 90f));
points.add(new Point2D.Float(50f, 50f));
IAutoShape autoShape = slide.getShapes().appendFreeformShape(points);
autoShape.getFill().setFillType(FillFormatType.NONE);
ppt.saveToFile("out.pptx", FileFormat.PPTX_2013);
ppt.dispose();
New feature SPIREPPT-2406 Supports drawing lines using two points.
Presentation ppt = new Presentation();
ppt.getSlides().get(0).getShapes().appendShape(ShapeType.LINE, new Point2D.Float(50, 70), new Point2D.Float(150, 120));
ppt.saveToFile( "result.pptx ,FileFormat.PPIX_2013),
ppt.dispose().

Version: 8.11.1

Category ID Description
Bug SPIREPPT-2114 Fixes the issue that the content was incorrect after converting slides to SVG.
Bug SPIREPPT-2140
SPIREPPT-2373
Fixes the issue that the gradient background color was incorrect after converting slides to SVG.
Bug SPIREPPT-2380 Fixes the issue that the content became blurry after converting slides to SVG.
Bug SPIREPPT-2381 Fixes the issue that the "Indent Text When Overflow" setting was ineffective.
Bug SPIREPPT-2383 Fixes the issue that the underline of the inserted HTML text missed.
Bug SPIREPPT-2386 Fixes the issue where the "Resize Shape to Fit Text" setting was ineffective.

Version: 8.10.4

Category ID Description
New feature SPIREPPT-2328 Supports converting PowerPoint documents to SVGZ documents.
Presentation ppt = new Presentation();
ppt.loadFromFile("input.pptx");
List bytes = ppt.saveToSVGZ();
for (int i = 0; i < bytes.size(); i++) {
FileOutputStream fileOutputStream = new FileOutputStream("slide" + i + ".svgz");
fileOutputStream.write(bytes.get(i));
fileOutputStream.flush();
fileOutputStream.close();
}
New feature SPIREPPT-2372 Supports converting specified slides to SVG documents.
Presentation ppt = new Presentation();
ppt.loadFromFile("input.pptx");
List bytes = ppt.saveToSVG(0, 36);
for (int i = 0; i < bytes.size(); i++) {
FileOutputStream fileOutputStream = new FileOutputStream("slide" + (i + 1) + ".svg");
fileOutputStream.write(bytes.get(i));
fileOutputStream.flush();
fileOutputStream.close();
}
Bug SPIREPPT-2343 Fixes the issue that the display of the content was incomplete after converting PowerPoint to PDF.
Bug SPIREPPT-2369 Fixes the issue that the hand-drawn pictures were lost after converting PowerPoint to PDF.
Bug SPIREPPT-2377 Fixes the issue that the program threw an exception java.lang.NullPointerException when loading PowerPoint documents.

Version: 8.9.4

Category ID Description
New feature SPIREPPT-2366 Supports specifying the number of pages when converting PPTX to other document formats.
ppt.saveToFile(2,5,outputFile, FileFormat.PDF);
Bug SPIREPPT-2282 Fixes the issue that the application threw a "DocumentEditException" exception when splitting PPTX file.
Bug SPIREPPT-2336 Fixes the issue that the application threw a "Comment by nonexistent author" exception when loading PPTX file.
Bug SPIREPPT-2339 Fixes the issue that the application threw a "NullPointerException" exception when loading PPT file.
Bug SPIREPPT-2340 Fixes the issue that the base64 image data was lost after converting HTML to PPTX.
Bug SPIREPPT-2344 Fixes the issue that the image turned black after converting PPTX to PDF.
Bug SPIREPPT-2347 Fixes the issue that the path of video and image was incorrect after converting PPTX to HTML.
Bug SPIREPPT-2348 Fixes the issue that the application threw an exception and the document format was incorrect after converting PPTX to SVG.

Version: 8.8.1

Category ID Description
Bug SPIREPPT-2312 Fixes the issue that the animation styles and timing effects lost when loading a document and saving it to a new one.
Bug SPIREPPT-2316 Fixes the issue that the program threw "java.lang.NullPointerException" exception when converting PPT to PDF. 
Bug SPIREPPT-2319 Fixes the issue that the program hung when converting PPT to PDF.

Version: 8.7.3

Category ID Description
New feature SPIREPPT-2293 Supports selecting multiple slides and converting them into one SVG file.
Presentation ppt = new Presentation();
ppt.loadFromFile("input.pptx");
//saveToOneSVG(int startSlide,int endSlide)
//startSlide:Start slide index endSlide:End slide index
byte[] bytes = ppt.saveToOneSVG(10,13);
FileOutputStream fos = new FileOutputStream(new File("result.svg"));
fos.write(bytes);
fos.flush();
fos.close();
Bug SPIREPPT-2269 Fixes the issue that the content was cropped after saving a shape to an image.
Bug SPIREPPT-2283 Fixes the issue that the text layout is messed up after converting PowerPoint to images.
Bug SPIREPPT-2295 Fixes the issue that image placeholders could not be obtained after deleting all nodes in PICTURE_ORGANIZATION_CHART and then manually adding images.
Bug SPIREPPT-2301 Fixes the issue that txt attachments cannot be opened after merging PowerPoint files.

Version: 8.6.2

Category ID Description
New feature SPIREPPT-2152 Supports getting the number and position of vertices in a polygon.
Presentation ppt = new Presentation();
ppt.loadFromFile(inputFile);
IAutoShape shape = (IAutoShape)ppt.getSlides().get(0).getShapes().get(0);
ArrayList points = shape.getPoints();
String text1 = "point count:" + " " + points.size() + "\r
";
FileWriter writer1 = new FileWriter(outputFile, true);
writer1.append(text1);
writer1.close();
for (int i = 0; i < points.size(); i++)
{
    String text2 = "point" + i + " " + points.get(i) + "\r
";
    FileWriter writer2 = new FileWriter(outputFile, true);
    writer2.append(text2);
    writer2.close();
}
Bug SPIREPPT-2262 Fixes the issue that 3D rotation effect did not work when adding an image.
Bug SPIREPPT-2263 Fixes the issue that the program reported a CRC error: the file being extracted appears to be corrupted when loading a PowerPoint file.
Bug SPIREPPT-2276 Fixes the issue that the order of adding images to the picture organization chart was incorrect.
Bug SPIREPPT-2277 Fixes the issue that the currency symbol was duplicated in data edited with WPS after saving a PowerPoint document.

Version: 8.5.2

Category ID Description
Bug SPIREPPT-2237 Fixes the issue that getting the glow color of text failed.
Bug SPIREPPT-2239 Fixes the issue that the program threw an exception java.lang.NullPointerException when setting pictures using SmartArtLayoutType: PICTURE_ORGANIZATION_CHART.
Bug SPIREPPT-2241 Fixes the issue that the font size of h3/h4 title was incorrect when adding html content.
Bug SPIREPPT-2242 Fixes the issue that the saved document did not show the chart when viewed by WPS tool.
Bug SPIREPPT-2252 Fixes the issue that the background color was incorrect after converting PowerPoint to images.
Bug SPIREPPT-2253 Fixes the issue that the text position was incorrect after converting PowerPoint to images.
Request free customized demo just for you.

Tab 1

Upload

Maximum file size: 1 MB. Files accepted: ppt , pptx.
Click here to browse files.
fileerrors

Convert to

Source file:
filename
Target file type:

Tab 2

Upload

Maximum file size: 1 MB. Files accepted: ppt, pptx.
Click here to browse files.
fileerrors

Convert to

Source file:
filename
Search Text:
Replace Text:
downloads

Tab 3

Add text

Text:
Font:
Font Size:
Color:
downloads

Add image

Image:
Click here to browse files
downloads

Tab 4

Set text watermark

Text:
Font:
Font Size:
Color:
Rotate:
downloads

Set image watermark

Image:
Click here to browse files
downloads

Tab 5

Data

salesPers saleAmt comPct comAmt
Joe25015099
Robert27015099
Michelle31012049
Erich33012049
Dafna360150141
Rob380150135

Option

downloads

If you don't find the function you want, please fill in a form to request a free demo from us. Make sure the demo you want meets the following requirements:

  • It is a small project that implements a particular scenario.
  • It relates to our libraries stored on E-iceblue online store.
  • It costs less than 2 hours for us to complete it.
  • It is not a bug report.
  • It is not a feature request.