Sha256: 3d918c26f5c8cce193782832343fde47dee5a0672451e7ac13cc70facee0c2ae

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 Bytes

Contents

module OpenXml
  module DrawingML
    module Properties
      class Blip < OpenXml::Properties::ComplexProperty
        include HasChildren, ContainsProperties
        namespace :a
        tag :blip

        attribute :compression_state, one_of: %i{ email hqprint none print screen }, displays_as: :cstate

        with_namespace :r do
          attribute :embed, expects: :string
          attribute :link, expects: :string
        end

        # TODO: All the various blip child elements as properties

        property :extension_list

        def render?
          true
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openxml-drawingml-0.3.1 lib/openxml/drawingml/properties/blip.rb
openxml-drawingml-0.3.0 lib/openxml/drawingml/properties/blip.rb
openxml-drawingml-0.2.1 lib/openxml/drawingml/properties/blip.rb
openxml-drawingml-0.2.0 lib/openxml/drawingml/properties/blip.rb