Created attachment 120973 [details] Example of image placed using Word's relative to "Top Margin" The DOCX importer incorrectly maps Word's "Top Margin" to "Margin". The MS-DOC importer correctly maps it to "Entire Page". This is exacerbated by Bug 96218 shifting it further down.
Created attachment 120974 [details] Same file saved as .DOC, correctly imported. Note how the format image->type->vertical position settings differ from the .DOCX version.
Confirmed. OK in 4.3. Win 7 Pro 64-bit, Version: 5.0.3.2 (x64) Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75 Locale: fi-FI (fi_FI) Version: 5.2.0.0.alpha0+ Build ID: 81fa5340191baf8687f9c82f1f414f5afc86b529 Threads 4; Ver: Windows 6.1; Render: default; TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-12-03_21:19:19 Locale: fi-FI (fi_FI) 4.3.0.1
bibisect-win32-5.0, oldest version contains bug too. git checkout oldest: Version: 4.5.0.0.alpha0+ Build ID: 57d6b92b69a31260dea0d84fcd1fc5866ada7adb
A pdf of what it should look like would help. I'm seeing the doc import the image on page 2 to the top (above the margin)...is that "right"? If someone provides a pdf of what it should look like (from Word), I can bibisect it.
This seems to have begun at the below commit. Adding Cc: to Luboš Luňák ; Could you possibly take a look at this one? Thanks cf196516a0f26272ee89c78c70881fbc054fa6fb is the first bad commit commit cf196516a0f26272ee89c78c70881fbc054fa6fb Author: Matthew Francis <mjay.francis@gmail.com> Date: Sun Mar 15 02:57:35 2015 +0800 source-hash-3891ba42a886fa85eb43da24d1badf44e765d54c commit 3891ba42a886fa85eb43da24d1badf44e765d54c Author: Luboš Luňák <l.lunak@collabora.com> AuthorDate: Sun Sep 21 17:52:58 2014 +0200 Commit: Luboš Luňák <l.lunak@collabora.com> CommitDate: Sun Sep 21 17:54:41 2014 +0200 handle docx's w:anchor layoutInCell attribute (bnc#891663) Change-Id: I8268567b84aa0f6e42624bfd0f79c8c49c153edd
Created attachment 121255 [details] printscreens
This can be closed as duplicated of bug 96218 as the commit that introduced them is the same. *** This bug has been marked as a duplicate of bug 96218 ***
I guess my description and title were not clear enough. This is NOT a regression. The DOCX importer incorrectly maps Word's "Top Margin" to "Margin". The MS-DOC importer correctly maps it to "Entire Page". This is not about the regression, bug 96218, that's a separate issue which is why I filed a separate report.
Created attachment 129836 [details] Screenshot showing the issue Hopefully this picture will clear up the confusion.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still reproducible with Version: 6.1.0.0.alpha0+ (x64) Build ID: bf8e8cf11bc0d60ab80f5b3420dc424aec2fa626 The DOCX importer is still incorrectly mapping the positing to "Margin" instead of "Entire Page".
Hi, this issue is fixed in current master, see https://bugs.documentfoundation.org/show_bug.cgi?id=113946 Regards, Patrick
*** This bug has been marked as a duplicate of bug 113946 ***