Created attachment 109588 [details] Original MS Word 2010 document with test graphics.docx Importing attached .docx leads to distorted and unusable result in LibreOffice Writer. The original document contains a table with two columns and two rows. Each of the two cells in the second column contain a graphic and related drawings (see attached PDF how it looks in MS Word 2010). After import in Writer, the original structure is broken and everything is overlapping. See attached PDF how it looks in LibreOffice 4.4.nightly (same in 4.3.x).
Created attachment 109589 [details] This is how the original file looks in MS Word 2010.pdf
Created attachment 109590 [details] This is how the file looks after importing it to Writer.pdf
Hi Gerry, I get a good result if I select the table, right click and in contextual menu select Row, Optimal Height. Can you try it? I used LO 4.4.0.0.alpha1+ Build ID: a8c24b25fd9fb21097a08a22797bf61b59099ea1 TinderBox: Win-x86@39, Branch:master, Time: 2014-10-21_06:33:33 & Windows 7 Home Premium Regards, Jacques
@Jacques: Thanks, I tried it and it fixes the lost formatting on import. Unfortunately not the red lines that I drew into the diagrams. Hence, I assume that the import from .docx fails to: * import the row height settings from .docx * put drawings at the right place in the document
Quite clear, Gerrry, I verified that red lines position and orientation can be kept if you group them before import. This can be useful before the fix. I set Status to NEW. Have a nice day, Jacques
The rendering of this looked right until the below commit. Adding Cc: to vmiklos@collabora.co.uk; Could you possibly take a look at this one? Thanks commit 0208ead70a9412ccd554fcef3e9308f8ca17037b Author: Miklos Vajna <vmiklos@suse.cz> Date: Fri Feb 22 17:08:39 2013 +0100 DOCX import: improve btLr table cell support The problem was that in case the contents didn't fit into a single line, multiple lines were created, which is not what btLr wants. Set the size type to fixed in this case. Change-Id: Ibab1313f95dc16dd0366d21a00109a6f38fa3526
I'll take care of this.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=233a634a112e6dae07dca5fb1296764cb0001503 tdf#86374 DOCX import: fix btLr text table direction without <w:cantSplit/> It will be available in 5.1.0. 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-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2bb00eb772c419ac2144b8cb55bfee765a82252d&h=libreoffice-5-0 tdf#86374 DOCX import: fix btLr text table direction without <w:cantSplit/> It will be available in 5.0.1. 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-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=41086e24ecf5a43646aae0c5d5a66b3e3f483195&h=libreoffice-4-4 tdf#86374 DOCX import: fix btLr text table direction without <w:cantSplit/> It will be available in 4.4.6. 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.
Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit]
verified Version: 5.5.0.0.alpha0+ Build ID: 066665644b398a882e6cded98af5bb060af41d76 TinderBox: Android-ARM@24-Bytemark-Hosting, Branch: Master, Time: 2017-06-01 00:30:43