class Xlsxrb::Ooxml::Reader::PhoneticPrListener
SAX2 listener for parsing <phoneticPr> element.
Attributes
Public Class Methods
Public Instance Methods
# File lib/xlsxrb/ooxml/reader.rb, line 3214 def start_element(_uri, local_name, qname, attributes) name = element_name(local_name, qname) return unless name == "phoneticPr" pr = {} pr[:font_id] = attributes["fontId"].to_i if attributes["fontId"] pr[:type] = attributes["type"] if attributes["type"] pr[:alignment] = attributes["alignment"] if attributes["alignment"] @phonetic_pr = pr end