class XlsxParser::Book
- XlsxParser::Book
- Reference
- Object
Defined in:
xlsx-parser/book.crConstant Summary
-
TIME_1900 =
Time.utc(1899, 12, 30)
-
TIME_1904 =
Time.utc(1904, 1, 1)
Constructors
-
.new(file : IO | String, check_file_extension = true)
Open given file/filename and store shared strings data
Instance Method Summary
-
#base_time
Return and store base time given from workbookPr http://msdn.microsoft.com/en-us/library/ff530155(v=office.12).aspx
-
#close
Close previously opened given file/filename
- #shared_strings : Array(String)
-
#sheet(name : String) : Sheet | Nil
Return sheet with given name
-
#sheet_exists?(name : String)
Return true if sheet with given name exists otherwise return false
-
#sheets
Return a array of sheets
- #style_types
- #zip : Compress::Zip::File
Constructor Detail
def self.new(file : IO | String, check_file_extension = true)
#
Open given file/filename and store shared strings data
Instance Method Detail
def base_time
#
Return and store base time given from workbookPr http://msdn.microsoft.com/en-us/library/ff530155(v=office.12).aspx
def sheet_exists?(name : String)
#
Return true if sheet with given name exists otherwise return false