Sha256: f862a35a78a294efd3534df91cfe142027f0c4150d2ba195b15b564f615f7ef6

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

require "rubygems"
require "surpass"

book = Workbook.new
ws = book.add_sheet

(6..80).each do |i|
  fnt = Font.new
  fnt.height = i*20
  style = StyleFormat.new
  style.font = fnt
  ws.write(i, 1, 'Test')
  ws.row(i).style = style
end

book.save(__FILE__.gsub(/rb$/, "xls"))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
surpass-0.0.6 examples/row_styles.rb
surpass-0.0.3 examples/row_styles.rb