class OoxmlParser::SheetFormatProperties
Class for storing SheetFormatProperties
Attributes
Public Instance Methods
Source
# File lib/ooxml_parser/xlsx_parser/workbook/worksheet/sheet_format_properties.rb, line 11 def parse(node) node.attributes.each do |key, value| case key when 'defaultColWidth' @default_column_width = value.value.to_f when 'defaultRowHeight' @default_row_height = value.value.to_f end end self end
Parse SheetFormatProperties
@param node [Nokogiri::XML::Element] node to parse @return [SheetFormatProperties] value of SheetFormatProperties