class OoxmlParser::ChartStyle
Chart
Style
Attributes
ole_object[RW]
@return [OleObject] ole object
style_number[RW]
Public Instance Methods
parse(node)
click to toggle source
Parse ChartStyle
@param [Nokogiri::XML:Node] node with Relationships
@return [ChartStyle] result of parsing
# File lib/ooxml_parser/common_parser/common_data/alternate_content/alternate_content/chart_style.rb, line 13 def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'style' @style_number = node_child.attribute('val').value.to_i when 'oleObject' @ole_object = OleObject.new(parent: self).parse(node_child) end end self end