class OoxmlParser::Choice
Class for storing choice (for office 2014 and newer) graphic data
Attributes
Public Instance Methods
Source
# File lib/ooxml_parser/common_parser/common_data/alternate_content/alternate_content/choice.rb, line 13 def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'm' @math_text = MathText.new(parent: self).parse(node_child) end end self end
Parse Choice
object @param node [Nokogiri::XML:Element] node to parse @return [Choice] result of parsing