https://bugs.documentfoundation.org/show_bug.cgi?id=169674

Heiko Tietze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |103030
                 CC|                            |[email protected],
                   |                            |[email protected]
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=16
                   |                            |7491

--- Comment #2 from Heiko Tietze <[email protected]> ---
Took me a while to understand that Tools > Sort as well as Table > Sort
requires some selection to work (but are also enabled on fields like the
current date). And both .uno:SortDialog and .uno:TableSort seem to start the
dialog.

I would not expect any paragraph sorting. However, a new command was
implemented recently for bug 167491, which sorts the document chapters
alphabetically. You need to enable experimental features and customize the
command Sort Chapters / .uno:SortChapters manually into the UI. And this
function keeps the text within the sorted chapter.

STR:

<H1>Beta>
123
<H1>Alpha>
456

select all, run tools > sort results in
123
456
<H1>Alpha</H1>
<H1>Beta</H1>

My take: One sort function for tables, another for text. With clear naming (we
have four "Sort" available for customization).

Some options to define what level should be sorted sounds reasonable. But it
complicates the workflow as you may ask for the level (eg. sort level 2 and 3
but not 1 and 4) or scope (eg. sort all levels in the current chapter). I
suggest to not add these options and run the command from the Navigator either
on Headings (sorting all chapters) or the "First Chapter" sorting all items
below. This clashes with the current "Sort Alphabetically" that could become a
toggle on the header. Or just renamed to "Sort List Alphabetically" (vs "Order
Chapters Alphabetically"). Or consider radio buttons like bug 160951.

Table sort should (virtually) auto-select the table. For text sort I would
always run the function on the entire text or parts if defined in some options
dialog.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103030
[Bug 103030] [META] Navigator sidebar deck and floating window (also "Target in
Document")
-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to