# File lib/spreadsheet/excel/writer/workbook.rb, line 653
  def xf_index workbook, format
    @formats[workbook][:xf_indexes][format] || 0
  end