#NEWLINE# def _get_xf_index( self ) : #NEWLINE# #INDENT# if ( self . xf_index is not None ) : #NEWLINE# #INDENT# return self . xf_index #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# key = self . _get_format_key ( ) #NEWLINE# if ( key in self . xf_format_indices ) : #NEWLINE# #INDENT# return self . xf_format_indices [ key ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# index = ( 1 + len ( self . xf_format_indices ) ) #NEWLINE# self . xf_format_indices [ key ] = index #NEWLINE# self . xf_index = index #NEWLINE# return index