Class: Axlsx::PictureLocking
- Inherits:
-
Object
- Object
- Axlsx::PictureLocking
- Includes:
- Accessors, OptionsParser, SerializedAttributes
- Defined in:
- lib/axlsx/drawing/picture_locking.rb
Overview
The picture locking class defines the locking properties for pictures in your workbook.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ PictureLocking
constructor
Creates a new PictureLocking object.
-
#to_xml_string(str = '') ⇒ String
Serializes the object.
Methods included from SerializedAttributes
#declared_attributes, included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Methods included from OptionsParser
Constructor Details
#initialize(options = {}) ⇒ PictureLocking
Creates a new PictureLocking object
29 30 31 32 |
# File 'lib/axlsx/drawing/picture_locking.rb', line 29 def initialize(={}) @noChangeAspect = true end |
Instance Method Details
#to_xml_string(str = '') ⇒ String
Serializes the object
37 38 39 |
# File 'lib/axlsx/drawing/picture_locking.rb', line 37 def to_xml_string(str = '') serialized_tag('a:picLocks', str) end |