Aspose.Slides Java For Ruby
Rjb - Ruby Java Bridge
RJB is a bridge program that connect between Ruby and Java with Java Native Interface. Rake + Rjb is the more powerful and useful build tool than both Maven and Ant. You can test your Java business logic class itself with Rjb’s mock. It helps to migrate Struts’s Model Object into your RoR application. But beware to buildSwing application, Ruby (and Rjb) doesn’t consider JVM’s native threads handling.
Aspose.Slides for Java
Aspose.Slides for Java is a unique PowerPoint management component that enables Java based applications to read, write and manipulate PowerPoint documents without using Microsoft PowerPoint.
One can generate, modify, copy, convert, render and print presentations without installing Microsoft PowerPoint.
Aspose.Slides for Java supports presentation file formats including PPT, PPS, POT, PresentationML (OOXML, PPTX) and Open Document Presentations (ODP).
Aspose.Slides Java for Ruby
Project Aspose.Slides Java for Ruby shows how different tasks can be performed using Aspose.Slides Java APIs in Ruby. This project is aimed to provide useful examples for Ruby developers who want to utilize Aspose.Slides for Java in their Ruby Projects using Rjb (Ruby Java Bridge).
System Requirements and Supported Platforms
Following are the system requirements to use Aspose.Slides Java for Ruby:
- Rjb Gem is configured
- Downloaded Aspose.Slides component
Following are the supported platforms:
- Ruby 2.2.x or above and respective DevKit.
- Java 1.5 or above
Download Required Libraries
Download required libraries mentioned below. These are the required for executing Aspose.Slides Java for Ruby examples.
Download Examples from Social Coding Sites
Following releases of running examples are available to download on below mentioned social coding sites:
Installation And Usage
It is very simple and easy to install Aspose.Slides Java for Ruby gem, please follow these simple steps:
- Run following command.
$ gem install aspose-slidesjava
- Download required Aspose.Slides for Java Component from following link. http://www.aspose.com/community/files/72/java-components/aspose.slides-for-java/default.aspx
- Create “jars” folder at root of the Aspose.Slides Java for Ruby gem and copy downloaded component into it.
Include the required files for working with the helloworld example.
require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/aspose-slidesjava' include Asposeslidesjava include Asposeslidesjava::HelloWorld initialize_aspose_slides
Let’s understand the above code.
- The first line makes sure that the aspose slides is loaded and available.
- Include the files that are required to access the aspose slides.
- Initialize the libraries. The aspose JAVA classes are loaded from the path provided in the aspose.yml file/
Support, Extend and Contribute
From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.
This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.
You can log any issues or suggestions related to Aspose.Slides Java for Ruby using any of the following platforms:
Extend and Contribute
Aspose.Slides Java for Ruby is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.
You can get the latest source code from one of the following locations:
Sample Code Examples
This section includes the following topics:
- Download and Configure Aspose.Slides in Ruby
- Ruby Programmers Guide
- Introduction to Presentation in Ruby
- Working with ActiveX Controls in Ruby
- Working with Charts in Ruby
- Adding Chart Series Overlap for Charts in Ruby
- Adding Chart Trend Lines in Ruby
- Adding Error Bars for Charts in Ruby
- Creating a Chart from Scratch in Ruby
- Formatting Chart Entities in Ruby
- Managing Different Properties of Charts in Ruby
- Setting Custom Location and Size for Chart Legend in Ruby
- Setting Pie Chart Sector Colors in Ruby
- Setting the Label Distance From Category Axis in Ruby
- Updating an Existing Chart in Ruby
- Working with Presentation in Ruby
- Accessing OpenDocument Presentation in Ruby
- Converting PPT to PPTX in Ruby
- Converting Presentation to HTML in Ruby
- Converting Presentation to PDF in Ruby
- Converting Presentation to TIFF in Ruby
- Converting Presentation to XPS in Ruby
- Converting Presentation with Notes in Ruby
- Managing Presentation Properties in Ruby
- Opening a Presentation in Ruby
- Saving a Presentation in Ruby
- Setting Default Zoom Value for Presentation in Ruby
- Working with Shapes in Ruby
- Adding an Embedded Video Frame to Slide in Ruby
- Adding Audio Frame to Slide in Ruby
- Adding Ellipse Shape to Slide in Ruby
- Adding Line Shape to Slide in Ruby
- Adding Picture Frame to Slide in Ruby
- Adding Rectangle Shape to Slide in Ruby
- Adding Video Frame to Slide in Ruby
- Cloning Shapes in Slides in Ruby
- Connecting shapes using Connectors in Ruby
- Creating Shape Thumbnails in Ruby
- Filling Shapes with Pattern in Ruby
- Filling Shapes with Picture in Ruby
- Filling Shapes with Solid Color in Ruby
- Finding a Shape in a Slide in Ruby
- Formatting Lines of the Shapes in Ruby
- Managing Shape Properties in Ruby
- Rotating Shapes in Ruby
- Working with Group Shapes in Ruby
- Working with OLE Object Frames in Ruby
- Working with Slides in Presentation in Ruby
- Accessing Slides of a Presentation in Ruby
- Adding Slides to Presentation in Ruby
- Changing the Position of a Slide in Ruby
- Cloning Slides in Presentation in Ruby
- Creating Slides SVG Image in Ruby
- Creating Slides Thumbnail Image in Ruby
- Managing Slides Transitions in Ruby
- Managing the Hyperlinks in Presentation in Ruby
- Removing Slides from a Presentation in Ruby
- Setting the Background Color to Slides in Ruby
- Setting the Image as Background to Slides in Ruby
- Working With Slide Size and Layout in Ruby
- Working with SmartArt in Ruby
- Working with Tables in Ruby
- Working with Text in Ruby
- Applying Shadow Effects on Slide Text in Ruby
- Creating a TextBox on Slide in Ruby
- Creating TextBox with Hyperlink in Ruby
- Exporting Text to HTML in Ruby
- Importing HTML Text in Presentation in Ruby
- Managing Font Family of Text in Ruby
- Managing Font Related Properties in Ruby
- Managing Fonts inside Presentation in Ruby
- Managing Line Spacing of the paragraph in Ruby
- Managing Multiple Paragraphs having Multiple Portions in Ruby
- Managing Paragraph Bullets in PPTX in Ruby
- Managing Paragraph Indent in Ruby
- Managing Paragraphs Alignment in Ruby
- Managing Text Autofit and Rotation in Ruby
- Managing WordArt Properties in Ruby
- Replacing Text in a Placeholder in Ruby
- Using Default Fonts for Rendering Presentation in Ruby
- Working with VBA Macros in Ruby
- Support, Extend and Contribute to Aspose.Slides in Ruby