class OoxmlParser::RunObject
Class for parsing ‘w:object`
Attributes
@return [OleObject] ole object of object
Public Instance Methods
Source
# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_paragraph_run/object.rb, line 13 def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'OLEObject' @ole_object = OleObject.new(parent: self).parse(node_child) end end self end
Parse RunObject
object @param node [Nokogiri::XML:Element] node to parse @return [RunObject] result of parsing