When copying merged cells from calc to writer, merged cells are not merged any longer. In LO3 it worked properly. The problem is in LO4. Steps to reproduce: 1) Create new document in calc 2) fill in some cells and merge some of them (I merge three horizontal cells) 3) select cells including these merged and copy CTRL-C 4) Switch to writer and EDIT->paste SPECIAL. 5) Choose "Formatted text [RTF]" 6) The cells are pasted but merging is split
reproducible on LO 4.0.3.3 (Win7 32bit) Ctrl-C will only select first cell, so only first cell copied to Writer. Merged cell can be copied by selecting all merged cells then hit Ctrl-C.
Created attachment 80625 [details] odg with screen prints of results in 366 403 401b2 confirm on Ubuntu. See some more strange things compared in 366 and post 400 (Maybe someone else can do some more tests?)
the old RTF filter pastes merged cells, the new one doesn't
Half a year passed and.... No response. Can someone check? I know it is not of the highest importance but I use this function every day and merging cells again in the writer is really annoying. Since it is already confirmed PLEASE assign this bug to the responsibles.
Assign.
Created attachment 91148 [details] DOCX file containing an explicit horizontal table cell merge. Root cause is that the DOCX import doesn't handle explicit horizontal merges in table cells (not to be confused with the situation when the merge is expressed with a wide and a missing cell, which is implicit), see the attached document. That should be fixed first, then the RTF part will be easy, I guess.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bb562304c1e1c61a882e6db65806cfdf8601bcbf Related: fdo#65090 Fix crash in SwXTextTableCursor::mergeRange() The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=97dcf77841d19d344d58d5bdacdab141cdea4817 Related: fdo#65090 DOCX import: handle w:hMerge cell property The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6eb02ac8a77f9f89f256b190281029f6cbd60d95 fdo#65090 RTF filter: import RTF_CLMGF and RTF_CLMRG The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=709a197d930bf1f585834a8573f952e9030f3383&h=libreoffice-4-2 fdo#65090 RTF filter: import RTF_CLMGF and RTF_CLMRG It will be available in LibreOffice 4.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed on master and libreoffice-4-2, libreoffice-4-1 review: https://gerrit.libreoffice.org/7220
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8b8152b8fbfb39f44fe0441decd3a746684f4382&h=libreoffice-4-1 fdo#65090 RTF filter: import RTF_CLMGF and RTF_CLMRG It will be available in LibreOffice 4.1.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 73820 has been marked as a duplicate of this bug. ***
Migrating Whiteboard tags to Keywords: (filter:rtf) Replace rtf_filter -> filter:rtf. [NinjaEdit]