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

--- Comment #15 from sdc.bla...@youmail.dk ---
Created attachment 170117
  --> https://bugs.documentfoundation.org/attachment.cgi?id=170117&action=edit
How to combine items from three lists with two selections

(In reply to Heiko Tietze from comment #13)
> topic ... hasn't got more input.
Main issue:  Some users will attempt to interpret the meaning of “Add to
previous list” without reading relevant documentation.

I am advocating here only for an “informed decision” about the “label”, that
appreciates the current behavior of .uno:ContinueNumbering, including its
directional effects.  

Here are some simple exercises based on two lists to illustrate that behavior.

Use Toggle Ordered List to make two separate lists with different numbering
schemes (I have chosen two so that I can refer to the list labels).

    1. Take abc cparaga
    2. Toogle Ordered List
    3. start to break it up
    4. asdfasdfaf


    (1) Now we continue to write.
    (2) andf
    (3) asdfasdfaf
    (4) modsfa
    (5) sdfasdf
    (6) asdfasdfaf

Demonstrations

Each technique starts with a “fresh” set of two lists as just described.

Technique A. Select part of line (3), press Ctrl, then select part of line 2.,
“continue previous…”

Result:  (3) → 5. (in second list) with no other changes in first or second
list.  (i.e., numbering scheme/list structure of second selected list “wins”).

Technique B. (opposite direction now). Select part of line 2. and part of line
3. press Ctrl, select part of line (3), then “continue previous…”

Result:  2. → 1)  3. → 2) and all numbers changed in second list .  
(again numbering scheme of second selected list “wins”)

Technique C.  Select one or more consecutive lines in second list, starting
with line (1) (and no selection in first list), then “continue previous…”

Result:  selected lines are added to previous list with previous list numbering
scheme.

Technique D.  No result with “continue previous numbering” if (no selection in
first list), and selection in second list is not consecutive paragraphs
starting with of line (1)

Technique C. also works with non-list paragraphs, hence the suggestion “Add to
previous list”, but notice, at present that Technique B does *not* add to
previous list.  But Technique B has some justified use value.  (e.g., Suppose
you decide that lines 3. and 4. should be lines 1) and 2) of the following
list.  Technique B. does the trick. This is what motivated the suggestion
“Combine lists” -- because you can decide -- depending on direction, what is
combined with what.

These "combine" effects also work across multiple lists.  I have attached a
screenshot example where selections (seen as blue highlighting) are made in
list 2 and list 3, which results in them being added to list 1. (i.e., even
though technique A is used there, it becomes technique C in effect because
there is a previous list).

In short: if the label becomes “Add to previous list”, then
.uno:ContinueNumbering needs to have its present “directional” capability
(second list selected "wins") eliminated to make the “previous” list always
“win” (in terms of list identity).

And what about Technique B, where some items at the end of the “previous list”
can be added to the beginning of a following list? 
(that would also be eliminated with directionality).

And one final question.  At present, it is possible (i.e., Technique A) to add
arbitrary items from a second list to a first list. Would that possibility
remain?  If not, then the documentation would become easy, because it would
never be necessary to select anything in the “previous list”. The help page
might say: 

   1. Identify a list for addition.
   2. Select paragraphs after that list to be added.
   3. Choose “Add to Previous List”.
   Note: For paragraphs already in a list, only the first paragraph, 
         and any number of consecutive paragraphs, can be added.

I can see the value of the directional effects and differential selection
effects. I can also see the value of "clipping the wings" of
.uno:ContinueNumbering to make it only add paragraphs after a list (as
described in the "help proposal"), so -- no opinion expressed here about what
to decide -- beyond a request to have a clear decision about "expected"
behavior of .uno:ContinueNumbering so that it can be documented.

Note -- this is *not* an issue of DF vs. list styles (i.e., the techniques
described here work the same way on lists assigned to list styles, or with a
mixture of DF and list styles).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to