class BerkeleyLibrary::Util::ODS::XML::LOExt::TableProtection

Public Class Methods

new(doc:) click to toggle source
# File lib/berkeley_library/util/ods/xml/loext/table_protection.rb, line 9
def initialize(doc:)
  super(:loext, 'table-protection', doc: doc)

  set_default_attributes!
end

Private Instance Methods

set_default_attributes!() click to toggle source
# File lib/berkeley_library/util/ods/xml/loext/table_protection.rb, line 17
def set_default_attributes!
  set_attribute('select-protected-cells', 'true')
  set_attribute('select-unprotected-cells', 'true')
end