Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]Position of drawing obj incorrect when opening .doc in aoo 3.4 if the text direction of the whole document is vertical | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | louqle <louqingle> | ||||||||||
Component: | open-import | Assignee: | AOO issues mailing list <issues> | ||||||||||
Status: | CLOSED FIXED | QA Contact: | |||||||||||
Severity: | Normal | ||||||||||||
Priority: | P3 | CC: | bjdujing, debin.lei, liushenf, zjchencdl | ||||||||||
Version: | 3.4.0 | ||||||||||||
Target Milestone: | 4.0.0 | ||||||||||||
Hardware: | PC | ||||||||||||
OS: | All | ||||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||||
Developer Difficulty: | --- | ||||||||||||
Attachments: |
|
Created attachment 77758 [details]
snapshot
The problem is that shape position is not calculated correctly if document body direction is vertical. The shape horiziontal and vertical value could be replace by another in this situation. Noticed that the whole page layout is still different from MS WORD after modify the shape position. It is mainly cause by the "Optimal" table wrapping , in MS Word, we can see the table wrapping is around, when loading in AOO , it converts to Optimal, but the "Parallel" should be the correct wrapping format. I propose to fixed table wrapping problem in other issue. maybe bug 119466. Created attachment 79204 [details] proposed patch for Bug 119549 Created attachment 79205 [details]
test case for i119549
post my test case for shape position in vertical page layout
Comment on attachment 79205 [details]
test case for i119549
removing review request for attached sample document
I have reviewed the fix. It is reasonable. Zuo Jun, thx for your contribution. "leidb" committed SVN revision 1382645 into trunk: #119549# fix Position of drawing obj incorrect * when opening .doc in AOO, i... the fix had been patched. verified on the build AOO3.5_r1387482 Update Target Milestone to AOO 3.5.0. |
Created attachment 77757 [details] autoshape open the TextDirction_Autoshape0010.doc in aoo 3.4, the position of the drawing obj is different from that in MS word.