openxml/openxml-docx

View on GitHub
lib/openxml/docx/elements/control.rb

Summary

Maintainability
A
0 mins
Test Coverage
module OpenXml
  module Docx
    module Elements
      class Control < OpenXml::Docx::Element
        attribute :id, expects: :string, namespace: :r

        with_namespace :w do
          attribute :unique_name, expects: :string, displays_as: :name
          attribute :shape_id, expects: :string, displays_as: :shapeid
        end

      end
    end
  end
end