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

Version Path
axlsx-1.1.7 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.1.6 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.1.5 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.1.4 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.1.3 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.1.2 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.1.1 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.1.0 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.0.18 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.0.17 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.0.16 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.0.15 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.0.14 lib/axlsx/drawing/picture_locking.rb~
axlsx-1.0.13 lib/axlsx/drawing/picture_locking.rb~