unstructured

Форк
0
/
section.pyi 
36 строк · 1.0 Кб
1
from typing import Iterator, Sequence
2

3
from docx.blkcntnr import BlockItemContainer
4
from docx.enum.section import WD_SECTION
5
from docx.oxml.section import CT_SectPr
6
from docx.table import Table
7
from docx.text.paragraph import Paragraph
8

9
class Section:
10
    _sectPr: CT_SectPr
11
    @property
12
    def different_first_page_header_footer(self) -> bool: ...
13
    @property
14
    def even_page_footer(self) -> _Footer: ...
15
    @property
16
    def even_page_header(self) -> _Header: ...
17
    @property
18
    def first_page_footer(self) -> _Footer: ...
19
    @property
20
    def first_page_header(self) -> _Header: ...
21
    @property
22
    def footer(self) -> _Footer: ...
23
    @property
24
    def header(self) -> _Header: ...
25
    def iter_inner_content(self) -> Iterator[Paragraph | Table]: ...
26
    @property
27
    def start_type(self) -> WD_SECTION: ...
28

29
class Sections(Sequence[Section]): ...
30

31
class _BaseHeaderFooter(BlockItemContainer):
32
    @property
33
    def is_linked_to_previous(self) -> bool: ...
34

35
class _Footer(_BaseHeaderFooter): ...
36
class _Header(_BaseHeaderFooter): ...
37

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.