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