Bonsoir Michel,
Le 15/06/2022 à 15:13, Michel Rudelle - Listes LibO a écrit :
J'ai à réaliser un tri naturel par macro, mais je ne trouve pas - pour 
autant qu'elle existe - la propriété du descripteur de tri à utiliser.
à ma connaissance, l'API n'offre pas cette option. Mais j'ai pu louper qqch.
j'ai des contournements possibles, en particulier utiliser le dispatcher 
(avec l’aide de l'enregistreur de macro), mais je préfère l'éviter quand 
je peux.
le dispatcher est une solution (crade, c'est d'accord, mais bon...).
Voir aussi ce fil sur Ask :
https://ask.libreoffice.org/t/how-to-get-the-feature-enable-natural-sort-with-a-sortdescriptor-for-sorting-a-sheetcellrange/77529/3
Il y a un autre fil qui pourrait être intéressant aussi (choix du 
délimiteur) :
https://ask.libreoffice.org/t/calc-natural-sort-on-delimited-alphanumeric-words/13643/2
Bon courage,
--
Jean-Francois Nifenecker, Bordeaux
--
Envoyez un mail à users+unsubscribe@fr.libreoffice.org pour vous désinscrire
Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.