Метод Cell::getPivotTable
Возвращает сводную таблицу PivotTable, относящуюся к ячейке.
Пример
Table sheet = document.getBlocks().getTable(0).get();
Cell cell = sheet.getCell("A1");
boost::optional<PivotTable> pivotTable = cell.getPivotTable();
if (pivotTable.has_value())
{
std::printf("%d", pivotTable.get().getSourceRangeAddress().c_str());
}