Sha256: dffe5bdd8e52f4108bec5efb89fe24c6d21a6ccb0dda3712f77886f0e27b85bb

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

module OpenXml
  module DrawingML
    module Properties
      class StyleMatrixReferenceProperty < OpenXml::Properties::ComplexProperty
        include OpenXml::ContainsProperties
        attribute :index, displays_as: :idx, expects: :positive_integer, required: true

        property_choice required: true do
          property :component_rgb, as: :color_component_rgb
          value_property :rgb, as: :color_hex_rgb
          property :hsl, as: :color_hsl
          value_property :system_color, as: :color_system_color
          value_property :scheme_color, as: :color_scheme_color
          value_property :preset_color, as: :color_preset_color
        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/style_matrix_reference_property.rb
openxml-drawingml-0.3.0 lib/openxml/drawingml/properties/style_matrix_reference_property.rb
openxml-drawingml-0.2.1 lib/openxml/drawingml/properties/style_matrix_reference_property.rb
openxml-drawingml-0.2.0 lib/openxml/drawingml/properties/style_matrix_reference_property.rb