LibreOffice
LibreOffice 24.2 SDK API Reference
|
The XPackageManagerFactory interface is used to obtain XPackageManager instances. More...
import"XPackageManagerFactory.idl";
Public Member Functions | |
XPackageManager | getPackageManager ([in] string context) raises (com::sun::star::lang::IllegalArgumentException) |
Method to create (or reusing and already existing) XPackageManager object to add or remove UNO packages persistently. More... | |
The XPackageManagerFactory interface is used to obtain XPackageManager instances.
You have to use the singleton /singletons/com.sun.star.deployment.thePackageManagerFactory
exclusively.
XPackageManager getPackageManager | ( | [in] string | context | ) | |
raises | ( | com::sun::star::lang::IllegalArgumentException | |||
) |
Method to create (or reusing and already existing) XPackageManager object to add or remove UNO packages persistently.
Packages for context strings "user"
and "shared"
will be registered and revoked persistently.
Context strings other than "user"
, "shared"
will last in an com::sun::star::lang::IllegalArgumentException.
context | context string, e.g.
|
com::sun::star::lang::IllegalArgumentException | in case of an invalid context |