Created attachment 107346 [details] Simple RTF document showing problem with line spacing Steps to reproduce: 1. Create a table in Word with 0 line spacing above and below 2. Save as RFT 3. Open with Writer Expected results: Writer import a single spaced table Actual results: Table is 1.5 spaced. Writer adds Paragraph->Indent&Spacing->Spacing->Below Paragraph: .51 Lines. If Below Paragraph: .51 Lines is changed to Zero, the table is displayed properly.
Created attachment 107347 [details] original DOCX imports correctly. Above & Below spacing:0
Confirmed in 3.3.0, 3.6.7 and master. From what i can see, left and right table spacing to content is 0.08" in docx and 0.00" in reopened rtf, which is a rtf filesave issue. Version: 4.4.0.0.alpha0+ Build ID: ced24ffba2fa1754c466b7944b0ee06d21292706 TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-10-04_21:36:54
Created attachment 107597 [details] Comparision of Word vs Writer Note the paragraphs options. The importer adds an extra .51 line
Sorry Luke, I was mistakenly saving the .docx file to rtf in writer and then reopening it. :) Filed another bug for that one (bug 84832). Confirmed that this is a regression, as it works correctly in 4.2.6. Broken in 4.3.3 and master. Version: 4.3.3.0.0+ Build ID: 18b9cb260a5ec358f6a7b73362bbc306af0417b1 TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:libreoffice-4-3, Time: 2014-10-04_04:41:44 Version: 4.4.0.0.alpha0+ Build ID: ced24ffba2fa1754c466b7944b0ee06d21292706 TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-10-04_21:36:54
I see the problem. Sounds like in buffered content (like tables) we don't do the proper hard formatting deduplication. If this sounds Chinese, see commit 1be0a3fa9ebb22b607c54b47739d4467acfed259. ;-)
http://cgit.freedesktop.org/libreoffice/core/commit/?id=e34906d20c9febc420b115fa2a8b171826dea0be
libreoffice-4-3 review: https://gerrit.libreoffice.org/11914
Integrated to -4-3: http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-3&id=a3cd122a8fbf5788d39491134c00e75149032783
Migrating Whiteboard tags to Keywords: (filter:rtf) Remove redundant rtf_filter. [NinjaEdit]