Date: prev next · Thread: first prev next last
2025 Archives by date, by thread · List index


Hi Design-team,

ODF has the attribute table:embedded-number-behavior of the <table:sort> element [1]. It has the values `alpha-numeric`, `double` and `integer`.

LibreOffice has the checkbox `Enable natural sort` on tab `Options` of the `Sort...` dialog in menu `Data` in Calc [2].

When it is checked, LibreOffice sorts in a way, that corresponds to the ODF value `double`. If it is not checked, LibreOffice sorts in a way, that corresponds to the ODF value `alpha-numeric`.

I'm going to implement the missing value `integer` of this attribute.

With my implementation, there are three possible sorting types then, and therefore a checkbox no longer fits as a control element.

Please give me a suggestion on how to change the dialog.

[1] https://docs.oasis-open.org/office/OpenDocument/v1.4/cs01/part3-schema/OpenDocument-v1.4-cs01-part3-schema.html#attribute-table_embedded-number-behavior
[2] https://opengrok.libreoffice.org/xref/core/sc/source/ui/dbgui/tpsort.cxx

https://opengrok.libreoffice.org/xref/core/sc/uiconfig/scalc/ui/sortoptionspage.ui

Kind regards,
Regina

--
To unsubscribe e-mail to: design+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/design/
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.