Issue 53198 - Outline from SO5.2 document lost in OO2.0
Summary: Outline from SO5.2 document lost in OO2.0
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0
Hardware: All Windows NT
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: regression
: 53197 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-08-11 08:32 UTC by eberlein
Modified: 2013-08-07 14:42 UTC (History)
1 user (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 eberlein 2005-08-11 08:32:39 UTC
Please open the file
http://www.openoffice.org/nonav/issues/showattachment.cgi/28650/part2.sdw (issue
53197) with StarOffice 5.2 and compare it
with m121.
For those volunteers, who can't get this old application, see
http://www.openoffice.org/nonav/issues/showattachment.cgi/28650/part2.pdf. I've
marked the changes in the pdf-file.

You can't update the TOC, cause the outline numbering of the paragraph style was
not imported.

Regards Peter
Comment 1 michael.ruess 2005-08-11 11:07:09 UTC
MRU->HBRINKM: Outline settings from SO5.2 document is completely lost. Thus the
TOC cannot b updated at all.
Comment 2 openoffice 2005-08-11 14:21:39 UTC
.
Comment 3 frank.meies 2005-08-19 13:50:06 UTC
*** Issue 53197 has been marked as a duplicate of this issue. ***
Comment 4 Oliver-Rainer Wittmann 2005-08-24 14:35:29 UTC
OD: taking over
Comment 5 Oliver-Rainer Wittmann 2005-09-01 15:34:26 UTC
main defect fixed in cws swnumtree - changed files:
/sw/source/core/unocore/unoobj.cxx, 1.84.180.3
/xmloff/source/text/txtimp.cxx, 1.116.82.1

defect cause:
- outline node array not updated on setting outline level via UNO-API.
- handling of outline level on importing paragraph completely wrong:
   - numbering rule was set directly at paragraph.
   - numbering rule was made an outline rule.
   - outline level was not set.
   - relation between paragraph style and outline level was not assured.

defect left after the made changes:
The paragraph "foo1.1.1" isn't correctly numbered. It gets number 0.0.1 instead
of 1.1.1
This seems to be a initialization problem after load caused by the unnumbered
paragraphs "blabla" and "bla" before this paragraph. Number can be corrected by
deleting the numbering rule at the unnumbered paragraphs and undoing these actions.
Comment 6 Oliver-Rainer Wittmann 2005-09-01 15:57:35 UTC
OD->HBRINKM:
Please take over for the remaining defect.
Comment 7 openoffice 2005-09-13 09:48:23 UTC
started
Comment 8 openoffice 2005-09-14 15:21:14 UTC
fixed in swnumtree
Comment 9 openoffice 2005-10-05 11:01:26 UTC
ready for QA

re-open issue and reassign to mru@openoffice.org
Comment 10 openoffice 2005-10-05 11:06:53 UTC
reassign to mru@openoffice.org
Comment 11 michael.ruess 2005-10-05 12:40:40 UTC
Correctly marking as "fixed".
Comment 12 michael.ruess 2005-10-12 16:20:50 UTC
Verified fix in CWS swnumtree.
Comment 13 michael.ruess 2005-11-11 09:30:05 UTC
Checked fix in build 680m139.
Comment 14 eberlein 2005-12-14 09:18:15 UTC
I checked the sdw-document again with 2.0.1RC4.
It is imported correctly, but try to update the TOC (see my first comment)! It
doesn't work.
And what about the empty chapter field in the header on page 2 (see duplicate
issue 53197).
Should I file a separate issue?

Regards
Peter
Comment 15 michael.ruess 2005-12-14 12:49:30 UTC
I had a closer look into the document and the problem regarding the Chapter
field and the non-updatable TOC is a bit deeper (e.g. there are also "hard"
numberings on the heading paragraphs). I will file new issues for this. 
This issue here will be kept closed, because the issue regarding the Outline
settings (mentioned in the summary) is fixed.
Comment 16 michael.ruess 2005-12-14 13:23:33 UTC
I have submitted thre new issues: 59342, 59343 and 59346.
Closing this one.