npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

aspose.slides.via.java

v24.4.0

Published

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.

Downloads

195

Readme

Node.js Library for PowerPoint File Formats

Aspose.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.

Node.js PowerPoint Library Features

  • 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.

Read & Write PowerPoint Files

Microsoft PowerPoint: PPT, PPTX, PPS, POT, PPSX, PPTM, PPSM, POTX, POTM OpenOffice: ODP, ODS Text: CSV, Tab-Delimited, TXT, JSON Web: HTML, MHTML

Save PowerPoint Files As

Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, SVG, TIFF, GIF, EMF Text: CSV, Tab-Delimited, JSON, SQL, XML Web: HTML

Getting Started with Aspose.Slides for Node.js via Java

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.

Prerequisites

  1. JDK8 or newer.
  2. https://www.npmjs.com/package/java
  3. Node.js

Installation

From the command line:

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.

Convert Presentation to Multiple Formats using Node.js

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);

Convert Presentation to PDF using Node.js

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