Created attachment 97802 [details]
microsoft logo placement in LibO 4.2
I download the .docx file found at < http://download.microsoft.com/documents/rus/microsoft4you/How_to_license_the_operating_system_Windows_8_new.docx > and when i open it in 3.6 - 4.2 the purple microsoft background image is not place correctly in relationship to the output of word 2013 (most likely the version of word used to create the file), but is placed correctly according to word 2010.
Created attachment 97803 [details]
microsoft logo in word 2010
Created attachment 97804 [details]
microsoft logo in word 2013
Created attachment 97937 [details]
Side by side LibO 4.3 and MS Office 2010
Hi Jay, can confirm this with Version: 126.96.36.199.alpha1+
Build ID: 4916dd570fb7bb5447f1d63fba46ac0b3a10dd14
TinderBox: Win-x86@47-TDF, Branch:MASTER, Time: 2014-04-20_03:53:39
The text you see in the image is vanished and there is a table instead....
The behaviour of 4.3 is a regression, but relates to bug 77848 which is the transparency of loaded tables being white rather than transparent.
So, it's not a regression.
I'm assuming the issue here is that its a update in the docx specification that office 2013 understands, but office 2010 does, and as a result it looks the same in LibO as office 2010, but not as in office 2013, which the file was created in.
Why was I assigned? Sorry for spam...
Created attachment 108845 [details]
Compare MS 2010 and LO 4.3.3 - just a column size.jpg
If we compare MS 2010 and LO 4.3.3, it's just a column size that differs.
This bug is about the location image on the page, which libreoffice isnt understanding likley understandy in the docx format.
Created attachment 112950 [details]
logo position - Image Layout Options for LO 4.4.0 MSO 2010 MSO 2013.pdf
OK, I see the problem.
Difference between MSO 2010 and 2013 is in Image Layout Position option "Layout in table cell" that exists in either, but this file has it turned on in MSO 2013.
If we open the file in MSO 2010 and turn that on manually, image is in the same position as MSO 2013.
I notice there might be another bug here: although columns are of the same width, text layout is not the same. The reason may be that in LO there is paragraph indent after text of 0,03 cm. If that's set to 0, text layout is the same. I don't know how to check it in MSO.
Migrating Whiteboard tags to Keywords: (filter:docx)
As Timur mentioned in comment 11, the issue boils down to the "Layout in table cell" position option being set in the docx and LO not being able to handle it.
Here is the relevant xml - <wp:anchor ... layoutInCell="1" ...>
@Regina: is there an equivalent odf attribute that the position of an object takes the table cell top left corner as the basis of its positioning rather than the page's top left corner?
@Justin, @Mike: would it be simple enough to take the cell's top corner value and add it to the image's top corner value to give it its correct top corner value based on the page's top corner?
Created attachment 136558 [details]
trimmed samples from word 2010, 2013 and strict xml