Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XPackageInformationProvider
Description
Objects implementing this interface provide an URL to the root of an installed package.
Since
OOo 2.3

Methods' Summary
getPackageLocation get Package information for a specific extension.  
isUpdateAvailable check if there are updates available for an extention.  
getExtensionList returns a list of all installed extention with their version.  
Methods' Details
getPackageLocation
string
getPackageLocation( [in] string  extensionId );

Description
get Package information for a specific extension.
Parameter extensionId
the unique identifier of an extension. The service looks for an installed package with the given id and returns the URL to the root of the package. If the service can not find a matching package, an emty string will be returned.
isUpdateAvailable
sequence< sequence< string > >
isUpdateAvailable( [in] string  extensionId );

Description
check if there are updates available for an extention.
Parameter extensionId
the unique identifier of an extension. When the extensionId is empty, the service looks checks all installed extensions for a newer version, otherwise the service looks for updates for an installed package with the given id. If the service finds an update for an extension, a sequence containing the name and the version will be returned for each extension which has an update. If the service can not find a matching package, an empty sequence is returned.
getExtensionList
sequence< sequence< string > >
getExtensionList();

Description
returns a list of all installed extention with their version.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.