Aspose.Words  Cloud SDK for Ruby

Work with Word Documents using Ruby SDK

Create, edit, convert and split Word documents in the Cloud.

Get Started

Aspose.Words Cloud Ruby SDK is a wrapper for Ruby around Cloud RESTful API which you can use to leverage the creation and processing functionality of business documents from within your Ruby applications. Our Cloud SDK lets your Ruby applications create and process Microsoft Word and OpenOffice documents without installing any software. You can work with various fonts, form fields, drawing & math objects, document & text classifications, and document properties.

Aspose.Words Cloud Ruby SDK also lets you apply headers & footers, page numbering, document sections, watermarks, hyperlinks, and various other document elements. You can also use this Cloud SDK to make your business documents protected by applying security via REST API.

Advanced Word Processing Features

Split all or specific pages of a Word document

Manipulate document properties including Metadata

Execute mail merge template

Merge multiple Word documents

Convert Word documents to different formats

Execute simple to complex mail merge

Insert a page number field into Word documents

Insert or edit watermark in Word documents

Convert PDF document to MS Word format

Document & Text Classification

Find or replace text in Word documents

Protect Word documents or update protection

Support for Various Word Document Formats

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 Ruby SDK is capable of fully supporting (reading) the majority of these keywords.

Mail merge and reports generation

Aspose.Words Cloud Ruby SDK allows developers to use standard or more complex mail merge operations such as inserting images or repeatable regions in reports. You can design reports in Microsoft Word and then allow Aspose.Words Cloud Ruby SDK to populate documents with data from XML data sources.

Protect your Word Documents

Aspose.Words Cloud Ruby SDK allows developers to secure and protect the Word documents. A simple code snippet enables you to protect a Word document on the Aspose Cloud Storage. The SDK is built on top of REST API which is completely independent of your operating system, database system or development language. However, we have provided this SDK, in order to make it even easier to integrate with Ruby language. So you can use it to encrypt and protect your input documents.

Documents and Text Classification

Aspose.Words Cloud Ruby SDK supports Text and document classification into the Interactive Advertising Bureau (IAB) taxonomy categories. Document classification is often used in various business processes to automate the flow of documents through the organization. Document classification supports classifying the documents stored in Aspose Cloud Storage or any of the supported storages. You can use this feature with all supported MS Word document formats, including PDF which will be implicitly converted to Word format. When working with Text classification, it is a lightweight version of classification that processes text snippet. You do not need to store the snippet on any storage, instead, it is supplied in the request body.

Manipulate Tables in Word document

Aspose.Words Cloud Ruby SDK allows developers to read table information from a Word Document, or even delete the table from Word document.

Reading Table information from a Word document - Ruby

#Get App key and App SID from
    AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
    @words_api =  
    @storage_api =

    response = @storage_api.put_create("TableDocument.doc","../../../data/" << "template.doc","r") { |io| } )
    table_index = 1
    row_index = 0
    response = @words_api.get_borders("output.doc", 1, 0)  

Manage Watermark Images in Word Document

Aspose.Words Cloud Ruby SDK provides the feature to add as well as remove any existing watermark from Word document. It also provides the feature to add Watermark Text inside the Word document. In order to add a watermark image, you need to upload the image to Cloud storage and then reference the same image during the watermarking process. The feature to delete watermark is also as simple as addition and all you need to do is call a simple method to remove the watermarks from the document.

Platform & Storage Independence

Aspose.Words Cloud Ruby SDK can be used with any language or platform which supports HTTP requests and responses. Therefore you can also use Aspose.Words Cloud Ruby SDK with many third-party storage providers including Amazon S3, Google Cloud, Google Drive, and DropBox.


Support and Learning Resources