parameters: (self, book, xf_index)
docstring: Default class constructor.
  
          :param `book`: an instance of the `xlrd.Book` class;
          :param `xf_index`: an index into `xlrd.Book.xf_list`, which holds a
           reference to the `xlrd.sheet.Cell` class (the actual cell for `xlrd`).
docstring_summary: Default class constructor.
docstring_tokens: Default class constructor .
function: def __init__(self, book, xf_index):
          """
          Default class constructor.
  
          :param `book`: an instance of the `xlrd.Book` class;
          :param `xf_index`: an index into `xlrd.Book.xf_list`, which holds a
           reference to the `xlrd.sheet.Cell` class (the actual cell for `xlrd`).
          """
          
          XFClass = book.xf_list[xf_index]
          
          background = XFClass.background
          background_colour = book.colour_map[background.background_colour_index]
          pattern_colour = book.colour_map[background.pattern_colour_index]
          fill_pattern = background.fill_pattern
          
          self.CreateBackgroundColour(background_colour, pattern_colour, fill_pattern)
function_tokens: def __init__ ( self , book , xf_index ) : XFClass = book . xf_list [ xf_index ] background = XFClass . background background_colour = book . colour_map [ background . background_colour_index ] pattern_colour = book . colour_map [ background . pattern_colour_index ] fill_pattern = background . fill_pattern self . CreateBackgroundColour ( background_colour , pattern_colour , fill_pattern )