The parseexcel-gem does not support the celltype ‘percentage’ but uses ‘float’ instead. This is not a big deal as you can also use ‘float’ to do calculations with these cells. Old .sxc OpenOffice files are currently not supported – please load these files and save it as an “OpenDocument Spreadsheet (.ods)”. Instead of a filename the Google#new method needs the ‘key’ of a Google-Spreadsheet. This k
If you intend to use The Ruby Spreadsheet on Heroku, and your source code is closed source then 0-4 2X dynos at 100% CPU load are considered as one physical CPU (1 PX). In other words, this means that if your Software runs on Heroku, is not OpenSource and uses The Ruby Spreadsheet gem you will have to buy a NON-OpenSource Commercial License that allows you to use The Ruby Spreadsheet together with
Getting Started with Spreadsheet This guide is meant to get you started using Spreadsheet. By the end of it, you should be able to read and write Spreadsheets. Reading is easy! First, make sure all that code is loaded: require 'spreadsheet' Worksheets come in various Encodings. You need to tell Spreadsheet which Encoding you want to deal with. The Default is UTF-8 Spreadsheet.client_encoding = 'UT
Excellの表をOfficeソフト無しで操作する方法を紹介します。 これは ruby の gem(spreadsheet) だけが有れば利用可能ですので Linuxなどでも利用することが可能です。 簡単なテストでは上手く行っていますが、 本家のドキュメントにはRuby 1.8でIconv-supportが有る事を 想定していると有りますので、 Ruby 1.9系では日本語処理に問題が出るかも知れません。 spreadsheetの内部データは UTF-8 ですのでスクリプトもUTF-8に統一するのが 楽だと思われます。ただし、その場合、表示したりするときにシステムのコード系に 変換する必要が出ます。その為、場合によってどちらが良いかは変わります。 あいにく私はExcel 2003までしか触っていませんので、 最新のExcelとの関係については確認できませんが、 '.xls'の形式のファイル
Subject: [ruby-list:47694] [ANN] spreadsheet 0.6.5 リリース From: Masaomi Hatakeyama <mhatakeyama@ e e o Date: Tue, 14 Dec 2010 17:26:17 +0900 ywesee GmbH の畠山と申します。 まだマイナーバージョンアップ中ですが Ruby ライブラリspreadsheet リリース報告と自己紹介を兼ねてご報告します。 今年から spreadsheet の開発を私が引き継ぎました。 どうぞよろしくお願いします。 現在、英語ドキュメントしかありませんが日本語ドキュメントも整備中です。 (公開されている英語のドキュメントも不備が多く、整備中です。) ==紹介 * 比較的高速に .xls 形式のファイルをパースできます * Pure Ruby なので Linux からで
Excelで作った表データをJavaScriptであれこれしたい時に,ExcelデータをJSONに変換したいことがあったので,さっくり書いてみました.特徴としては,セル内改行があっても正しくデータが取れるので,CSVやTSVに比べるとデータに自由が効く点があります.HTMLを入れてみたり,JavaScriptを入れて読み込み側でeval()してみたりと色々応用が利くと思います. 動作環境 動作環境はRuby 1.9.3,ActiveSupport 3.2.13,roo 1.11.2です.Mac環境でのみ確認しています.ご利用は自己責任でお願いします. 利用方法 まず,以下のgemをインストールします. $ gem install active_support roo その後,以下のコードをexcel2json.rbとして保存します.Excelデータのファイル名は適宜変更してください. #
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く