Issue 49294 - Importing sxw from 1.1.x to 1.9.100 adds extra "numbering item" at the beginning of a document that uses "index entries"
Summary: Importing sxw from 1.1.x to 1.9.100 adds extra "numbering item" at the beginn...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 680m100
Hardware: PC All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL: http://www.lut.fi/~tepesone/Document.sxw
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-05-14 22:08 UTC by tero_pesonen
Modified: 2017-05-20 11:21 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tero_pesonen 2005-05-14 22:08:45 UTC
Concerns importing sxw created in 1.1.x to 1.9.100  
  
This is somewhat special document that I created long time ago. I don't remember why  
exactly, but I've used something called "index entry" in all level 2 headings. It had  
something to do with having them to show up in table of context, or the numbering. The  
original doc was imported from another program and I couldn't get the numbering or  
something to work and this made it work as supposed and I was able to print it etc.  
  
Now when this document is opened in 1.1.4 everything is OK. But when opened in 1.9.100 
a strange totally  
unnecessary numbering list item "1." appears at the very beginning of the document, i.e.  
at the first page, at the beginnign of the very first line. With 1.1.4 it doesn't appear and  
everything seems to be supposed to.  
  
The document in question is available at given URL.
Comment 1 tero_pesonen 2005-05-15 19:09:19 UTC
For some reason, the platform is marked as "Palm PDA", although this is naturally 
PC/Linux issue. 
Comment 2 flibby05 2005-05-17 16:18:07 UTC
document analysis: heading 2,4,5,6 have no parapraph styles assigned,
first line as described by reporter is assigned heading style 3

confirm issue with m103,
further investigation needed
Comment 3 michael.ruess 2005-05-18 07:13:03 UTC
MRU->DVO: After opening the OO 1 document in 680m104, there is a list style
assigned to the first paragraph, which isn't the case in OO 1.x.
Comment 4 openoffice 2005-05-31 17:51:11 UTC
dvo: Some Analysis:

That first paragraph is a heading that uses "Heading 3" as paragraph style. The
"Heading 3" paragraph style use the numbering "Numbering 1". The outline
numbering does not assign any styles to outline level 3.

The difference in behaviour between 1.1.x and 2.x is probably due to the fact
that we now support outlines with list-styles. This feature allows different
'outline lists', e.g. to number the main text body with roman numerals, and the
appendix with letters. The strange thing is that the given document invokes
exactly this feature (by having a numbering assigned to the outline level
style), even though that behaviour is not supported in 1.1.x. In those versions,
the outline numbering would 'win' against any other numbering, meaning that the
list numbering was being suppressed.

So... What happend in 1.1.x is: The paragraph was an outline paragraph (and
outline had no numbering), and it had a list style. In 1.1.x, outline always
wins, and hence no number was displayed.

In 2.x, the paragraph was an outline paragraph and had a numbering assigned.
Hence, the numbering was used, and a number was displayed.


I suspect the best way for the user in this case is to simply remove the
numbering from 'Heading 3' style, and hence all should be as expected.


If we want to fix this, I guess the only way is to include another compatibility
flag, which makes the 2.x version prefer outline over list numbering for old
documents as well.


I don't think this has anything to do with the 'index entries' or such. 


dvo->hb: Please have a look on how to fix this. If you need load/save support
for the compatibilty flag, please re-assign.
Comment 5 openoffice 2005-08-03 12:04:24 UTC
.
Comment 6 andreas.martens 2005-08-25 07:55:36 UTC
Considering the effort, the priority, the risk and our resource planning I've to
retarget this issue to OOo Later.
Comment 7 skquinn 2005-10-25 08:26:08 UTC
I'm pretty sure this is still alive and well in the released 2.0. In fact, it
may be more serious than it appears frm the initial report: one of the
superfluous numbers in one of my documents survived every attempt to eradicate
it; after a cycle of open-edit-save-close-reopen the number would re-appear.
Comment 8 stp 2006-01-28 11:12:26 UTC
The linked document looks good in 2.0.1 AFAICT.
Comment 9 Marcus 2017-05-20 11:21:54 UTC
Reset assigne to the default "issues@openoffice.apache.org".