From b8250c7382b86bf02927e6224c715e4921c47f6d Mon Sep 17 00:00:00 2001 From: Aurimas FiĊĦeras Date: Sat, 22 Jan 2011 13:23:30 +0200 Subject: Some fixes to documentation (part 1) Fixes many spelling errors (checked with en_US spell checker). Unifies spelling of some common words. Replaces single quotes ('') with double quotes (""). Fixes several other errors. --- offapi/com/sun/star/deployment/DependencyException.idl | 4 ++-- .../com/sun/star/deployment/InvalidRemovedParameterException.idl | 2 +- offapi/com/sun/star/deployment/LicenseException.idl | 2 +- offapi/com/sun/star/deployment/XExtensionManager.idl | 8 ++++---- offapi/com/sun/star/deployment/XPackage.idl | 2 +- offapi/com/sun/star/deployment/XPackageInformationProvider.idl | 6 +++--- offapi/com/sun/star/deployment/XPackageManager.idl | 4 ++-- offapi/com/sun/star/deployment/XPackageRegistry.idl | 6 +++--- offapi/com/sun/star/deployment/XUpdateInformationProvider.idl | 6 +++--- .../com/sun/star/deployment/test/SmoketestCommandEnvironment.idl | 4 ++-- offapi/com/sun/star/deployment/ui/PackageManagerDialog.idl | 2 +- 11 files changed, 23 insertions(+), 23 deletions(-) (limited to 'offapi/com/sun/star/deployment') diff --git a/offapi/com/sun/star/deployment/DependencyException.idl b/offapi/com/sun/star/deployment/DependencyException.idl index e9018eb0ed40..e0ae8dafb4e7 100644 --- a/offapi/com/sun/star/deployment/DependencyException.idl +++ b/offapi/com/sun/star/deployment/DependencyException.idl @@ -56,11 +56,11 @@ exception DependencyException: com::sun::star::uno::Exception { namespace name http://openoffice.org/extensions/description/2006 and the local part name and whose value is a human-readable - (english) description of the dependency. If an instance of OOo does not + (English) description of the dependency. If an instance of OOo does not know more about a specific kind of dependency, it should display the value of that attribute to the user.

-

The sequence must not be emtpy, and none of the elements may be +

The sequence must not be empty, and none of the elements may be .

*/ sequence< com::sun::star::xml::dom::XElement > UnsatisfiedDependencies; diff --git a/offapi/com/sun/star/deployment/InvalidRemovedParameterException.idl b/offapi/com/sun/star/deployment/InvalidRemovedParameterException.idl index 0f0407b0e989..461005c20b5f 100644 --- a/offapi/com/sun/star/deployment/InvalidRemovedParameterException.idl +++ b/offapi/com/sun/star/deployment/InvalidRemovedParameterException.idl @@ -49,7 +49,7 @@ exception InvalidRemovedParameterException: com::sun::star::uno::Exception { boolean PreviousValue; /** the XPackage that was already bound to the provided - url paramter during + url parameter during XPackageRegistry::bindPackage.

Must not be .

diff --git a/offapi/com/sun/star/deployment/LicenseException.idl b/offapi/com/sun/star/deployment/LicenseException.idl index a80a5e463dd6..eee7545410f9 100644 --- a/offapi/com/sun/star/deployment/LicenseException.idl +++ b/offapi/com/sun/star/deployment/LicenseException.idl @@ -33,7 +33,7 @@ module com { module sun { module star { module deployment { -/** A LicenseException reflects the necessity of someone aggreeing to a license. +/** A LicenseException reflects the necessity of someone agreeing to a license. @since OOo 2.0.4 */ diff --git a/offapi/com/sun/star/deployment/XExtensionManager.idl b/offapi/com/sun/star/deployment/XExtensionManager.idl index b807df54af65..0b8307f0e291 100644 --- a/offapi/com/sun/star/deployment/XExtensionManager.idl +++ b/offapi/com/sun/star/deployment/XExtensionManager.idl @@ -218,7 +218,7 @@ interface XExtensionManager com::sun::star::ucb::CommandFailedException, com::sun::star::lang::IllegalArgumentException); - /** gets all extensions with the same identifer from all repositories. + /** gets all extensions with the same identifier from all repositories. The extension at the first position in the returned sequence represents the extension from the user repository. The next element is from the shared @@ -238,7 +238,7 @@ interface XExtensionManager /** returns a sequence containing all installed extensions. The members of the returned sequence correspond to an extension with a - particular extension identifer. The members are also sequences which + particular extension identifier. The members are also sequences which contain as many elements as there are repositories. Those are ordered according to the priority of the repository. That is, the first member is the extension from the user repository, the second is from the shared @@ -277,14 +277,14 @@ interface XExtensionManager /** synchronizes the extension database with the contents of the extensions - folder of shared and bundled extensinos. + folder of shared and bundled extensions. Added extensions will be added to the database and removed extensions will be removed from the database. @return If true - then at least one extension was removed or added. Otherwise - nothing was chaned. + nothing was changed. */ boolean synchronize( [in] com::sun::star::task::XAbortChannel xAbortChannel, diff --git a/offapi/com/sun/star/deployment/XPackage.idl b/offapi/com/sun/star/deployment/XPackage.idl index 89ba0529ad06..8a2b1711f1be 100644 --- a/offapi/com/sun/star/deployment/XPackage.idl +++ b/offapi/com/sun/star/deployment/XPackage.idl @@ -75,7 +75,7 @@ interface XPackage In case of or in case of an exception, the package must be removed completely. After return of this function no code from the extension may be used - anymore, so that the extension can be safely removed from the harddisk. + anymore, so that the extension can be safely removed from the hard disk. @param xCmdEnv command environment for error handling and other interaction. diff --git a/offapi/com/sun/star/deployment/XPackageInformationProvider.idl b/offapi/com/sun/star/deployment/XPackageInformationProvider.idl index a983e34ecdd3..3ad09fb04ef1 100644 --- a/offapi/com/sun/star/deployment/XPackageInformationProvider.idl +++ b/offapi/com/sun/star/deployment/XPackageInformationProvider.idl @@ -44,11 +44,11 @@ interface XPackageInformationProvider 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. + package, an empty string will be returned. */ string getPackageLocation( [in] string extensionId ); - /** check if there are updates available for an extention. + /** check if there are updates available for an extension. @param extensionId the unique identifier of an extension. When the extensionId is empty, @@ -61,7 +61,7 @@ interface XPackageInformationProvider */ sequence< sequence< string > > isUpdateAvailable( [in] string extensionId ); - /** returns a list of all installed extention with their version. + /** returns a list of all installed extension with their version. */ sequence< sequence< string > > getExtensionList(); }; diff --git a/offapi/com/sun/star/deployment/XPackageManager.idl b/offapi/com/sun/star/deployment/XPackageManager.idl index da329bb9367f..463c09efe4a7 100644 --- a/offapi/com/sun/star/deployment/XPackageManager.idl +++ b/offapi/com/sun/star/deployment/XPackageManager.idl @@ -138,7 +138,7 @@ interface XPackageManager /** adds an extension. This copies the extension. If it was from the same repository, - which is represented by this XPackageManager insterface, then + which is represented by this XPackageManager interface, then nothing happens. @param extension @@ -265,7 +265,7 @@ interface XPackageManager removed extensions which must be revoked @return If true - then at least one extension was removed or added. Otherwise - nothing was chaned. + nothing was changed. */ boolean synchronize([in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv ) diff --git a/offapi/com/sun/star/deployment/XPackageRegistry.idl b/offapi/com/sun/star/deployment/XPackageRegistry.idl index c84f37625ec5..9cc4c6f92afc 100644 --- a/offapi/com/sun/star/deployment/XPackageRegistry.idl +++ b/offapi/com/sun/star/deployment/XPackageRegistry.idl @@ -66,8 +66,8 @@ interface XPackageRegistry The implementation must ensure that there is only one instance of XPackage for the same url at any time. Therefore calling bindPackage again with the same - url but different mediaType (the exeption is, - if previsously an empty string was proveded to cause the determination + url but different mediaType (the exception is, + if previously an empty string was provided to cause the determination of the media type) or removed parameters will cause an exception. An IllegalArgumentException will be @@ -86,7 +86,7 @@ interface XPackageRegistry media type of package, empty string if to be detected @param removed - @para unfulfilledPrerequisites + @param unfulfilledPrerequisites has a value other null if the extension could not be installed previously because XPackage::checkPrerequisites failed. diff --git a/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl b/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl index 6291b3f4e76f..d48c13411c3b 100644 --- a/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl +++ b/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl @@ -57,7 +57,7 @@ interface XUpdateInformationProvider a repository and its mirrors. @param extensionId the unique identifier of an extension. If it is not empty and - the update document is an atom feed, only items whose 'term' + the update document is an atom feed, only items whose "term" attribute of the atom:category tag matches extensionId are returned. */ @@ -66,7 +66,7 @@ interface XUpdateInformationProvider [in] string extensionId ) raises ( com::sun::star::uno::Exception ); - /** interrupts a getUpdateInformation call and let's it return immediatly. + /** interrupts a getUpdateInformation call and let's it return immediately. */ void cancel(); @@ -93,7 +93,7 @@ interface XUpdateInformationProvider a repository and its mirrors. @param extensionId the unique identifier of an extension. If it is not empty and - the update document is an atom feed, only items whose 'term' + the update document is an atom feed, only items whose "term" attribute of the atom:category tag matches extensionId are returned. @returns diff --git a/offapi/com/sun/star/deployment/test/SmoketestCommandEnvironment.idl b/offapi/com/sun/star/deployment/test/SmoketestCommandEnvironment.idl index 0669705f351a..1bd996fd953b 100644 --- a/offapi/com/sun/star/deployment/test/SmoketestCommandEnvironment.idl +++ b/offapi/com/sun/star/deployment/test/SmoketestCommandEnvironment.idl @@ -33,9 +33,9 @@ module com { module sun { module star { module deployment { module test { - /* The service is intended to be used in the smoketest to test the installation of + /* The service is intended to be used in the smoke test to test the installation of an extension (com::sun::star::deployment::XPackageManager::addPackage). It may therefore - be constantly adapted to meet the need of the smoketest + be constantly adapted to meet the need of the smoke test */ service SmoketestCommandEnvironment: ::com::sun::star::ucb::XCommandEnvironment; };};};};}; diff --git a/offapi/com/sun/star/deployment/ui/PackageManagerDialog.idl b/offapi/com/sun/star/deployment/ui/PackageManagerDialog.idl index 0f2b58d941f9..8c9b6374e581 100644 --- a/offapi/com/sun/star/deployment/ui/PackageManagerDialog.idl +++ b/offapi/com/sun/star/deployment/ui/PackageManagerDialog.idl @@ -52,7 +52,7 @@ service PackageManagerDialog : com::sun::star::ui::dialogs::XAsynchronousExecuta @param xParent parent window @param focussedContext - context to be focussed + context to be focused */ create( [in] com::sun::star::awt::XWindow xParent, [in] string focussedContext ); -- cgit