[Libreoffice-bugs] [Bug 100061] Table cells in specific Microsoft Word document not merge without changing column width

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 21 13:41:30 UTC 2018


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

--- Comment #4 from Mike Kaganski <mikekaganski at hotmail.com> ---
The reason for the problem is that the red cells are already joined from
initially unaligned cells. The second (hidden) cell of the first red merged
cell actually has left border at 2 pts to the left compared with left border of
the first cell of said merged cell. LibreOffice doesn't allow to merge
unaligned cells; but in this case, the merge was performed in Word.

If one splits the cells to initial state, then one won't be able to merge them
back unless one aligns the borders.

Actually I'm not sure if this should be considered a bug. We don't support
non-rectangular cells, including merged; this is the case when we require
strictly rectangular selection, when Word seem to be more forgiving. Maybe we
could also accept some small allowance.

The place in code that rejects the merge is in SwTable::CollectBoxSelection(),
specifically "if( nLeft < nMin )".

-- 
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/20180421/9fc1f648/attachment.html>


More information about the Libreoffice-bugs mailing list