For DevelopersDocument APIDocument API PythonСправочник классов, структур и методовКласс DocumentМетод Document.getSectionsEnumeratorOn this pageМетод Document.getSectionsEnumerator Возвращает список объектов типа Section. Пример sectionsEnumerator = document.getSectionsEnumerator() for section in sectionsEnumerator: print(section.getPageOrientation())