class OoxmlParser::BlipFill
Class for parsing `a:blipFill` tag
Attributes
blip[RW]
stretch[RW]
@return [Stretch]
Public Instance Methods
parse(node)
click to toggle source
Parse BlipFill
object @param node [Nokogiri::XML:Element] node to parse @return [BlipFill] result of parsing
# File lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_properties/blip_fill.rb, line 14 def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'blip' @blip = Blip.new(parent: self).parse(node_child) when 'stretch' @stretch = Stretch.new(parent: self).parse(node_child) end end self end