class CrystalXlsx::Worksheet

Defined in:

crystal_xlsx/worksheet.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, workbook : CrystalXlsx::Workbook | Nil = nil) #

[View source]

Instance Method Detail


[View source]
def add_row(data : CrystalXlsx::Row::ValuesTypes, format : Format | Nil = nil) #

[View source]
def column_width(column : Int32, width : Float64 | Int32) #

[View source]
def columns_width=(columns : Array(Int32)) #

[View source]
def columns_width=(columns : Array(Float64)) #

[View source]
def freeze_pane(xSplit : Int32, ySplit : Int32, topLeftCell : String = "A2") #

[View source]
def freeze_row(row : Int32) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def rows : Array(Row) #

[View source]
def rows=(rows : Array(Row)) #

[View source]
def set_pane(xSplit : Int32, ySplit : Int32, topLeftCell : String = "A2", activePane : String = "bottomLeft", state : String = "frozen") #

[View source]
def to_xml(io : IO) #

generate the xml for the worksheet


[View source]
def workbook : CrystalXlsx::Workbook | Nil #

[View source]
def workbook=(workbook : CrystalXlsx::Workbook | Nil) #

[View source]