class OoxmlParser::MathRunProperties
Class for parsing ‘m:rPr` object
Attributes
@return [True, False] is run with break
Public Class Methods
Source
# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_formula/math_run/math_run_properties.rb, line 9 def initialize(parent: nil) @break = false super end
Calls superclass method
OoxmlParser::OOXMLDocumentObject::new
Public Instance Methods
Source
# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_formula/math_run/math_run_properties.rb, line 17 def parse(node) node.xpath('*').each do |math_run_child| case math_run_child.name when 'brk' @break = true end end self end
Parse MathRunProperties
@param [Nokogiri::XML:Node] node with MathRunProperties
@return [MathRunProperties] result of parsing