class OoxmlParser::RunSpacing
Class for parsing ‘w:sz` object
Attributes
@return [Integer] value of size
Public Instance Methods
Source
# File lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties/run_spacing.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
Parse RunSpacing
@param [Nokogiri::XML:Node] node with RunSpacing
@return [RunSpacing] result of parsing