Sha256: 9315c46485f2cb427c577d1b34bc8d464fceb39734038e3cf627cca460b59435

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

module OoxmlParser
  class GroupingProperties
    attr_accessor :transform

    def self.parse(grouping_properties_node)
      grouping_properties = GroupingProperties.new
      grouping_properties_node.xpath('*').each do |grouping_property_node|
        case grouping_property_node.name
        when 'xfrm'
          grouping_properties.transform = TransformEffect.parse(grouping_property_node)
        end
      end
      grouping_properties
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ooxml_parser-0.1.2 lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/shapes_grouping/grouping_properties.rb
ooxml_parser-0.1.1 lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/shapes_grouping/grouping_properties.rb