(self, rows, cols=None)
return
Convert the formulas in the cells to their result values
Convert the formulas in the cells to their result values
Convert the formulas in the cells to their result values
def convertFormulae(self, rows, cols=None):
        """Convert the formulas in the cells to their result values"""

        if len(self.multiplerowlist) == 0 or len(self.multiplecollist) == 0:
            return None

        print (rows, cols)
        if cols == None:
            cols = range(self.cols)
        for r in rows:
            #absr=self.get_AbsoluteRow(r)
            for c in cols:
                val = self.model.getValueAt(r,c)
                self.model.setValueAt(val, r, c)
        return
def convertFormulae ( self , rows , cols = None ) : if len ( self . multiplerowlist ) == 0 or len ( self . multiplecollist ) == 0 : return None print ( rows , cols ) if cols == None : cols = range ( self . cols ) for r in rows : #absr=self.get_AbsoluteRow(r) for c in cols : val = self . model . getValueAt ( r , c ) self . model . setValueAt ( val , r , c ) return