ooodev.adapter.text.text_portion_comp module
- class ooodev.adapter.text.text_portion_comp.TextPortionComp(component)[source]
Bases:
TextRangeComp
Class for managing TextPortion Component.
- Parameters:
component (XTextRange) –
- __init__(component)[source]
Constructor
- Parameters:
component (TextPortion) – UNO TextContent Component that supports
com.sun.star.text.TextPortion
service.- Return type:
None
- property component: com.sun.star.text.TextPortion
Sheet Cell Cursor Component
- Return type:
TextPortion
- property is_collapsed: bool
Returns if the cursor is collapsed.
- Return type:
bool
- property is_start: bool
Returns if the cursor is at the start of the text.
- Return type:
bool
- property text_portion_type: TextPortionTypeKind
Returns the type of the text portion.
- Return type: