ooodev.adapter.frame.transient_documents_document_content_identifier_factory_partial module

class ooodev.adapter.frame.transient_documents_document_content_identifier_factory_partial.TransientDocumentsDocumentContentIdentifierFactoryPartial(component, interface=com.sun.star.frame.XTransientDocumentsDocumentContentIdentifierFactory)[source]

Bases: object

Partial class for XTransientDocumentsDocumentContentIdentifierFactory.

Parameters:
  • component (XTransientDocumentsDocumentContentIdentifierFactory) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.frame.XTransientDocumentsDocumentContentIdentifierFactory)[source]

Constructor

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

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

Return type:

None

create_document_content_identifier(model)[source]

creates a com.sun.star.ucb.XContentIdentifier based on a given com.sun.star.document.OfficeDocument.

Raises:

com.sun.star.lang.IllegalArgumentExceptionIllegalArgumentException

Return type:

XContentIdentifier

Parameters:

model (XModel) –