class OoxmlParser::TableRowHeight

Class for parsing `w:trHeight` object

Attributes

value[RW]

@return [Integer] value of size

Public Instance Methods

parse(node) click to toggle source

Parse TableRowHeight @param [Nokogiri::XML:Node] node with TableRowHeight @return [TableRowHeight] result of parsing

# File lib/ooxml_parser/common_parser/common_data/table/row/row/table_row_properties/table_row_height.rb, line 12
def parse(node)
  node.attributes.each do |key, value|
    case key
    when 'val'
      @value = OoxmlSize.new(value.value.to_f)
    end
  end
  self
end