Sha256: 91352a57fd08aa87e6b3a8a9285dbb0eaea4351dad829fff4f84c254cf0b1f3b
Contents?: true
Size: 813 Bytes
Versions: 3
Compression:
Stored size: 813 Bytes
Contents
require_relative 'extension/sparkline_groups' require_relative 'extension/x14_table' module OoxmlParser # Class for `ext` data class Extension < OOXMLDocumentObject # @return [X14Table] table data in x14 namespace attr_accessor :table # @return [SparklineGroups] list of groups attr_reader :sparkline_groups # Parse Extension data # @param [Nokogiri::XML:Element] node with Extension data # @return [Extension] value of Extension data def parse(node) node.xpath('*').each do |column_node| case column_node.name when 'table' @table = X14Table.new(parent: self).parse(column_node) when 'sparklineGroups' @sparkline_groups = SparklineGroups.new(parent: self).parse(column_node) end end self end end end
Version data entries
3 entries across 3 versions & 1 rubygems