ooodev.adapter.util.search_descriptor_partial module

class ooodev.adapter.util.search_descriptor_partial.SearchDescriptorPartial(component, interface=com.sun.star.util.XSearchDescriptor)[source]

Bases: PropertySetPartial

Partial class for XSearchDescriptor.

Parameters:
  • component (XSearchDescriptor) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.util.XSearchDescriptor)[source]

Constructor

Parameters:
  • component (XSearchDescriptor) – UNO Component that implements com.sun.star.util.XSearchDescriptor interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XSearchDescriptor.

Return type:

None

get_search_string()[source]

Gets the string of characters to look for.

Return type:

str

set_search_string(string)[source]

Sets the string of characters to look for.

Return type:

None

Parameters:

string (str) –