class OoxmlParser::SheetFormatProperties
Class for storing SheetFormatProperties
Attributes
default_column_width[RW]
default_row_height[RW]
Public Instance Methods
parse(node)
click to toggle source
Parse SheetFormatProperties
@param node [Nokogiri::XML::Element] node to parse @return [SheetFormatProperties] value of SheetFormatProperties
# 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