Description: When opening the attached DOCX file saved by MS Word, the imported text boxes have wrong position. The two text boxes should be positioned to the center of the right and the left margin area (see attached screenshot) and not to the center of the page. Steps to Reproduce: 1.Open attached DOCX file in Writer 2. 3. Actual Results: Both text boxes are positioned to the center of the page. Expected Results: One text box should be positioned to the right margin area, the other one should have a position inside the left margin area. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Created attachment 128341 [details] Test document with relative positions to the margins.
Created attachment 128342 [details] Picture shows how it looks like in MS Word
confirmed in Version: 5.3.0.0.alpha1+ Build ID: 9b6b1ab076c95bc05b1025d30c4ab0ceecbba083 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Locale: nl-NL (nl_NL.UTF-8); Calc: group in 3.3.0.4 both were left aligned
Fixed on master: https://cgit.freedesktop.org/libreoffice/core/commit/?id=24e522f723569b53d9a830166b3825292bcd7527
Also fixed on 5.2 branch: https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-5-2&id=18ef4766a97340fb9e0adc4ac7ee4feb90213a64