module Axlsx # The picture locking class defines the locking properties for pictures in your workbook. class PictureLocking attr_reader :noGrp attr_reader :noSelect attr_reader :noRot attr_reader :noChangeAspect attr_reader :noMove attr_reader :noResize attr_reader :noEditPoints attr_reader :noAdjustHandles attr_reader :noChangeArrowheads attr_reader :noChangeShapeType # Creates a new PictureLocking object # @option options [Boolean] noGrp # @option options [Boolean] noSelect # @option options [Boolean] noRot # @option options [Boolean] noChangeAspect # @option options [Boolean] noMove # @option options [Boolean] noResize # @option options [Boolean] noEditPoints # @option options [Boolean] noAdjustHandles # @option options [Boolean] noChangeArrowheads # @option options [Boolean] noChangeShapeType def initialize(options={}) options.each do |o| self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" end end end end