ooodev.adapter.util.cloneable_partial module

class ooodev.adapter.util.cloneable_partial.CloneablePartial(component, interface=com.sun.star.util.XCloneable)[source]

Bases: object

Partial Class XCloneable.

Parameters:
  • component (XCloneable) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

create_clone()[source]

Creates a clone of the object.

Returns:

The clone.

Return type:

XCloneable