Sha256: 47f573d8f65fee2af6f46883a82a476df33c348bdf7428b13c995fc15211182b

Contents?: true

Size: 1009 Bytes

Versions: 2

Compression:

Stored size: 1009 Bytes

Contents

require "forwardable"

module OpenXml
  module Pptx
    module Properties
      class Picture < SimplePropertyContainerProperty
        extend Forwardable
        namespace :p
        tag :pic

        property :non_visual_picture_properties, required: true
        property :blip_fill, required: true
        property :shape_properties, required: true
        property :shape_style
        property :extension_list

        # Convenience Accessors
        def_delegator :non_visual_picture_properties, :non_visual_drawing_properties
        def_delegator :non_visual_drawing_properties, :object_name, :picture_name
        def_delegator :non_visual_drawing_properties, :object_name=, :picture_name=
        def_delegator :non_visual_drawing_properties, :id, :picture_id
        def_delegator :non_visual_drawing_properties, :id=, :picture_id=
        def_delegator :shape_properties, :transform
        def_delegator :transform, :offset
        def_delegator :transform, :extent

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openxml-pptx-0.2.2 lib/openxml/pptx/properties/picture.rb
openxml-pptx-0.2.0 lib/openxml/pptx/properties/picture.rb