Cloud SDK to manipulate Word documents using Node.js

Create, edit or convert Word documents (20+ file formats) using Aspose. Words Cloud SDK for Node.js.

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

Aspose.WordsCloud SDK for Node.js

 
 

Aspose.Words Cloud SDK for Node.js enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of Word documents in the cloud. This SDK allows you to work with Aspose.Words Cloud REST APIs in your Node.js applications quickly and easily, with zero initial cost. It offers an extensive support for various popular Word Document formats including DOC, DOCX, RTF, DOT, DOTX, DOTM, FlatOPC (XML), OOXML, OpenDocument 1.1 format, OTT and Word 2003 XML. Specifically the RTF specification is a set of predefined keywords which includes over 1400 keywords in the RTF 1.8 Specification and Aspose.Words Cloud SDK for Node.js is capable of fully supporting (reading) the majority of these keywords.

Get Started with Word Document Processing

No Software download required. It is easy to get started with Aspose.Words Cloud SDK for Node.js and you do not need to download or install any software. 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.Words Cloud SDK for Node.js on any supported platform.

 

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

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 a highest degree of precision. Get an ability to extract Word document contents or save file contents as plain Text file. Be amazed with 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. Such a high degree of precision while ensuring accuracy and highest quality of rendering with an efficient conversion, and all being performed with simple methods. 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 of 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 conversion process, you can choose either of the supported format i.e. DOC/DOCX. 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, being 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 this requirement.

Remove protection from Word Document - Node.js


var storageApi = new StorageApi(config);
var wordsApi = new WordsApi(config);
var protectionRequestBody = {
    'Password' : 'aspose',
    'ProtectionType' : 'NoProtection',
    'NewPassword' : ''
    };

// Upload input 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 unprotect a word document
    wordsApi.PostChangeDocumentProtection("SampleProtectedBlankWordDocument.docx", null, null, null, protectionRequestBody, function(responseMessage) {
    assert.equal(responseMessage.status, 'OK');
    // Download updated document from storage server
    storageApi.GetDownload(name, null, null, function(responseMessage) {
        assert.equal(responseMessage.status, 'OK');
        var writeStream = fs.createWriteStream(data_path + "Un-protectedFile.docx");
        writeStream.write(responseMessage.body);
        });
    });
});
 

Support and Learning Resources

 
  

Aspose.Words also offers individual Word processing SDKs for other popular languages as listed below: