Apache OpenOffice (AOO) Bugzilla – Issue 29117
Wrong vertical location of imported text boxes
Last modified: 2017-05-20 11:13:52 UTC
When importing the attached msword 2003 file, three text boxes which are in the middle and on the buttom of the page incurrectly move to the top of the page and overlapt each other. Word 2003 and OOo 680m36 on win2003
Created attachment 15220 [details] original msword file
Created attachment 15221 [details] screensahot: file in word. correct
Created attachment 15222 [details] screenshot: file in OOo, incurrect
adding dina as cc
DL->MRU: Could you please handle this?
MRU->OD: maybe this could be solved by CW objpos04?!?!? the posiotioning of the frames here looks quite weird. Though the vertical position is negative, the text boxes are all placed below the anchor when viewing with Word. I target this to OO 2.0 at first.
I've got a first look at the document and found out: (1) The document is in Right-To-Left layout. In Right-To-Left-Layout Microsoft Word still gives the positions of floating screen object (graphics, text boxes, etc) calculated from the left. The Writer gives its positions from the right. Thus the horizontal positions of the graphic and the text boxes doesn't correspond to the in Microsoft Word. I propose to perform a conversion in our Microsoft Word import filter for such positions in document in Right-To-Left layout. (2) The vertical positions of the text boxes is surprising. But, I figured out that the Microsoft Word text wrapping and the set wrapping style at the graphic causes my confusion. The Microsoft Word wrapping style of the graphic is 'Through', which means some kind of contour text wrapping. If you change the wrapping style to 'Square', the empty paragraph jumps to the bottom of the page without any movement of the text boxes. Now, the vertical negative positions of the text boxes become clear. But, what exactly happens isn't clear yet and have to be investigated. OD->MRU: The above mentioned 'defects' aren't solved by cws swobjpos04. I propose to submit two new feature/enhancement issues for each of the above mentioned points. Please decide together with MMAHER the target for (1). Target for (2) should be 'OOo later'. This issue should depend on these new issues.
MRU->OD: for problem (1) there already is issue 30149. Please use this issue tho handle problem (2). I've targeted this to "later" and added "vertical" to the summary of this issue here.
Please add keywords: ms_interoperability
MRU and I decided not to use this issue to solve the problem with the vertical position, because a more general analysis of Microsoft Word in this context is needed and afterwards a specification for the solution has to be written. Thus, I setup a more general enhancement issue #31928 Add dependencies
Hi, I can confirm the bug exists with oo.org 2.4.0 on Debian. Please update the bug version info. Also, please set priority to p3 and re-target. Thanks.
Reset assigne to the default "issues@openoffice.apache.org".