Created attachment 61801 [details]
original ODT file
Saving an ODT document as Office2007/2010 DOCX file results in wrong line spacing. You see this problem, if you use a much smaller font size the the default. See attachments:
The original file contains a text in 4pt and fit on one page.
The exported document uses also 4pt font, but add 10pt after each line, so the resulting document needs 4(!) pages.
Created attachment 61802 [details]
result of "safeAs Office 2007/2010 .docx"
Confirmed with LOdev 3.6 (master - 18-May-2012 02h44 x86@6-fast; Build ID: 8b1d29b) under Windows Vista 64.
Can't reproduce anymore using LibreOffice 4.0.0 with Linux Mint 14 x64. Therefore I mark this bug as RESOLVED WORKSFORME (not FIXED, because we don't know which commit fixed this bug).
If this bug reappears or is still present in 4.0.0 or future releases, please feel free to REOPEN.
The problem is not (compleatly) fixed in 184.108.40.206:
- Open attached "original ODT file" in LO4.0.
- "Save as.." Office2007/2010 DOCX
When I open the resulting file in LO4.0, the result is OK.
When I open the resulting file in MS Office 2007, I still get 4 Pages with wrong line spacing.
It looks like LO4.0 is consistent in saving/loding the line spaces, but the behavior is different from MS Office.
Confirmed behavior of comment 4 with LO 220.127.116.11 under Windows XP.
I noticed this bug today, and after further test I found the following info which may be useful:
STEPS TO REPRODUCE:
1. New writer document, type two lines of text, Save as MS 2010 (.docx);
2. Reopen with LO, shows correct with SINGLE LINE SPACE;
3. Reopen with MS 2010, show wrong with MULTIPLE LINE SPACE (1.15).
* Default style of LO Writer document is SINGLE LINE SPACE, and "0" for AFTER PARAGRAPH.
* However, default style of MS Office 2010 is MULTIPLE LINE SPACE (1.15), and "10 points" AFTER PARAGRAPH, as described in this article:
* When export as .docx, Writer did not set the "<w:spacing..." attributes in "/word/styles.xml", as it is treated as DEFAULT by Writer.
So, in fact, not only LINCE SPACE, but also PARAGRAPH SPACE is affected by this bug.
I mark this as duplicate of bug 48350:
FILESAVE: missing <w:spacing w:after="0" w:before="0"/> in new document.docx
because there is a more detailed description of this issue and a more direct title there.
*** This bug has been marked as a duplicate of bug 48350 ***