Sha256: 0ab95f60818b8468196b1dd7d93fb72625c72d3bef06ce7c446bbc62c7963880
Contents?: true
Size: 1.04 KB
Versions: 14
Compression:
Stored size: 1.04 KB
Contents
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
Version data entries
14 entries across 14 versions & 1 rubygems