To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42787
                  Issue #:|42787
                  Summary:|Table Of Contents corruption and formatting failures
                Component:|Word processor
                  Version:|680m77
                 Platform:|PC
                      URL:|http://homepage.ntlworld.com/ahodgkin/openoffice/faul
                          |ts/001/
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|formatting
              Assigned to:|mru
              Reported by:|adh1003





------- Additional comments from [EMAIL PROTECTED] Mon Feb 14 15:33:26 -0800 
2005 -------
I have a fairly large OOo 1.1.x era document which does not load correctly into
OOo 680-m77. When opened by double-clicking in Windows Explorer (".sxw" files
are configured to be opened by OOo 680-m77), if I scroll down to (amongst
others) page 5 I see odd areas with numbered lists, where numbered items appear
for all paragraphs in a section and must be manually removed. OOo 1.1.4 does not
show this.

In the appendices, the appendix header items are indented (for example, see page
20). They are not in OOo 1.1.4.

More seriously, if I attempt update the table of contents on the first page of
the document (right click, select "Update Index/Table", I see it collapse
completely into a totally different format with far fewer entries and different
entry formats.

You can find the test case document at [389KB]:

  http://homepage.ntlworld.com/ahodgkin/openoffice/faults/001/test1.sxw

Trying to undo this action with Ctrl+Z changes the page numbers on all entries
to "@~" but has no effect otherwise. I can re-edit the table to get the right
page numbers back, but the overall reduction in entries and change of style
persists.

It was in trying to correct this, by changing document styles and taking what I
think is probably a more "correct" approach technically to creating the appendix
header style, that I found a whole host of bugs and failures of varying
severity. They seem to be inter-related and may be an artefact purely of a
corrupted document or defective document import phase, so I can't easily see a
way to split them into different fault reports, one per fault. Sorry about that
- this report is thus very long.

At this point, if trying to reproduce the faults, then assuming you've seen the
same thing as me, shut down OOo (including the Quick Start tray application) and
reload the document, to ensure a "clean" start.

If I attempt to update the table of contents by explicitly including extra
formatting (right click on the table of contents, select "Edit Index/Table",
choose the "Additional Styles" checkbox in the Insert "Index/Table" dialogue
box) then whatever I set in the dialogue box is removed when I click on OK. No
changes are seen in the contents list, and if I re-edit the table the changes I
make are removed. Varying combinations of "Additional Styles" checked with the
other two check boxes "Outline" or "Index marks" checked or unchecked appears to
have no influence on the problem.

As a first way to replicate the fault, try just loading the document, editing
the table, ticking "Additional Styles", opening the related dialogue box
("Assign Styles") and adding Heading 5 at level 1, plus Heading 8 at level 2.
Click on OK. Reopen the "Assign Styles" dialogue box. The changes are still
there. Click on OK in the "Insert Index/Table" dialogue box. Note that the
contents collapses down in the usual fashion as described above, but does not
appear to include the new header styles we asked for. Re-edit the table. The
"Additional Styles" checkbox has been unchecked.

Now try again, this time first unticking both "Outline" and "Index marks". Add
Header 5 and Header 8, OK everything, and notice that the contents table now
disappears altogether. Only the heading is left. Re-edit the table. The
"Additional Styles" checkbox is still checked. Click on "..."; notice that the
"Assign Styles" dialogue box has been reset back to default values.

At this point, despite the Help indicating that what I was doing seems to be
correct, I decided to change approach, turned off "Additional Styles" and
instead specified Header 5 at level 1 and Header 8 at level 2 in the "Outline
Numbering" dialogue box, having checked the "Outline" box, turned off
"Additional Styles" and turned off "Index marks". Notice as you do this that
header level 1 paragraph style is set to "(None)" but header level 2 does appear
to be pre-set to "Header 8", despite the contents table showing no entries. When
you explicitly OK the "Outline Numbering" dialogue box and the "Insert
Index/Table" dialogue box, a variety of new entries will appear.

There are a collection of further bugs including document wide corruption of all
headers - e.g. it seems that altering the settings for the table of contents can
feed back and alter the styles and numbering of items that are included in that
table of contents, sometimes disasterously - but I'll leave that for another
fault report, once I get some feedback on this one, in case the whole thing is
just down to some simple root bug such as corruption of the internal document
structure :-)

Incidentally, I tried an old archive of 680-m65 and found exactly the same
behaviour. This document's origins span back as far at least as OOo 1.1.0, and
IIRC were mostly edited on 1.1.3, but OOo 1.1.4 seems happy enough too.

If you've read this far, thanks for bearing with me!

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to