# File lib/spreadsheet/excel/writer/format.rb, line 215 def xf_type_prot type type = type.to_s.downcase == 'style' ? 0xfff5 : 0x0000 type |= locked type |= hidden << 1 type end