class OoxmlParser::RunPropertiesDefault
Class for parsing ‘w:rPrDefault` tags
Attributes
run_properties[RW]
@return [RunProperties] properties of run
Public Instance Methods
parse(node)
click to toggle source
Parse RunPropertiesDefault
object @param node [Nokogiri::XML:Element] node to parse @return [RunPropertiesDefault] result of parsing
# File lib/ooxml_parser/docx_parser/document_structure/styles/document_defaults/run_properties_default.rb, line 12 def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'rPr' @run_properties = RunProperties.new(parent: self).parse(node_child) end end self end