class OoxmlParser::Scaling
Parsing Scaling
tag ‘scaling’
Attributes
@return [ValuedChild] orientation value
Public Instance Methods
Source
# File lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_axis/scaling.rb, line 12 def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'orientation' @orientation = ValuedChild.new(:symbol, parent: self).parse(node_child) end end self end
Parse Scaling
object @param node [Nokogiri::XML:Element] node to parse @return [Scaling] result of parsing