PEATDB/Tables.py
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(absr,c)
                self.model.setValueAt(val, absr, c)
        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):
        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(absr,c)
                self.model.setValueAt(val, absr, 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 ( absr , c ) self . model . setValueAt ( val , absr , c ) 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"""
self
rows
cols