[Libreoffice-bugs] [Bug 143807] FILEOPEN DOC/DOCX: Table height slightly larger compared to ODT (since 7.1)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 11 11:55:22 UTC 2021


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

Michael Stahl (allotropia) <michael.stahl at allotropia.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|regression                  |

--- Comment #5 from Michael Stahl (allotropia) <michael.stahl at allotropia.de> ---
so if i revert the commit in comment #3, nothing changes.

if i try the latest libreoffice-7-0, -6-4 still the same result.

but with libreoffice-6-3 we get the same looks when loading the exported DOCX
as when loading the ODT.

however, it turns out that Word 2013 shows the DOCX exported by LO 6.3
differently than LO 6.3, and in the same way as current LO => LO 6.3 DOCX
import is wrong

so it looks like this never actually worked => removing regression

the ODT file has:

      <config:config-item config:name="AddParaSpacingToTableCells"
config:type="boolean">true</config:config-item>
      <config:config-item config:name="AddParaLineSpacingToTableCells"
config:type="boolean">false</config:config-item>

AFAIK Word doesn't support such a mode directly.

there is some code in MSWordExportBase::OutputTextNode() that checks the
spacing setting and clears a Lower-space ... but the paragraphs in the table
don't have a RES_UL_SPACE so the test is skipped and adding
ADD_PARA_LINE_SPACING_TO_TABLE_CELLS there doesn't help.

sw/source/filter/ww8/wrtw8nds.cxx:                    if
(!m_rDoc.getIDocumentSettingAccess().get(DocumentSettingId::ADD_PARA_SPACING_TO_TABLE_CELLS))

not sure what to do about this but it doesn't look obvious.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210811/017fcb88/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list