使用Ruby生成Excel文档 [英] Generating Excel documents with Ruby

查看:88
本文介绍了使用Ruby生成Excel文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Linux机器上使用Ruby(从Rails)生成Excel文档. 我知道Spreadsheet :: Excel,但是它不支持公式,并且使用的格式很旧.

I need to generate Excel documents with Ruby (from Rails) on a Linux machine. I know of Spreadsheet::Excel, but it doesn't support formulas, and uses a pretty old format.

还有其他功能(不一定是免费或开源的),功能更强大吗?

Is there any other option, not necessarily free or open source, that is a bit more powerful?

推荐答案

如何打开已经填充了公式的电子表格(Spreadsheet :: Excel).在引用的单元格中输入数据将使它们显示结果.

How about opening a spreadsheet (Spreadsheet::Excel) with the formulae already populated. Entering data into the referenced cells will cause them to display the result.

这篇关于使用Ruby生成Excel文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆