Issue 102458

Summary: the leading value is added between lines belonging to different paragraph
Product: Writer Reporter: amy2008 <amy2008>
Component: formattingAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: hdu, issues, khirano, ooo.redflag, peter.junge
Version: DEV300m49   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 84405    

Description amy2008 2009-06-03 03:42:00 UTC
Can reproduce it in OOo2.4.1

How to reproduce it
1 Create a new Writer doc
2 Enter two or more paragraphs
3 CTRL+A to select all of paragraphs, then Format -  Paragraph - 
  Indents&Spacing - line spacing: leading, values as 0.5cm, OK

Result
spacing between two paragraphs is 1.0cm.

Expectation
Spacing between two paragraphs should be 0.5cm, it shouldn't be added.

Note
It's different between Writer and Impress about line spacing.
in Impress, if enter two paragraphs in a text box, then Format -  Paragraph - 
Indents&Spacing -line spacing: leading, values as 0.5cm
find: spacing between two paragraphs is 0.5cm, but not 1.0cm.

Regards
Li Meiying
Comment 1 eric.savary 2009-06-03 10:17:29 UTC
- Go to: "Tools - Options - OpenOffice.org Writer - Compatibility"
- Choose "Use OpenOffice.org 1.1 line spacing"
Comment 2 eric.savary 2009-06-03 10:17:58 UTC
closed
Comment 3 eric.savary 2009-06-25 10:50:37 UTC
*** Issue 103093 has been marked as a duplicate of this issue. ***
Comment 4 Oliver-Rainer Wittmann 2009-06-25 12:27:59 UTC
It has been clarified that this inconsistency is a defect in Writer which I had
introduced, when I implemented the specification "Adjustment of the formatting
of text lines with proportional line spacing" -
http://specs.openoffice.org/writer/compatibility/text_lines_and_prop_line_spacing.sxw
Comment 5 Oliver-Rainer Wittmann 2009-06-25 12:28:54 UTC
planning to fix this defect for OOo 3.2
Comment 6 Oliver-Rainer Wittmann 2009-08-28 15:50:13 UTC
fixed in cws sw32numbf01 - changed file:
/sw/source/core/layout/flowfrm.cxx,
/sw/source/core/inc/frmtool.hxx,
/sw/source/core/layout/flowfrm.cxx,
rev. 275540
Comment 7 Oliver-Rainer Wittmann 2009-09-03 08:18:16 UTC
OD->MRU: Checked in internal installation set of cws sw32numbf01 - please verify.
Comment 8 michael.ruess 2009-09-03 15:33:49 UTC
Verified fix in CWS sw32numbf02
Comment 9 michael.ruess 2009-10-02 13:34:44 UTC
Checked fix in DEV300m60.