class Axlsx::PictureLocking

The picture locking class defines the locking properties for pictures in your workbook.

Public Class Methods

new(options={}) click to toggle source

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

# File lib/axlsx/drawing/picture_locking.rb, line 29
def initialize(options={})
  @noChangeAspect = true
  parse_options options
end

Public Instance Methods

to_xml_string(str = '') click to toggle source

Serializes the object @param [String] str @return [String]

# File lib/axlsx/drawing/picture_locking.rb, line 37
def to_xml_string(str = '')
  serialized_tag('a:picLocks', str)
end