Skip to main content

Метод Table::getTextBoxes

Для получения списка текстовых полей (TextBoxes) таблицы используется метод Table::getTextBoxes.

Пример​


std::shared_ptr<Enumerator<Table>> tablesEnumerator = document.getBlocks().getTablesEnumerator();
while (tablesEnumerator->isValid())
{
Table table = tablesEnumerator->getCurrent();

std::shared_ptr<Enumerator<TextBox>> textBoxesEnumerator = table.getTextBoxes().getEnumerator();
std::printf("%d", textBoxesEnumerator->isValid());

textBoxesEnumerator->goToNext();
}