A powerful library for manipulating and converting PowerPoint (PPT, PPTX, PPS, POT, PPSX, PPTM, PPSM, POTX, POTM), ODP, ODS, CSV, TXT, PNG, EMF, JPG, JSON and HTML files.
npm install aspose.slides.via.javaAspose.Slides for Node.js via Java is a PowerPoint API for presentations manipulation and management. It allows developers to read, write, convert and manipulate PowerPoint presentations using Node.js. All document elements such as slides, tables, text, charts, shapes, images and SmartArt diagrams are accessible for manipulation, supports exporting presentations to PDF, PDF/A, HTML, XPS and image formats. The PowerPoint API includes many extended PPT and PPTX features as: merge, clone, split, compare presentations.
- Create or clone existing slides from templates.
- Save & open files to & from streams.
- Generate presentations from database.
- Create shapes and add text to shapes on slides.
- Work with PowerPoint tables.
- Handle text & shape formatting.
- Remove or apply the protection on shapes.
- Embed Excel charts as OLE objects in slides.
- Work with ActiveX component.
Aspose.Slides for Node.js via Java consists of 2 individual parts, the javascript wrapper (aspose.slides.js) and Aspose.Slides for Node.js via Java (aspose-slides-xx.x-nodejs.jar). These components communicate via https://www.npmjs.com/package/java whereas both require separate environments & processes for execution.
From the command line:
``npm`
npm install aspose.slides.via.java
Please use the following article if you encounter compilation errors during installation of Aspose.Slides for Node.js via Java.
`javascript
var aspose = aspose || {};
aspose.slides = require("aspose.slides");
var pres = new aspose.slides.Presentation();
var slide = pres.getSlides().get_Item(0);
slide.getShapes().addAutoShape(aspose.slides.ShapeType.Line, 50, 150, 300, 0);
pres.save("template.pptx", aspose.slides.SaveFormat.Pptx);
`
`javascript
var aspose = aspose || {};
aspose.slides = require("aspose.slides");
var pres = new aspose.slides.Presentation("template.pptx");
pres.save("output.pdf", aspose.slides.SaveFormat.Pdf);
``
Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License