Skip to main content

Метод Comment::isResolved

Метод возвращает значение true, если комментарий принят.

Пример​


Comments comments = document.getRange().getComments();
std::shared_ptr<Enumerator<Comment>> enumerator = comments.getEnumerator();
if (enumerator)
{
while (enumerator->isValid())
{
Comment comment = enumerator->getCurrent();
std::printf("Resolved: %d", comment.isResolved());
enumerator->goToNext();
}
}