Метод Cell.getPivotTable
Возвращает сводную таблицу PivotTable, относящуюся к ячейке.
Пример
sheet = document.getBlocks().getTable(0)
cell = sheet.getCell("A1")
pivotTable = cell.getPivotTable()
if pivotTable != None:
print(pivotTable.getSourceRangeAddress())