class OoxmlParser::MarkerLayout
Class for parsing marker layout
Attributes
@return [Integer] size of marker
@return [Symbol] symbol of marker
Public Instance Methods
Source
# File lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart/chart_style_file/marker_layout.rb, line 14 def parse(node) node.attributes.each do |key, value| case key when 'size' @size = value.value.to_i when 'symbol' @symbol = value.value.to_sym end end self end
Parse Marker Layout @param node [Nokogiri::XML:Element] node to parse @return [MarkerLayout] result of parsing