class Xlsxrb::Ooxml::Reader::CalcChainListener
SAX2 listener for parsing calcChain.xml.
Attributes
entries
[R]
untyped
Public Class Methods
() → untyped
Source
# File lib/xlsxrb/ooxml/reader/listeners/feature_listeners.rb, line 1415 def initialize @entries = [] end
Public Instance Methods
(untyped _uri, untyped local_name, untyped qname, untyped attributes) → untyped
Source
# File lib/xlsxrb/ooxml/reader/listeners/feature_listeners.rb, line 1419 def start_element(_uri, local_name, qname, attributes) name = element_name(local_name, qname) return unless name == "c" entry = {} entry[:ref] = attributes["r"] if attributes["r"] i = attributes["i"] entry[:sheet_id] = i.to_i if i @entries << entry end