https://bugs.documentfoundation.org/show_bug.cgi?id=170208
Bug ID: 170208
Summary: table/content without cell margin shifted left of the
page margin
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
The problem is that the table is too far to the left. In MS Word, the table has
no margin, and the border starts at the page/body margin.
Ultimately this is probably inherited from OOo. The particular document I am
focusing on did not load well at all in OOo, but already in 3.6.7 the table
borders are shown left of the table. A large (DEF_BORDER_DIST) cell margin is
seen here - and is the same size as the over-shift to the left.
The margin disappeared in 4.0, but the shift was still there.
The shift disappeared in 5.4 with commit
9a31d1c83e08600507689dc18f6f0973bc7e4389
Author: Vitaliy Anderson on Mon Apr 17 13:11:53 2017 +0200
tdf#106742: OOXML import/export: treat "tblInd" properly.
and returned with 6.3.6 commit d978f5d40102a098f1faf1e98aa39ad122284299
Author: Michael Stahl on Tue Feb 11 11:57:35 2020 +0100
related: tdf#106742 sw: DOCX import/export: fix default of table indent
It again disappeared in 7.5 with
commit/788cc6ff3b186ceb8f265e53b5482f808f6536f4
author Vasily Melenchuk on Mon Jan 09 07:54:51 2023 +0000
"tdf#148578: Do not apply table shift for RTF"
and returns again in 25.8.3 with commit
a80d7ba9c01c8c5c95bf01960d969b82dc7edffc
Author: Aron Budea on Mon Sep 29 14:59:18 2025 +0930
tdf#168598 Fix for tdf#148578 should only apply to RTF
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191587
I expect the key to solving this is to notice that the cell margins end up
being zero, instead of a default value of DEF_BORDER_DIST.
Seem with many examples. The ones I noted were:
fdo34995-1 attachment 44099 (survey.docx)
fdo36552-3 attachment 46135 (3 columns 2 rows.docx)
fdo40287-1 attachment 50449 (note.docx)
fdo42668-1 attachment 53248 (LibreOffice_Writer_crash.docx)
fdo47768-1 attachment 58926 (SampleFile.docx)
fdo49229-2 attachment 60705 (tabla_normal 2.docx)
fdo52191-3 attachment 64309 (Untitled 1.docx)
fdo52222-1 attachment 64343 (Ausbildungsnachweis0312.docx)
fdo61667-2 attachment 76793 (copy_Mexico-Americano_hospital info.docx) ***
fdo74770-1 attachment 93741 (Job_Description_HR3.docx)
--
You are receiving this mail because:
You are the assignee for the bug.