Метод Blocks::getTablesEnumerator
Позволяет перечислить объекты типа Table.
Пример
Blocks blocks = document.getBlocks();
std::shared_ptr<Enumerator<Table>> tablesEnumerator = blocks.getTablesEnumerator();
if (tablesEnumerator)
{
while (tablesEnumerator->isValid())
{
Table table = tablesEnumerator->getCurrent();
std::printf("%s", table.getRange().extractText().c_str());
tablesEnumerator->goToNext();
}
}