class OoxmlParser::NaryProperties
Class for parsing ‘m:naryPr` object
Attributes
@return [NaryGrow] grow value
@return [NaryLimitLocation] nary limit location
Public Instance Methods
Source
# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_formula/nary/nary_properties.rb, line 16 def parse(node) node.xpath('*').each do |nary_pr_child| case nary_pr_child.name when 'grow' @grow = NaryGrow.new(parent: self).parse(nary_pr_child) when 'limLoc' @limit_location = NaryLimitLocation.new(parent: self).parse(nary_pr_child) end end self end
Parse NaryProperties
@param [Nokogiri::XML:Node] node with NaryProperties
@return [NaryProperties] result of parsing