https://bugs.documentfoundation.org/show_bug.cgi?id=163686

            Bug ID: 163686
           Summary: FILEOPEN RTF Row height is determined by deleted cells
                    font size
           Product: LibreOffice
           Version: 5.3.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 112765

Created attachment 197300
  --> https://bugs.documentfoundation.org/attachment.cgi?id=197300&action=edit
Example file from Word 2016 with table and deleted cells

Attached RTF example file has two rows with deleted cells.

The first row had a 20 pt font size set before deleting the B1 cell, this
setting is retained.
When opening the file in Writer, this 20 pt is used to determine the row
height, which is incorrectly large compared to Word.

Similarly the third row has a 6 pt font size set in the C1 cell, but the
default formatting (Normal style, 11 pt font, 1.08 line spacing) used on the
deleted C2 determines the row height, unlike in Word.

1. Open attached file
-> First and third rows are taller than in Word.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: dd41459378bca78a18f32e61bfac77aa48fabb8d
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

Seems to have started in 5.3 with:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=0f2d5db38bac64b665c6e4a127bbbd63a7ed9af5

author  Miklos Vajna <[email protected]>  2016-09-06 08:16:37 +0200
committer       Miklos Vajna <[email protected]>  2016-09-06 12:13:48
+0000
commit  0f2d5db38bac64b665c6e4a127bbbd63a7ed9af5 (patch)

tdf#44986 RTF import: handle \trwWidthA by faking cells


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112765
[Bug 112765] [META] RTF (text) table bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to