def getData(self, cell, visible=False): rango = cell if comun.is_cell(cell): rango = self.getCurrentRegion(cell, False) if visible: data = () ranges = self.getVisible(rango) for i in range(ranges.getCount()): data += ranges.getByIndex(i).getDataArray() else: data = rango.getDataArray() return data
def getVisible(self, cell): rango = cell if comun.is_cell(cell): rango = self.getCurrentRegion(cell, False) return rango.queryVisibleCells()
def getEmpty(self, cell): rango = cell if comun.is_cell(cell): rango = self.getCurrentRegion(cell, False) return rango.queryEmptyCells()