哪个宝石支持在ruby中导入/导出到xlsx文件

前端之家收集整理的这篇文章主要介绍了哪个宝石支持在ruby中导入/导出到xlsx文件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我需要用 ruby代码来读写Excelx文件,
试用电子表格不支持xlsx格式,
Roo也读取文件,不写入xlsx.

有没有任何宝石/插件将写入Excelx?

解决方法

对于编写/导出xlsx文件的任务,Axlsx是我发现的功能最完整的库.不过,它不支持读取/导入xlsx文件.

https://github.com/randym/axlsx

以下是作者的描述:

xlsx generation with charts,images,automated column width,customizable styles and full schema validation. Axlsx excels at helping you generate beautiful Office Open XML Spreadsheet documents without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all,you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client’s machine.

原文链接:https://www.f2er.com/ruby/273088.html

猜你在找的Ruby相关文章