Bug 88670 - FORMATING TABLE: line spacing affecting row height when only one line exists in row
Summary: FORMATING TABLE: line spacing affecting row height when only one line exists ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 17:35 UTC by Bob Blanchard
Modified: 2016-09-20 13:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document with table exhibiting problem (30.88 KB, application/vnd.oasis.opendocument.text)
2015-01-21 17:35 UTC, Bob Blanchard
Details
Document with table exhibiting problem (30.88 KB, application/vnd.oasis.opendocument.text)
2015-01-21 17:38 UTC, Bob Blanchard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Blanchard 2015-01-21 17:35:44 UTC
Created attachment 112610 [details]
Document with table exhibiting problem

In LO writer, in a table row where height is "fit to size" - the paragraph line spacing affects the row height for single lines of text.

In OO writer, the row height doesn't affected by the line spacing defined for paragraphs in rows with single lines of text.

The attached document shows the problem.  When opened with LO, the row borders are touching the text.  When opened with OO, the spacing is correct, ie. not touching the borders.

This seems to only arise in documents where the fo:line-height is less than "100%" (eg. if paragraph line spacing set to proportional 80%).

In order to "fix" a document with LO, you need to select the table, right-click, Line Spacing -> Single (or 1.5 or double). 

Line spacing should only affect row height when *more* than one line exists, since as the term implies, its the space between lines.
Comment 1 Bob Blanchard 2015-01-21 17:38:21 UTC
Created attachment 112611 [details]
Document with table exhibiting problem

content-type of attachment not detected properly
Comment 2 Björn Michaelsen 2015-01-22 20:02:47 UTC
as per https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/681868 -> inherited from OOo
Comment 3 QA Administrators 2016-09-20 09:37:50 UTC Comment hidden (obsolete)
Comment 4 Bob Blanchard 2016-09-20 13:41:54 UTC
Ubuntu 14.04.3 LTS - x86_64

LibreOffice 4.2.8.2 exhibits the problem
LibreOffice 5.0.2.2 does not exhibit problem
LibreOffice 5.2.1.2 does not exhibit problem

-Bob