Natural Sort to ODF

Mike Kaganski mikekaganski at gmail.com
Fri Aug 22 13:53:38 UTC 2025


Hi Regina,

On 8/21/2025 3:46 PM, Regina Henschel wrote:
> Problem B: There exists no UNO property for natural sort.
> Can I simply add it to css.sheet.SheetSortDescriptor2? As boolean or 
> as enum?

Yes you can add public properties to services; please don't forget the 
"since version..." decoration at it.

Please avoid using UNO enums - they are not flexible: you can't extend 
an existing enum, it would be an API break. Constant groups are much 
better in that regard. And you therefore can start with a constant group 
of two defined names, and add the third later, as it's implemented.


-- 

Best regards,

Mike Kaganski



More information about the LibreOffice mailing list