ooodev.adapter.io.persist_object_partial module
- class ooodev.adapter.io.persist_object_partial.PersistObjectPartial(component, interface=com.sun.star.io.XPersistObject)[source]
Bases:
object
Partial Class XPersistObject.
- Parameters:
component (XPersistObject) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.io.XPersistObject)[source]
Constructor
- Parameters:
component (XPersistObject) – UNO Component that implements
com.sun.star.io.XPersistObject
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XPersistObject
.
- Return type:
None
- get_service_name()[source]
Returns the service name of the object.
- Returns:
The service name.
- Return type:
str