Issue 103711 - WW8: hanging list indent imported incorrectly
Summary: WW8: hanging list indent imported incorrectly
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: numbering
: 105638 (view as issue list)
Depends on:
Blocks:
 
Reported: 2009-07-22 04:37 UTC by slacka
Modified: 2013-08-17 13:21 UTC (History)
1 user (show)

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


Attachments
Justified Format lost in bullet text list (26.00 KB, application/msword)
2009-07-22 04:38 UTC, slacka
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description slacka 2009-07-22 04:37:20 UTC
This bug was found in a OO v3.1 running in windows XP and Linux. It appears that
OpenOffice loses formatting when importing MS Word 2003/2007 .doc files with
bullet or numbered lists. I have attached an example.

Steps to reproduce the bug:
1. Open attached BulletFormat.doc document in oowriter-3.1 
2. Open attached BulletFormat.doc document in Word2003/2007
3. Compare the documents. 

Notice the justified format code is lost in the bulleted text.
Comment 1 slacka 2009-07-22 04:38:40 UTC
Created attachment 63679 [details]
Justified Format lost in bullet text list
Comment 2 michael.ruess 2009-07-23 12:13:27 UTC
MRU->OD: open attached doc, see that the list indent is not hanging anymore.
Bullet should be at 0,63 cm, text should be aligned at 1,26 cm.
OO 2.4.x did this correctly.
Comment 3 michael.ruess 2009-10-06 15:32:28 UTC
*** Issue 105638 has been marked as a duplicate of this issue. ***
Comment 4 Oliver-Rainer Wittmann 2009-10-14 16:02:05 UTC
setting keyword "numbering"
Comment 5 Oliver-Rainer Wittmann 2010-05-06 08:53:12 UTC
The analysis of Microsoft Word behavior reveals that the left indent for these
paragraphs are set at the paragraph itself, while the first line indent is set
at the corresponding list level of the applied list style.
When specifying the new position and space properties for list levels - see
specification http://specs.openoffice.org/writer/numbering/NewListLevelAttrs.odt
- such a situation has been overseen.
The problem that in OOo Writer all indent attributes (left indent, first line
indent and right indent) are combined in one attribute item makes it somehow
hard to take the left indent from the paragraph attributes and the first line
indent from the list level properties.

For the WW8 import I will implement the following solution:
- In case that a paragraph has only given a left indent and is inside a list
whose corresponding list level provides a first line indent the first line
indent from the list level is directly applied to the paragraph.
Comment 6 Oliver-Rainer Wittmann 2010-05-06 16:01:03 UTC
fixed in cws sw33bf04 - changed files:
/sw/source/filter/ww8/ww8par.hxx,
/sw/source/filter/ww8/ww8par.cxx,
/sw/source/filter/ww8/ww8par3.cxx,
/sw/source/filter/ww8/ww8par6.cxx,
change set eea906d0559c
Comment 7 Oliver-Rainer Wittmann 2010-05-27 13:14:05 UTC
od->mru: Checked in internal installation set of cws sw33bf04 - please verify.
Comment 8 michael.ruess 2010-05-28 13:48:33 UTC
Verified in CWS sw33bf04.
Comment 9 michael.ruess 2010-08-27 11:55:33 UTC
Checked in OOO330m5.