Sha256: 258c4f04c031f257244e8b61db7fce4cb399c6dd7ed0450d1abeff0bd493963c

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

module OpenXml
  module DrawingML
    module Elements
      class PictureLocks < OpenXml::Docx::Elements::Element
        namespace :a
        tag :picLocks

        attribute :hide_adjust_handles, expects: :true_or_false, displays_as: :noAdjustHandles
        attribute :disallow_arrowhead_changes, expects: :true_or_false, displays_as: :noChangeArrowheads
        attribute :disallow_aspect_ratio_changes, expects: :true_or_false, displays_as: :noChangeAspect
        attribute :disallow_shape_type_changes, expects: :true_or_false, displays_as: :noChangeShapeType
        attribute :disallow_cropping, expects: :true_or_false, displays_as: :noCrop
        attribute :disallow_editing_points, expects: :true_or_false, displays_as: :noEditPoints
        attribute :disallow_grouping, expects: :true_or_false, displays_as: :noGrp
        attribute :disallow_moving, expects: :true_or_false, displays_as: :noMove
        attribute :disallow_resizing, expects: :true_or_false, displays_as: :noResize
        attribute :disallow_rotation, expects: :true_or_false, displays_as: :noRot
        attribute :disallow_selection, expects: :true_or_false, displays_as: :noSelect

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openxml-docx-0.10.1 lib/openxml/drawingml/elements/picture_locks.rb