#NEWLINE# def __boundsheets_rec( self , data_len_before , data_len_after , sheet_biff_lens ) : #NEWLINE# #INDENT# boundsheets_len = 0 #NEWLINE# for sheet in self . __worksheets : #NEWLINE# #INDENT# boundsheets_len += len ( BIFFRecords . BoundSheetRecord ( 0 , sheet . visibility , sheet . name , self . encoding ) . get ( ) ) #NEWLINE# #UNINDENT# start = ( ( data_len_before + boundsheets_len ) + data_len_after ) #NEWLINE# result = b'' #NEWLINE# for ( sheet_biff_len , sheet ) in zip ( sheet_biff_lens , self . __worksheets ) : #NEWLINE# #INDENT# result += BIFFRecords . BoundSheetRecord ( start , sheet . visibility , sheet . name , self . encoding ) . get ( ) #NEWLINE# start += sheet_biff_len #NEWLINE# #UNINDENT# return result