Issue 59363

Summary: Heading 2 as follow of Heading 1 will produce wrong outline numbers
Product: Writer Reporter: mike_hall <mike.hall>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, jr
Version: OOo 2.0.1Keywords: numbering
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
document to demonstrate corrupted outline numbering display corruption none

Description mike_hall 2005-12-14 17:31:47 UTC
To reproduce:
Open new document
In Styles and Formatting pane, Organizer tab, amend Heading 1 to have 'next
style' Heading 2
Do Tools > Outline Numbering and set Heading 1 and Heading 2 numbering to any
choice except none, leaving 'Show sub-levels' at the default (2 at level 2, 3 at
level 3...).
Insert two paragraphs with any text. Apply Heading 1 style to the first and
Heading 2 style to the second. The paragraphs are automatically numbered correctly.
Put cursor at the end of the Heading 1 paragraph, immediately before the
paragraph mark.
Press return and note corrupted heading levels (eg Heading 1 paragraph numbering
now has 2 sub-levels instead of 1).
Do Tools>Outline numbering>OK to correct the display.

Similar results for any Heading level with 'next style' set to any other
Heading. For example, after pressing Return at the end of a paragraph with
Heading [n] style applied, Writer displays outline numbering with the number of
sub-levels in the Heading set as 'next style' in Heading [n]. 
Tools>Outline numbering>OK always puts things right.

This strange display behaviour is a reason for a legal firm not to adopt OOo
because it is irritating and confusing for their administrative staff when
amending contract documents.
Comment 1 mike_hall 2005-12-14 17:37:01 UTC
Created attachment 32404 [details]
document to demonstrate corrupted outline numbering display corruption
Comment 2 michael.ruess 2005-12-15 08:09:06 UTC
MRU->OD: Set "Heading 1" as follow for "Heading 2" style, activate Outline
numbering for first two levels. Enter some Heading 1 text and create paragraph
break -> Heading 1 paragraph is now also in Level 2.
Comment 3 michael.ruess 2005-12-15 08:09:43 UTC
...forgot to reassign.
Comment 4 Oliver-Rainer Wittmann 2006-06-23 12:54:52 UTC
adjust target milestone to 2.x
Comment 5 mike_hall 2007-06-21 08:15:54 UTC
Target milestone of OOo 2.x likely to be missed. Please consider setting target
to 2.4 or 3.0.
Comment 6 Mathias_Bauer 2007-12-03 14:48:46 UTC
according to release status meeting -> 3.x
Comment 7 jr 2009-10-18 20:20:38 UTC
setting keyword "numbering"
Comment 8 Marcus 2017-05-20 11:15:23 UTC
Reset assigne to the default "issues@openoffice.apache.org".