class OoxmlParser::BulletImage
Class for parsing <buBlip> tag
Attributes
file_reference[R]
@return [FileReference] image structure
Public Instance Methods
parse(node)
click to toggle source
Parse BulletImage
object @param node [Nokogiri::XML:Element] node to parse @return [BulletImage] result of parsing
# File lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_properties/bullet_image.rb, line 12 def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'blip' @file_reference = FileReference.new(parent: self).parse(node_child) end end self end