class OoxmlParser::TextFont
Class for parsing ‘a:latin`, `a:ea`, `a:cs` tag
Attributes
@return [String] typeface of font
Public Instance Methods
Source
# File lib/ooxml_parser/pptx_parser/presentation/presentation_theme/font_scheme/font_collection/text_font.rb, line 12 def parse(node) node.attributes.each do |key, value| case key when 'typeface' @typeface = value.value.to_s end end self end
Parse TextFont
object @param node [Nokogiri::XML:Element] node to parse @return [TextFont] result of parsing