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

            Bug ID: 165521
           Summary: FILEOPEN PPTX: Text has wrong line spacing - spills
                    out of the table
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:pptx
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jl...@mail.com
                CC: jl...@mail.com

Created attachment 199540
  --> https://bugs.documentfoundation.org/attachment.cgi?id=199540&action=edit
FixedCellHeight_affectingTable.pptx: the example document

It is likely that the Marianne font is needed to really see this issue.

The text is spilling out of the (properly sized) table. Marianne is a tall font
- with lots of headroom for diacritics. It appears that PowerPoint probably
forces a font-independent line-spacing for tables, just like it does for custom
shapes. (See OOo bugzilla's issue 15927.)

If that is true (and it definitely is related), then most useful will be
commit d97d43b576cf091dc27cf3cf61522cc54eeef8e7 and following commits (and a
few preceding commits too - but something is messed up with the commit order
for "git log")
Author: Oliver Bolte on Mon Sep 1 11:02:57 2003 +0000
    #i15927# PowerPoint import: added font independent linespacing

Steps to reproduce
1.) open FixedCellHeight_affectingTable.pptx

The table must not be overlapping the textbox (and it isn't - keep it that
way).
The text should not be spilling out of the table cell.

Notice that if you turn off the textbox's "Autofit: resize shape to fit text"
(using PowerPoint), then the table grows so that the text is no longer spilling
out of it. The mere existence of the textbox is currently affecting the table's
layout (because the customShape-textbox's forced mbIsFixedCellHeight overlaps
with the table import for a while).

This was checked against master (25.8) and is inherited from OOo (checked 3.3).

It is possible that fixing this will also fix bug 148041 (or alternatively it
will create more situations where that kind of bug is exposed).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to