class OoxmlParser::RunFonts
Class for parsing ‘w:rFonts` object
Attributes
@return [String] ascii font
@return [String] ascii theme value
Public Instance Methods
Source
# File lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties/run_fonts.rb, line 14 def parse(node) node.attributes.each do |key, value| case key when 'ascii' @ascii = value.to_s when 'asciiTheme' @ascii_theme = value.to_s end end self end
Parse RunFonts
@param [Nokogiri::XML:Node] node with RunFonts
@return [RunFonts] result of parsing