Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

set_simple_xlsx_writer

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

set_simple_xlsx_writer

  • 0.5.4
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

** Description **

This is a simple no fuss generator for OpenXML aka XLSX files. No formatting, styles just raw content with a few basic datatypes supported. Produced output is tested to be compatible with

- Open Office 3.2 series (Linux, Mac, Windows)
- Neo Office 3.2 series (Mac)
- Microsoft Office 2007 (Windows)
- Microsoft Office 2010 (Windows)
- Microsoft Office 2008 for Mac (versions 12.2.5 or above)
- Microsoft Excel Viewer (Windows)

Numbers of iWork '09 does not appear to support the inline string storage model prefered by this gem. Apple may release a fix for this eventually, I have avoided the more common shared string table method as it cannot be implemented in linear time.

** Sample **

serializer = SimpleXlsx::Serializer.new("test.xlsx") do |doc| doc.add_sheet("People") do |sheet| sheet.add_row(%w{DoB Name Occupation}) sheet.add_row([Date.parse("July 31, 1912"), "Milton Friedman", "Economist / Statistician"]) end end

** License **

See attached LICENSE for details.

** Credits **

Written by Dee Zsombor: http://primalgrasp.com Funded by Harvest: http://www.getharvest.com

FAQs

Package last updated on 22 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc