Sha256: 84991381d7243d0ce881e2defbb638af472fb281fd1d65693e112b544ca1fbdb
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
require_relative 'common_non_visual_properties' require_relative 'non_visual_properties' module OoxmlParser class NonVisualShapeProperties attr_accessor :common_properties, :non_visual_properties def self.parse(nv_shape_props_node) non_visual_properties = NonVisualShapeProperties.new nv_shape_props_node.xpath('*').each do |nv_props_node_child| case nv_props_node_child.name when 'cNvPr' non_visual_properties.common_properties = CommonNonVisualProperties.parse(nv_props_node_child) when 'nvPr' non_visual_properties.non_visual_properties = NonVisualProperties.parse(nv_props_node_child) end end non_visual_properties end end end
Version data entries
2 entries across 2 versions & 1 rubygems