Для разработчиковDocument APIDocument API PythonСправочник классов, структур и методовКласс DocumentМетод Document.getSectionsOn this pageМетод Document.getSections Возвращает объект типа Sections. Пример sections = document.getSections() sectionsEnumerator = sections.getEnumerator() for section in sectionsEnumerator: print(section.getPageOrientation())