Sha256: 7d2a35a89c9203b6e703227c86123c3f518660d687f815d65b8d71e578c981bc

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

= Simple Spreadsheet Extractor

Authors::    Stuart Owen
Version::    0.2.2
Contact::    mailto:stuart.owen@manchester.ac.uk
Licence::    BSD (See LICENCE or http://www.opensource.org/licenses/bsd-license.php)
Copyright::  (c) 2010 The University of Manchester, UK


== Synopsis

This is a simple gem that provides a facility to read and XLS or XLSX spreadsheet and produce an XML representation of its contents

Internally it uses Apache POI, using the sister [http://github.com/myGrid/simple-spreadsheet-extractor] tool.

This is a simple tool developed for use within SysMO-DB[http://www.sysmo-db.org].

== Installation

Java 1.6 (JRE) is required.

[sudo] gem install simple-spreadsheet-extractor

== Usage

* require 'simple-spreadsheet-extractor'
* include the module SysMODB::SpreadsheetExtractor
* pass an IO object to the method spreedsheet_to_xml which responds with the XML for the contents of the sheet.
  
e.g.

   require 'rubygems'
   require 'simple-spreadsheet-extractor'

   include SysMODB::SpreadsheetExtractor

   f=open("/tmp/test-spreadsheet.xls")
   puts spreadsheet_to_xml f

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple-spreadsheet-extractor-0.2.2 README.rdoc