Bug 103573

Summary: FILEOPEN: DOCX: Text boxes with relative position to left or right margin aligned to the center of the page
Product: LibreOffice Reporter: Tamás Zolnai <zolnaitamas2000>
Component: WriterAssignee: Tamás Zolnai <zolnaitamas2000>
Status: RESOLVED FIXED    
Severity: normal CC: cno
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=103611
Whiteboard: target:5.3.0 target:5.2.4
Crash report or crash signature: Regression By:
Attachments: Test document with relative positions to the margins.
Picture shows how it looks like in MS Word

Description Tamás Zolnai 2016-10-29 12:27:07 UTC
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
Comment 1 Tamás Zolnai 2016-10-29 12:27:42 UTC
Created attachment 128341 [details]
Test document with relative positions to the margins.
Comment 2 Tamás Zolnai 2016-10-29 12:28:19 UTC
Created attachment 128342 [details]
Picture shows how it looks like in MS Word
Comment 3 Cor Nouws 2016-10-29 12:52:11 UTC
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