ooodev.adapter.text.text_section_comp module

class ooodev.adapter.text.text_section_comp.TextSectionComp(component)[source]

Bases: ComponentBase, TextSectionPartial

Class for managing TextSection Component.

Parameters:

component (XTextSection) –

__init__(component)[source]

Constructor

Parameters:

component (TextSection) – UNO TextRange Component that supports com.sun.star.text.TextSection service.

Return type:

None

get_child_sections()[source]

Gets all text sections that are children of this text section (recursive).

Return type:

Tuple[TextSectionComp, ...]

property component: com.sun.star.text.TextSection

TextSection Component

Return type:

TextSection