Le 27.09.2008 23:09, Olivier R. a écrit :

Bonsoir Jean-Baptiste,

Jean-Baptiste Faure a écrit :

Quand on teste OOo 3.0 RC2 on a le dico français installé par défaut. C'est la version 2.3.3. L'extension pour la version 3.0 beta 2 s'installe sans problème à coté mais quel est le dictionnaire utilisé au final ? Celui installé pour tous les utilisateurs de la machine (2.3.3) ou celui installé par l'utilisateur (3.0 beta 2) ?

Normalement, la version 3.0b2 doit remplacer la version 2.3.3, et non pas s'installer à côté.
C'est ce à quoi on s'attend mais il y a un hic : le dictionnaire version 2.3.3 installé par défaut avec les droits d'administration, elle est donc verrouillée pour l'utilisateur normal, en tous les cas sous Linux. Je vois donc mal comment une extension installé par un simple utilisateur pourrait la remplacer. En revanche il me semble que l'utilisateur simple devrait pouvoir désactiver un dictionnaire par défaut pour son usage personnel.
Si ce n'est pas ce qui s'est passé, c'est que les deux extensions n'ont pas le même identifiant. Or, ça devrait être le cas. Mais je n'ai pas pu vérifier, car suite à une fausse manip, j'ai effacé l'ancienne version préinstallée avant d'installer la nouvelle.

Peux-tu copier ici le contenu du fichier _description.xml_ de l'extension préinstallée, stp?
Voici :

<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006"; xmlns:d="http://openoffice.org/extensions/description/2006"; xmlns:xlink="http://www.w3.org/1999/xlink";>

   <!-- SHOULD OR MUST BE PROVIDED ENTRIES FOLLOWING... -->

<!-- Here you can state the license text to be displayed during installation.
       You can provide more than one localized version if you like.
       If no matching locale was found the first one will be displayed.
!!! Don't change the values for 'accept-by' or 'suppress-on-update' it !!! !!! might be troublesome in multi-user installations if no shared-layer !!! !!! installation can be done. !!! -->

   <!-- The version of your extension. NOT the one of OpenOffice.org...
It will also be used to automatically check if there are updates for this
        extension available. Newer versions should have higher values. -->
   <version value="2.3.3" />

   <!-- A unique identifier for your extension.
In order to avoid name clashes with other extensions it should probably hold your company name or your full name along with the name of the extension in a form like
           MyFirstName.MyLastName.DictionayName
       or  www.MyWebpage.net.DictionayName
Or you may use the project name of your submitted extension to start with... For the very same reason they should NOT start with 'org.openoffice'. When choosing the identifier keep in mind that others may provide a dictionary for that very same language as well and even then your identifier still needs to be unique! --> <identifier value="french.classic-and-reform1990-dictionary.from.Dicollecte.by.OlivierR" />

   <!-- A name for the extension to be used in the UI.
       For dictionaries it should show the locales supported
       and the purpose spell checking and/or hyphenation and/or thesaurus.
       The display name can be localized and there should be at least one
       entry for each language it implements and one default English entry.
       The default entry is the one listed first. -->
   <display-name>
<name lang="en">French "Classic and Reform 1990" spelling and hyphenation and thesaurus dictionaries. -- French (France, Belgium, Canada, Switzerland, Luxemburg, Monaco)</name> <name lang="fr">Dictionnaire orthographique français "Classique et Réforme 1990", dictionnaire des synonymes et des césures. -- Français (France, Belgique, Canada, Suisse, Luxembourg, Monaco)</name>
   </display-name>

   <!-- Dictionaries should work with all platforms... -->
   <platform value="all" />

<!-- A minimal OpenOffice.org version the extension requires to be used with.
        For dictionary extensions that will be 'OpenOffice.org 3.0' -->
   <dependencies>
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0" />
   </dependencies>


<!-- MORE OPTIONAL LIKE ENTRIES FOLLOWING (may easily be omitted, uncommented by default)... -->

<!-- If you uploadet your extension to the repository (which should be the default!)
        you do not need to have this one.
   <update-information>
<src xlink:href="http://extensions.openoffice.org/testarea/desktop/license/update/lic3.update.xml"; />
   </update-information> -->

   <!-- Check if this is already generated by repository.
       Otherwise you may like to provide it manually.
   <publisher>
<name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en.html"; lang="en">My dictionary extension (en)</name> <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_fr.html"; lang="fr">My dictionary extension (fr)</name>
   </publisher> -->
   <publisher>
<name xlink:href="http://dico.savant.free.fr/index.php"; lang="fr">Dicollecte</name>
   </publisher>

<!-- This link will be generated by repository. Check if this already works for multiple languages.
        If not you may provide it manually if you like.
   <release-notes>
<src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.txt"; lang="en" /> <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_fr.txt"; lang="fr" />
   </release-notes> -->

</description>

Bonne soirée
JBF

--
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Répondre à