To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=46683
                  Issue #:|46683
                  Summary:|Switch to web layout causes renumber bug, and crash
                Component:|Word processor
                  Version:|OOo 2.0 Beta
                 Platform:|PC
                      URL:|
               OS/Version:|Windows 2000
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P2
             Subcomponent:|editing
              Assigned to:|mru
              Reported by:|rsearjeant





------- Additional comments from [EMAIL PROTECTED] Tue Apr  5 01:49:03 -0700 
2005 -------
My Environment:

Microsoft Windows 2000 Professional SP4
Dell Precision 650, Intel Xeon 2.4GHz, 1GB RAM
OpenOffice.org 2.0 Beta (1.9.79)

To reproduce this defect:

1.Open the attached RenumberingBugSample.odt file.  (Open in Print Layout view).

2.Scroll down and place the insertion point (the i-beam cursor) somewhere on 
page 2.

3.Click View/Web Layout 

4.The program appears to get stuck in an infinite loop, visiting or renumbering 
pages which do not exist.  

The page numbering is visible in status-bar panel.
The page counter just keeps rising, and I guess this would continue 
indefinitely, perhaps until the process ran out of memory. Only way to stop it 
is to kill the process.

I decided to look at the XML inside the document.  I discovered that in the 
offending document, the content.xml showed that the Contents title style had a 
very, very long name made up mostly of what look like hex character references:

<text:index-title-template text:style-name="Contents_5f_5f_5f_5f_5f_  ..... 
(elided)

This style name doesn't show up in the Stylist, but can be seen in the Styles 
tab of the Index/Contents editing dialog (right click on the TOC and choose 
Edit Index/Table).

OOo Writer doesn't allow you to edit this style, either.  In the same dialog, I 
selected the offending style in the right-hand list, then clicked Edit.  
Nothing happens!  If you select any other Paragraph Style in the right-hand 
list, you can edit it, but not this one.  Internally, OOo must be rejecting 
this style.

I removed the style association by selecting it in the left hand list and 
clicking on Default.  The previously 'rogue' document then behaves correctly, 
so my guess is that this behaviour is somehow linked to the style name.

NOTE: the original document was written in Word and imported into OOo.  
However, I it has been edited and saved in odt format for most of its life.  I 
wonder if this rogues style name originated with the conversion?

---------------------------------------------------------------------
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