Node.js SDK to Create & Manipulate PowerPoint presentations

Platform independent capabilities to Create, Manipulate and Transform Microsoft PowerPoint presentations to industry leading formats.

  Start Free Trial
Aspose.Slides Cloud SDK for Node.js

Aspose.Slides Cloud SDK for Node.js

 
 

One SDK offering all capabilities

Aspose.Slides Cloud SDK for Node.js is a complete platform independent SDK offering all the capabilities to create as well as manipulate Microsoft PowerPoint presentations. When looking for Slides specific operations, with the help of this SDK, you can split or Merge Presentation files, get the capabilities to Get count of slides, Add new slide, Copy existing slide, Delete a slide, Move Slide to new location, Delete slide background, Change slide position, Get color scheme of Slide, Get background of slide, Aspect Ratio of slide, comments from slide, render Slide as SVG and much more.

Furthermore, it allows you to create, modify and convert presentation files while performing all operations in the cloud. It also enables you the inter-conversion of the industry standard presentation formats as well as to commonly used image file formats. Developers can easily extract & manipulate different elements of a presentation including slide, text, color schemes, font schemes, shapes and images or create presentation files from scratch. It also enables you to render individual slides to commonly used image formats while customizing the image dimensions. Moreover, the SDK facilitates the extraction of individual shapes from slides to supported image formats with highest fidelity to the original.

 

Advanced PowerPoint manipulation Features

 

 

Create PowerPoint presentations

 

Merge multiple presentations

 

Split PowerPoint presentations

 

Convert presentations to different formats

 

Move slide's position

 

Add new slides.

 

Copy existing slides

 

Convert slides to images

 

Get comments of a Slide

 

Manage document properties

 

Find, replace & modify Text

 

Extract shapes, font, text, format and theme's information

 

Export slides to SVG

 

Get Placeholder Count from a PowerPoint Slide

 

Export presentations to PDF format

One solution for all PowerPoint Processing

It is easy to get started with Aspose.Slides Cloud SDK for Node.js as you need nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.Slides Cloud SDK for Java a try on any platform.

Using Aspose.Slides Cloud SDK for Node.js, developers can easily open and save a multitude of file formats. Get the ability to quickly and reliably convert different document formats with a high degree of precision where supported formats include PPT, POT, PPS, PPTX, POTX, PPSX, ODP, PresentationML, Text, XPS, PDF, HTML, TIFF, JPG, PNG, BMP, GIF and SVG. Apart from conventional file formats, it also supports Office OpenXML (OOXML) which is XML-based format that was introduced in Microsoft Office 2007 and it extensively supports reading and converting PresentationML documents in core product engine.

Presentation Processing Capabilities

Aspose.Slides Cloud SDK for Node.js allows the developers to perform a wide range of presentation processing operations. Just a few of such operations are listed ahead.

Split PowerPoint Presentation - Node.js


var config = {'appSid':AppSID,'apiKey':AppKey , 'debug' : true};
// Instantiate Aspose Storage SDK
var storageApi = new StorageApi(config);
// Instantiate Aspose.Slides SDK
var slidesApi = new SlidesApi(config);

// Upload source file to aspose cloud storage
storageApi.PutCreate("sample-input.pptx", null, null, '../../../Data/' + "sample-input.pptx" , function(responseMessage) {

// Invoke Aspose.Slides Cloud SDK for Node.js to split slides of presentation to PNG format
slidesApi.PostSlidesSplit("sample-input.pptx", null, null, to, from, null, "png", null, null, function(responseMessage) {
    assert.equal(responseMessage.status, 'OK');

    responseMessage.body.SplitResult.Slides.forEach(function(splitDoc) {
        var urlString = splitDoc.Href;
        var splittedFileName = urlString.split('/').pop();
				
        // Download file from storage server
        storageApi.GetDownload(splittedFileName, null, null, function(responseMessage) {
            assert.equal(responseMessage.status, 'OK');
            var writeStream = fs.createWriteStream(data_path + splittedFileName);
	    writeStream.write(responseMessage.body);
	    });
        });
    });
});

Slides Specific Features

Slides can be processed and manipulated in following ways after the integration of Aspose.Slides Cloud SDK for Node.js in applications.

  • Save specific slides as images and control the resultant image size or scale
  • Convert all or specific slides to various formats
  • Add or remove slides
  • Copy or move slides
  • Delete Slides
  • Delete slides background
  • Get slide count
  • Render slide as SVG image
  • Access & manipulate slide elements such as:
    • Placeholders
    • Placeholder count
    • Font scheme
    • Color scheme
    • Background
    • (You can control the output image size or scale according to its further use)
    • Comment

Get PowerPoint slides count - Node.js


var config = {'appSid':AppSID,'apiKey':AppKey , 'debug' : true};
// Instantiate Aspose Storage SDK
var storageApi = new StorageApi(config);
// Instantiate Aspose.Slides SDK
var slidesApi = new SlidesApi(config);

// Upload source file to Aspose cloud storage
storageApi.PutCreate( "sample-input.pptx", null, null, '../../../Data/' + "sample-input.pptx" , function(responseMessage) {

    // Invoke Aspose.Slides Cloud SDK API to get PowerPoint document slide list
    slidesApi.GetSlidesSlidesList( "sample-input.pptx", null, null, function(responseMessage) {
    assert.equal(responseMessage.status, 'OK');
        var count = responseMessage.body.Slides.SlideList.length;
	console.log("Total Slides :: " + count);
        });
    });

Convert Presentations to Fixed Format

The presentations can be converted to PDF that conform to PDF 1.5 or PDF/A-1b specifications. The Aspose.Slides Cloud SDK for Node.js goes an extra mile during conversion of Microsoft PowerPoint documents to PDF files. Nevertheless, the majority of conversions will be indistinguishable from the original Microsoft PowerPoint document.

Text & Shapes Processing

Aspose.Slides Cloud SDK for Node.js makes it very easy to manipulate text and shapes in slides. The features include:

Get All Text Items from a Presentation - Node.js


// Instantiate Aspose Storage SDK
var storageApi = new StorageApi(config);
// Instantiate Aspose.Slides SDK
var slidesApi = new SlidesApi(config);

// Upload source file to Aspose cloud storage
storageApi.PutCreate("sample-input.pptx", null, null, '../../../Data/' + "sample-input.pptx" , function(responseMessage) {

    // Invoke Aspose.Slides Cloud SDK API to get all text items from a presentation
    slidesApi.GetSlidesPresentationTextItems("sample-input.pptx", null, null, null, function(responseMessage) {
    assert.equal(responseMessage.status, 'OK');
        responseMessage.body.TextItems.Items.forEach(function(textItem) {
        console.log("Text :: " +  textItem.Text);
	});
    });
});
 

Support and Learning Resources

 
  

Aspose.Slides also offers, Presentations processing SDKs for other popular languages, as listed below: