Issue 109113

Summary: Inserting file containing a numbered list messes up numbering
Product: Writer Reporter: Daniel Benkmann <shenmux09>
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 3.1.1Keywords: numbering
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
test document to demonstrate bug; see issue desription none

Description Daniel Benkmann 2010-02-10 16:04:22 UTC
Steps to reproduce:

Step 1: Open attached file insert_numbering_bug.odt. The file contains the
following numbered list:
  1. One
  2. Two
  3. Three
  4.

Step 2: Move cursor to "4."
Step 3: Use "Insert->File..." to insert the file insert_numbering_bug.odt.

The result is the following list:
  
  1. One
  2. Two
  3. Three
  4. One
  1. Two
  2. Three
  5. 

This is obviously not what you would expect. Especially the "5." at the end.
Comment 1 Daniel Benkmann 2010-02-10 16:07:45 UTC
Created attachment 67730 [details]
test document to demonstrate bug; see issue desription
Comment 2 Joe Smith 2010-02-10 17:25:01 UTC
This problem only affects lists made with the toolbar buttons. If you number the
items by applying a list style, e.g. "Numbering 1" under the "List Styles"
category, then following the steps you describe works as expected.

This is because each list created by toolbar buttons is numbered distinctly,
whereas all lists using the same list style will be numbered as one sequence
unless the user manually restarts it.

You can see the two distinct lists in your result document if you click in the
page margin to the left of item 1: the labels 1, 2, 3, 4 and 5 are highlighted;
the other two are not--they belong to a different list.

I believe the underlying situation here is covered by Issue 69459, which would
change the toolbar buttons to apply a named list style.

For help in using OOo, please use the mailing list or forum:
users@openoffice.org
http://user.services.openoffice.org
Comment 3 michael.ruess 2010-02-11 15:30:20 UTC
MRU->OD: Having a numbered list as described, and appending a file, which
consists of a list, to the list will create a new list inside the existing one.
Comment 4 Marcus 2017-05-20 11:24:15 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 5 Marcus 2017-05-20 11:25:40 UTC
Reset assigne to the default "issues@openoffice.apache.org".