diff --git a/main/offapi/com/sun/star/deployment/DependencyException.idl b/main/offapi/com/sun/star/deployment/DependencyException.idl index a9739a5a11..89d231ba7d 100644 --- a/main/offapi/com/sun/star/deployment/DependencyException.idl +++ b/main/offapi/com/sun/star/deployment/DependencyException.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -52,11 +52,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 OpenOffice does not + (English) description of the dependency. If an instance of OpenOffice 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/main/offapi/com/sun/star/deployment/InstallException.idl b/main/offapi/com/sun/star/deployment/InstallException.idl index 8f1aa9ef1c..2a145d6b1e 100644 --- a/main/offapi/com/sun/star/deployment/InstallException.idl +++ b/main/offapi/com/sun/star/deployment/InstallException.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -31,7 +31,7 @@ module com { module sun { module star { module deployment { interface XPackage; /** - describes the fact that deployment unit is about to be installed. + describes the fact that deployment unit is about to be installed.

This exception is intended to be used with an XInteractionHandler.

diff --git a/main/offapi/com/sun/star/deployment/UpdateInformationEntry.idl b/main/offapi/com/sun/star/deployment/UpdateInformationEntry.idl index 4d5da49dad..dcb6f76c60 100644 --- a/main/offapi/com/sun/star/deployment/UpdateInformationEntry.idl +++ b/main/offapi/com/sun/star/deployment/UpdateInformationEntry.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -29,7 +29,7 @@ module com { module sun { module star { module deployment { /** Objects of this type are used as elements of the enumeration returned by XUpdateInformationProvider. - + @since OpenOffice 2.3 */ struct UpdateInformationEntry diff --git a/main/offapi/com/sun/star/deployment/XExtensionManager.idl b/main/offapi/com/sun/star/deployment/XExtensionManager.idl index af0d2417aa..111eee307a 100644 --- a/main/offapi/com/sun/star/deployment/XExtensionManager.idl +++ b/main/offapi/com/sun/star/deployment/XExtensionManager.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -39,7 +39,7 @@ module com { module sun { module star { module deployment { /** The XExtensionManager interface is used to manage extensions in the user, shared and bundled repository. - + @see ExtensionManager @since OpenOffice 3.3 */ @@ -48,32 +48,32 @@ interface XExtensionManager /** interface to notify disposing */ interface com::sun::star::lang::XComponent; - + /** interface to notify changes of the set of deployed packages of this manager */ interface com::sun::star::util::XModifyBroadcaster; - - + + /** gets the supported XPackageTypeInfos. - + @return supported XPackageTypeInfos. */ sequence getSupportedPackageTypes(); - + /** creates a command channel to be used to asynchronously abort a command. - + @return abort channel */ com::sun::star::task::XAbortChannel createAbortChannel(); - + /** adds an extension. The properties argument is currently only used to suppress the license information for shared extensions. - + @param url package URL, must be UCB conform @param properties @@ -87,7 +87,7 @@ interface XExtensionManager @param xCmdEnv command environment for error and progress handling @return - object representing the extension. + object representing the extension. */ XPackage addExtension( [in] string url, [in] sequence properties, @@ -98,9 +98,9 @@ interface XExtensionManager com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** removes an extension. - + @param identifier package identifier @param fileName @@ -123,15 +123,15 @@ interface XExtensionManager com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** enable an extension. If the extension is not from the user repository then an IllegalArgumentException is thrown. - + @param extension - the extension which is to be enabled. + the extension which is to be enabled. @param xAbortChannel abort channel to asynchronously abort the removing process, or null @@ -151,7 +151,7 @@ interface XExtensionManager If the extension is not from the user repository then an IllegalArgumentException is thrown. - + @param extension the extension which is to be disabled @param xAbortChannel @@ -171,7 +171,7 @@ interface XExtensionManager /** gets all currently installed extensions, including disabled user extensions. - + @param repository the repository from which the extensions are returned @param xAbortChannel @@ -194,7 +194,7 @@ interface XExtensionManager /** gets an installed extensions. - @param repositroy + @param repository the name of the repository @param identifier extension identifier @@ -214,7 +214,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 @@ -229,12 +229,12 @@ interface XExtensionManager raises (DeploymentException, com::sun::star::ucb::CommandFailedException, com::sun::star::lang::IllegalArgumentException); - + /** 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 @@ -255,7 +255,7 @@ interface XExtensionManager

Please use this in case of suspected cache inconsistencies only.

- @param repositroy + @param repository the name of the repository @param xAbortChannel abort channel to asynchronously abort the adding process @@ -273,16 +273,16 @@ 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. The active extensions are determined. That is, shared or bundled extensions - are not necessaryly registered (XPackage::registerPackage). - + are not necessarily registered (XPackage::registerPackage). + @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, @@ -301,7 +301,7 @@ interface XExtensionManager The active extensions are NOT determined, because this function only works with bundled extensions. - This function is intended to be called during the installation of OOo. + This function is intended to be called during the installation of AOO. OpenOffice will copy parts of the registration data folder to the user installation at the first startup. */ @@ -317,7 +317,7 @@ interface XExtensionManager The function will not return any object for the user repository, because a user extension will not be kept in the user repository if its license - is declined. Only extensions which are registered at start-up of OOo, + is declined. Only extensions which are registered at start-up of AOO, that is, shared and bundled extensions, can be returned. Extensions which allow the license to be suppressed, that is, it does not diff --git a/main/offapi/com/sun/star/deployment/XPackage.idl b/main/offapi/com/sun/star/deployment/XPackage.idl index 53e904a212..22e374486e 100644 --- a/main/offapi/com/sun/star/deployment/XPackage.idl +++ b/main/offapi/com/sun/star/deployment/XPackage.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -44,7 +44,7 @@ module com { module sun { module star { module deployment { /** Objects of this interface reflect a bound package and are issued by a PackageRegistryBackend. - + @since OpenOffice 2.0 */ interface XPackage @@ -52,19 +52,19 @@ interface XPackage /** implemented to notify that the package has been removed */ interface com::sun::star::lang::XComponent; - + /** notifies changes of the registration state of the package */ interface com::sun::star::util::XModifyBroadcaster; - + /** creates a command channel to be used to asynchronously abort a command. - + @return abort channel */ com::sun::star::task::XAbortChannel createAbortChannel(); - + /** checks if the package can be installed. Only if the return value is true the package is allowed to be installed. @@ -72,11 +72,11 @@ interface XPackage 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. - + @param xCmdEnv command environment for error handling and other interaction. @param alreadyInstalled - indicates that an extension with the same identifyer is already installed. + indicates that an extension with the same identifier is already installed. @return null - all prerequisites are met. Otherwise, a value from @@ -90,12 +90,12 @@ interface XPackage ExtensionRemovedException, com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException); - + /** checks if the dependencies for this package are still satisfied - After updateing the OpenOffice.org, some dependencies for packages might + After updating the OpenOffice, some dependencies for packages might no longer be satisfied. - + @since OpenOffice 3.2 @param xCmdEnv @@ -110,11 +110,11 @@ interface XPackage raises (DeploymentException, ExtensionRemovedException, com::sun::star::ucb::CommandFailedException); - + /** determines whether the package is currently is registered, i.e. whether it is active. - + @param xAbortChannel abort channel to asynchronously abort the registration process, or null @@ -132,7 +132,7 @@ interface XPackage raises (DeploymentException, com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException); - + /** registers this XPackage. NEVER call this directly. This is done by the extension manager if necessary. @@ -156,11 +156,11 @@ interface XPackage com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** revokes this XPackage. NEVER call this directly. This is done by the extension manager if necessary. - + @param xAbortChannel abort channel to asynchronously abort the registration process, or null @@ -174,15 +174,15 @@ interface XPackage com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** reflects whether this package is a bundle of one or more packages, e.g. a zip (legacy) package file or a document hosting script packages. - + @return - in case this package relfects a package bundle + in case this package reflects a package bundle */ boolean isBundle(); - + /** Gets packages of the bundle. If isRemoved returns true then getBundle may return an @@ -203,7 +203,7 @@ interface XPackage com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** returns the file name of the package. @return @@ -233,25 +233,25 @@ interface XPackage */ string getVersion() raises (ExtensionRemovedException); - + /** returns the location of the package. - + @return location of package */ string getURL(); - + /** returns the display name of the package, e.g. for graphical user interfaces (GUI). - + @return display name of the package */ string getDisplayName() raises (ExtensionRemovedException); - + /** returns a description string to describe the package. - + @return description */ @@ -259,7 +259,7 @@ interface XPackage raises (ExtensionRemovedException); /** returns a string containing the license text. - + @return license */ @@ -289,14 +289,14 @@ interface XPackage ::com::sun::star::beans::StringPair getPublisherInfo() raises (ExtensionRemovedException); /** returns the XPackageTypeInfo, e.g. media-type etc. - + @return media type of package */ XPackageTypeInfo getPackageType(); - + /** exports package to given destination URL. - + @param destFolderURL package destination folder URL, must be UCB conform @param newTitle @@ -316,7 +316,7 @@ interface XPackage com::sun::star::ucb::CommandAbortedException); /** returns an icon for a package. - + @param highContrast return high contrast icon @return @@ -347,7 +347,7 @@ interface XPackage */ com::sun::star::beans::Optional getRegistrationDataURL() raises (ExtensionRemovedException); - + /** indicates if this object represents a removed extension or extension item. This is the case when it was created by providing true for the removed parameter in the function diff --git a/main/offapi/com/sun/star/deployment/XPackageInformationProvider.idl b/main/offapi/com/sun/star/deployment/XPackageInformationProvider.idl index 0f2a644623..b4ee5353af 100644 --- a/main/offapi/com/sun/star/deployment/XPackageInformationProvider.idl +++ b/main/offapi/com/sun/star/deployment/XPackageInformationProvider.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,21 +7,20 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ - #include #include @@ -40,7 +39,7 @@ published 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 ); diff --git a/main/offapi/com/sun/star/deployment/XPackageManager.idl b/main/offapi/com/sun/star/deployment/XPackageManager.idl index 7d6b4a0de5..29b76d82c0 100644 --- a/main/offapi/com/sun/star/deployment/XPackageManager.idl +++ b/main/offapi/com/sun/star/deployment/XPackageManager.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -72,12 +72,12 @@ interface XPackageManager /** interface to notify disposing */ interface com::sun::star::lang::XComponent; - + /** interface to notify changes of the set of deployed packages of this manager */ interface com::sun::star::util::XModifyBroadcaster; - + /** returns the underlying deployment context, that is, the name of the repository.. @@ -85,27 +85,27 @@ interface XPackageManager underlying deployment context */ string getContext(); - + /** gets the supported XPackageTypeInfos. - + @return supported XPackageTypeInfos. */ sequence getSupportedPackageTypes(); - + /** creates a command channel to be used to asynchronously abort a command. - + @return abort channel */ com::sun::star::task::XAbortChannel createAbortChannel(); - + /** adds an UNO package. The properties argument is currently only used to suppress the license information for shared extensions. - - + + @param url package URL, must be UCB conform @param properties @@ -134,11 +134,11 @@ 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 - + @param xAbortChannel abort channel to asynchronously abort the adding process, or null @@ -154,9 +154,9 @@ interface XPackageManager com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** removes an UNO package. - + @param identifier package identifier @param fileName @@ -175,9 +175,9 @@ interface XPackageManager com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** gets a deployed package. - + @param identifier package identifier @param fileName @@ -194,9 +194,9 @@ interface XPackageManager raises (DeploymentException, com::sun::star::ucb::CommandFailedException, com::sun::star::lang::IllegalArgumentException); - + /** gets all currently deployed packages. - + @param xAbortChannel abort channel to asynchronously abort the removing process, or null @@ -212,14 +212,14 @@ interface XPackageManager com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException, com::sun::star::lang::IllegalArgumentException); - + /** Expert feature: erases the underlying registry cache and reinstalls - all previously added packages. Please keep in mind that all + all previously added packages. Please keep in mind that all registration status get lost.

Please use this in case of suspected cache inconsistencies only.

- + @param xAbortChannel abort channel to asynchronously abort the adding process @param xCmdEnv @@ -261,21 +261,21 @@ 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 ) raises (DeploymentException, com::sun::star::ucb::CommandFailedException, com::sun::star::ucb::CommandAbortedException); - + /** returns all extensions which are currently not in use because the user did not accept the license. The function will not return any object for the user repository, because a user extension will not be kept in the user repository if its license - is declined. Only extensions which are registered at start-up of OOo, + is declined. Only extensions which are registered at start-up of AOO, that is, shared and bundled extensions, can be returned. Extensions which allow the license to be suppressed, that is, it does not @@ -289,7 +289,7 @@ interface XPackageManager /** checks if the extension can be used. The extension must be managed by this package manager, that is, it must - be recorded in its database. The package manager calls + be recorded in its database. The package manager calls XPackage::checkPrerequisites and updates its data base with the result. The result, which is from Prerequisites will be returned. diff --git a/main/offapi/com/sun/star/deployment/XPackageManagerFactory.idl b/main/offapi/com/sun/star/deployment/XPackageManagerFactory.idl index 3de4cd8aad..b8217f84fb 100644 --- a/main/offapi/com/sun/star/deployment/XPackageManagerFactory.idl +++ b/main/offapi/com/sun/star/deployment/XPackageManagerFactory.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -39,7 +39,7 @@ module com { module sun { module star { module deployment { exclusively.

- + @since OpenOffice 2.0 @deprecated Use XExtensionManager. @@ -64,7 +64,7 @@ interface XPackageManagerFactory will last in an IllegalArgumentException.

- + @param context context string, e.g.
    @@ -91,6 +91,6 @@ interface XPackageManagerFactory raises (com::sun::star::lang::IllegalArgumentException); }; -}; }; }; }; +}; }; }; }; #endif diff --git a/main/offapi/com/sun/star/deployment/XPackageRegistry.idl b/main/offapi/com/sun/star/deployment/XPackageRegistry.idl index b066a93676..ff18e0e648 100644 --- a/main/offapi/com/sun/star/deployment/XPackageRegistry.idl +++ b/main/offapi/com/sun/star/deployment/XPackageRegistry.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -33,7 +33,7 @@ module com { module sun { module star { module deployment { /** Interface to bind an UNO package. - + @since OpenOffice 2.0 */ interface XPackageRegistry @@ -62,8 +62,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 @@ -75,7 +75,7 @@ interface XPackageRegistry removed = true. If not, then an IllegalArgumentException will be thrown. - + @param url package URL, must be UCB conform @param mediaType @@ -85,10 +85,10 @@ interface XPackageRegistry @param unfulfilledPrerequisites has a value other null if the extension could not be installed previously because XPackage::checkPrerequisites failed. - + @param identifier the identifier of the extension - + @param xCmdEnv command environment for error and progress handling @return @@ -104,9 +104,9 @@ interface XPackageRegistry InvalidRemovedParameterException, com::sun::star::ucb::CommandFailedException, com::sun::star::lang::IllegalArgumentException); - + /** gets the supported XPackageTypeInfos. - + @return supported XPackageTypeInfos. */ diff --git a/main/offapi/com/sun/star/deployment/XPackageTypeInfo.idl b/main/offapi/com/sun/star/deployment/XPackageTypeInfo.idl index 2991c316c5..2da764fd12 100644 --- a/main/offapi/com/sun/star/deployment/XPackageTypeInfo.idl +++ b/main/offapi/com/sun/star/deployment/XPackageTypeInfo.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -30,7 +30,7 @@ module com { module sun { module star { module deployment { /** Objects of this interface provide information about a package's type. - + @since OpenOffice 2.0 */ interface XPackageTypeInfo @@ -42,36 +42,36 @@ interface XPackageTypeInfo media type of package */ string getMediaType(); - + /** returns a description string to describe a package type. - + @return description */ string getDescription() raises (ExtensionRemovedException); - + /** returns a short description string to describe a package type (one line only). - + @return description */ string getShortDescription() - raises (ExtensionRemovedException); - + raises (ExtensionRemovedException); + /** returns a file filter string for the file picker user interface. Both, the short description string and file filter string will be passed to XFilterManager::appendFilter. - + @return file filter string */ string getFileFilter(); - + /** returns an icon for a package. - + @param highContrast return high contrast icon @param smallIcon diff --git a/main/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl b/main/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl index 90b66f0944..45aa9b7b43 100644 --- a/main/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl +++ b/main/offapi/com/sun/star/deployment/XUpdateInformationProvider.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,21 +7,20 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ - #include #include @@ -39,14 +38,14 @@ interface XElement; module com { module sun { module star { module deployment { -/** Objects implementing this interface provide access to the xml root of +/** Objects implementing this interface provide access to the xml root of one or more update information files for a given set of URLs. - + @since OpenOffice 2.2 */ interface XUpdateInformationProvider { - /** get update information for a specific extension or all available + /** get update information for a specific extension or all available information from a repository. @param repositories @@ -55,11 +54,11 @@ interface XUpdateInformationProvider the unique identifier of an extension. If it is not empty and the update document is an atom feed, only items whose 'term' attribute of the atom:category tag matches extensionId are returned. - + */ sequence < com::sun::star::xml::dom::XElement > getUpdateInformation( - [in] sequence< string > repositories, - [in] string extensionId + [in] sequence< string > repositories, + [in] string extensionId ) raises ( com::sun::star::uno::Exception ); /** interrupts a getUpdateInformation call and let's it return immediately. diff --git a/main/oox/inc/oox/xls/stylesbuffer.hxx b/main/oox/inc/oox/xls/stylesbuffer.hxx index c0ce966e07..c4da9f1558 100644 --- a/main/oox/inc/oox/xls/stylesbuffer.hxx +++ b/main/oox/inc/oox/xls/stylesbuffer.hxx @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -174,7 +174,7 @@ struct FontModel bool mbItalic; /// True = italic characters. bool mbStrikeout; /// True = Strike out characters. bool mbOutline; /// True = outlined characters. - bool mbShadow; /// True = shadowed chgaracters. + bool mbShadow; /// True = shadowed characters. explicit FontModel(); @@ -241,7 +241,7 @@ struct ApiFontData sal_Int16 mnEscapement; /// Escapement style. sal_Int8 mnEscapeHeight; /// Escapement font height. bool mbOutline; /// True = outlined characters. - bool mbShadow; /// True = shadowed chgaracters. + bool mbShadow; /// True = shadowed characters. explicit ApiFontData(); }; @@ -778,7 +778,7 @@ public: inline const Alignment& getAlignment() const { return maAlignment; } /** Returns the cell protection data of this style. */ inline const Protection& getProtection() const { return maProtection; } - /** Returns true, if any "attribute used" flags are ste in this XF. */ + /** Returns true, if any "attribute used" flags are set in this XF. */ bool hasAnyUsedFlags() const; /** Writes all formatting attributes to the passed property map. */ @@ -1031,7 +1031,7 @@ public: XfRef getCellXf( sal_Int32 nXfId ) const; /** Returns the specified style format object. */ XfRef getStyleXf( sal_Int32 nXfId ) const; - /** Returns the specified diferential cell format object. */ + /** Returns the specified differential cell format object. */ DxfRef getDxf( sal_Int32 nDxfId ) const; /** Returns the font object of the specified cell XF. */ diff --git a/main/oox/source/xls/stylesbuffer.cxx b/main/oox/source/xls/stylesbuffer.cxx index 55b18fe43f..8a167cfb63 100644 --- a/main/oox/source/xls/stylesbuffer.cxx +++ b/main/oox/source/xls/stylesbuffer.cxx @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -203,7 +203,7 @@ const sal_uInt8 BIFF_FONTUNDERL_DOUBLE_ACC = 34; const sal_uInt16 BIFF_XF_LOCKED = 0x0001; const sal_uInt16 BIFF_XF_HIDDEN = 0x0002; const sal_uInt16 BIFF_XF_STYLE = 0x0004; -const sal_uInt16 BIFF_XF_STYLEPARENT = 0x0FFF; /// Syles don't have a parent. +const sal_uInt16 BIFF_XF_STYLEPARENT = 0x0FFF; /// Styles don't have a parent. const sal_uInt16 BIFF_XF_WRAPTEXT = 0x0008; /// Automatic line break. const sal_uInt16 BIFF_XF_JUSTLASTLINE = 0x0080; const sal_uInt16 BIFF_XF_SHRINK = 0x0010; /// Shrink to fit into cell.