class Xlsxrb::Ooxml::Reader::PersonListListener
SAX2 listener for parsing <personList> element in xl/persons/person.xml.
Attributes
persons
[R]
untyped
Public Class Methods
() → untyped
Source
# File lib/xlsxrb/ooxml/reader/listeners/feature_listeners.rb, line 1876 def initialize @persons = [] end
Public Instance Methods
(untyped _uri, untyped _local_name, untyped _qname) → untyped
Source
# File lib/xlsxrb/ooxml/reader/listeners/feature_listeners.rb, line 1892 def end_element(_uri, _local_name, _qname); end
(untyped _uri, untyped local_name, untyped qname, untyped attributes) → untyped
Source
# File lib/xlsxrb/ooxml/reader/listeners/feature_listeners.rb, line 1880 def start_element(_uri, local_name, qname, attributes) name = element_name(local_name, qname) return unless name == "person" @persons << { id: attributes["id"], display_name: attributes["displayName"], user_id: attributes["userId"], provider_id: attributes["providerId"] }.compact end