Node.js SDK to Manipulate Word Documents

Integrate document manipulation functionality into your Node.js apps to create, render, format, split, compare & convert Word files.

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

Aspose.WordsCloud SDK for Node.js

 
 

Aspose.Words Cloud SDK for Node.js is a wrapper around Cloud RESTful API to integrate Microsoft Word document creation and processing functionality into your Node.js applications. You may create, render, merge, split, manipulate & convert your Microsoft Word and OpenOffice documents without requiring any software installation.

Aspose.Words Cloud SDK for Node.js is able to work and manipulate Microsoft Word document properties, bookmarks, comments, tables, document sections, form fields, hyperlinks, paragraphs, watermarks, fonts, classifications, footnotes, headers & footers, fields, math objects & track changes. It also allows you to secure your business documents by applying password protection.

 

Advanced Features of Aspose.Words Cloud SDK for Node.js

 

 

Merge multiple Word documents

 

Split all or specific pages of a Word document

 

Convert Word documents to different formats

 

Manipulate document properties

 

Execute simple to complex mail merge

 

Execute mail merge template

 

Insert a page number field into Word documents

 

Insert or edit watermark in Word documents

 

Find or replace text in Word documents

 

Password protect Word documents or update document protection

 

Load & convert PDF documents to Word formats including DOC & DOCX

 

Get OLE data from Image object

Quick & Reliable Conversion of Popular Document Formats

The Aspose.Words Cloud SDK for Node.js supports document conversion to DOC, DOCX, EPUB, XPS, TIFF, PDF, HTML, SWF, PCL, raster image and many other formats. It also enables you to render a complete document or a single page to image formats including JPEG, GIF, PNG, and TIFF, or even to vector images, with the highest degree of precision. Get an ability to extract Word document contents or save file contents as a plain TXT file. Be amazed by great fidelity of output when performing Word to EPUB conversion because the Content, formatting, images, hyperlinks, and navigation will work in any EPUB compliant reader.

Last but not the least, get same high-fidelity page layout of rendering engine to produce output in fixed-layout format when dealing with Word to XPS conversion. Furthermore, Aspose.Words Cloud SDK for Node.js makes sure that the converted documents are produced according to the target file's standards and specifications so that the resultant file can easily be loaded within the native tools.

Split Documents to Several Parts

While working with your documents, you may come across scenarios where you want to split the large documents into smaller ones. You can split the documents into separate MS Word document or to different file formats. Splitting one large document into smaller documents of different file formats is an important aspect in document manipulation tasks. It involves a series of steps that need to be performed for getting the desired results. Aspose.Words Cloud SDK for Node.js eliminates the need for such complicated tasks and makes it hassle-free for you.

Split all Pages to PDF documents - Node.js


var storageApi = new StorageApi(config);
var wordsApi = new WordsApi(config);

// Upload source file to aspose cloud storage
storageApi.PutCreate(name, versionId=null, storage=null, file= data_path + name , function(responseMessage) {
    assert.equal(responseMessage.status, 'OK');
    // Invoke Aspose.Words Cloud SDK for Node.js to split word document
    wordsApi.PostSplitDocument("SampleWordDocument.docx", "pdf", null, null, true, null, null, function(responseMessage) {
    
    // Download splitted PDFs from storage server as zipOutput
    var outfilename = responseMessage.body.SplitResult.ZippedPages.Href;
    storageApi.GetDownload("ConvertedFile.zip", null, null, function(responseMessage) {
        assert.equal(responseMessage.status, 'OK');
        var writeStream = fs.createWriteStream('../../../Data/'+ "ConvertedFile.zip");
        writeStream.write(responseMessage.body);
        });
    });
});

Load PDF & Convert to Word Document Formats

Aspose.Words Cloud offers its own SDK for Node.js conversion engine and provides a unique feature to load PDF document from storage as an input and convert it to Word document. During the conversion process, you can choose either of the supported formats. The conversion is robust enough as it converts PDF tables and lists into native Word tables and lists. The images including Semi-transparent, Rotated and inline images (i.e. images that go "inside" the text, is a logical part of text paragraph) are also honored during this conversion process and the resultant documents with our SDK can be further edited in Word processing applications, such as Microsoft Word.

Manipulate Document Elements

Aspose.Words Cloud SDK for Node.js supports the manipulation of Word document elements including Text, Images, Annotations, Bookmarks, Tables, Hyperlinks, Shapes and so on. All the operations on these elements can be performed with the help of simple REST based interface in the cloud.

Protecting Word Documents

Apart from MS Word documents creation and manipulation of Document elements, we may come across a requirement to apply security privileges to the document so that only authorized people can access document content. Aspose.Words Cloud SDK for Node.js provides the capabilities to cater to this requirement.

 

Support and Learning Resources