Bug 88670

Summary: FORMATING TABLE: line spacing affecting row height when only one line exists in row
Product: LibreOffice Reporter: Bob Blanchard <blabj>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED --- QA Contact:
Severity: normal    
Priority: medium    
Version: Inherited From OOo   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://launchpad.net/bugs/681868
Whiteboard:
i915 platform: i915 features:
Attachments: Document with table exhibiting problem
Document with table exhibiting problem

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

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.