class

Xlsxtream::Workbook

Inherits Reference < Object

Constants

FONT_FAMILY_IDS = {"" => 0, "roman" => 1, "swiss" => 2, "modern" => 3, "script" => 4, "decorative" => 5}

Constructors

new(output : String | Path | IO | ZipWriter, use_shared_strings : Bool = false, auto_format : Bool = false, columns : Array(ColumnOptions) | Nil = nil, has_header_row : Bool = false, font : FontOptions = FontOptions.new)
Source

Class methods

open(output : String | Path | IO | ZipWriter, use_shared_strings : Bool = false, auto_format : Bool = false, columns : Array(ColumnOptions) | Nil = nil, has_header_row : Bool = false, font : FontOptions = FontOptions.new, & : Workbook -> ) : Nil
Source

Instance methods

add_worksheet(name : String | Nil = nil, use_shared_strings : Bool | Nil = nil, auto_format : Bool | Nil = nil, columns : Array(ColumnOptions) | Nil = nil, has_header_row : Bool | Nil = nil) : Worksheet
Source
close
Source
write_worksheet(name : String | Nil = nil, use_shared_strings : Bool | Nil = nil, auto_format : Bool | Nil = nil, columns : Array(ColumnOptions) | Nil = nil, has_header_row : Bool | Nil = nil, & : Worksheet -> ) : Nil
Source
write_worksheet(name : String | Nil = nil, use_shared_strings : Bool | Nil = nil, auto_format : Bool | Nil = nil, columns : Array(ColumnOptions) | Nil = nil, has_header_row : Bool | Nil = nil) : Nil
Source