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