开发者

Ruby on Rails: Plugins/gems for converting a .xls file to a .pdf file?

开发者 https://www.devze.com 2023-01-05 11:18 出处:网络
what are the Rails plugin/gem solutions for converting开发者_Go百科 a .xls file into a .pdf file?

what are the Rails plugin/gem solutions for converting开发者_Go百科 a .xls file into a .pdf file?

Thanks a lot for any feedback!

Tom


I don't know of anything that will do it without shelling out some cash. You might be able to roll your own by combining the roo gem with the nice swanky pdfkit gem. The roo gem would allow you to read the contents of the excel file. You would then need to construct an html document and pass that to pdfkit which converts html to pdf. That is a little indirect, but should get the job done.

0

精彩评论

暂无评论...
验证码 换一张
取 消