:: com :: sun :: star :: deployment ::

unpublished interface XPackageRegistry
Description
Interface to bind an UNO package.
Since
OpenOffice 2.0

Methods' Summary
bindPackage binds a package URL to a XPackage handle. The returned UNO package handle ought to late-initialize itself, thus the process of binding must not be an expensive operation, because it is not abortable.  
getSupportedPackageTypes gets the supported XPackageTypeInfos.  
Methods' Details
bindPackage
XPackage
bindPackage( [in] string  url,
[in] string  mediaType,
[in] ::com::sun::star::ucb::XCommandEnvironment  xCmdEnv )
raises( DeploymentException,
::com::sun::star::ucb::CommandFailedException,
::com::sun::star::lang::IllegalArgumentException );

Description
binds a package URL to a XPackage handle. The returned UNO package handle ought to late-initialize itself, thus the process of binding must not be an expensive operation, because it is not abortable.
Parameter url
package URL, must be UCB conform
Parameter mediaType
media type of package, empty string if to be detected
Parameter xCmdEnv
command environment for error and progress handling
Returns
XPackage handle
getSupportedPackageTypes
sequence< XPackageTypeInfo >
getSupportedPackageTypes();

Description
gets the supported XPackageTypeInfos.
Returns
supported XPackageTypeInfos.
Top of Page