class OoxmlParser::ChartReference
Class for parsing ‘c:chart` object
Attributes
@return [String] id of the chart
Public Instance Methods
Source
# File lib/ooxml_parser/pptx_parser/presentation/slide/graphic_frame/graphic_frame/chart_reference.rb, line 12 def parse(node) node.attributes.each do |key, value| case key when 'id' @id = value.value.to_s end end self end
Parse ChartReference
@param [Nokogiri::XML:Node] node with ChartReference
@return [ChartReference] result of parsing