class Xlsxrb::Ooxml::RelationshipsParser::Listener
SAX listener for .rels relationship files.
Attributes
Public Class Methods
Source
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 60 def initialize @relationships = {} end
Public Instance Methods
Source
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 74 def characters(_text); end
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 72 def end_element(_uri, _localname, _qname); end
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 64 def start_element(_uri, localname, _qname, attrs) return unless localname == "Relationship" rid = attrs["Id"] target = attrs["Target"] @relationships[rid] = target if rid && target end