Issue 119517 - [From Symphony]Text in a text box can not be displayed correctly
Summary: [From Symphony]Text in a text box can not be displayed correctly
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: open-import (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Normal (vote)
Target Milestone: 4.0.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-29 08:46 UTC by liuping
Modified: 2012-12-26 08:24 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample file (25.50 KB, application/vnd.ms-powerpoint)
2012-05-29 08:46 UTC, liuping
no flags Details
capture.png (43.37 KB, image/pjpeg)
2012-05-29 08:47 UTC, liuping
no flags Details
Patch for this issue (630 bytes, patch)
2012-07-13 07:18 UTC, Jianyuan Li
lijianyuan1983: review?
Details | Diff
UT file for this issue (13.50 KB, application/vnd.ms-powerpoint)
2012-07-13 07:18 UTC, Jianyuan Li
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description liuping 2012-05-29 08:46:32 UTC
Created attachment 77723 [details]
sample file

Build: rev 1327774

Steps:
1. Open the sample file in AOO and in MS
2. Check Text in a text box in the table cell , 

Defect:
they're different between  in AOO and in MS

pls refer the capture.png
Comment 1 liuping 2012-05-29 08:47:17 UTC
Created attachment 77724 [details]
capture.png
Comment 2 Jianyuan Li 2012-07-11 08:03:10 UTC
I am investigating this issue
Comment 3 Jianyuan Li 2012-07-13 02:37:50 UTC
Background: In text box, text anchor points is decided by vertical and horizontal alignment. They are saved in different places. One is nTextFlags and the other is DFF_Prop_anchorText.
Root cause:
When import, horizontal alignment left and right is not considered. 
Resolution:
Handle left and right horizontal alignment.
Comment 4 Jianyuan Li 2012-07-13 07:18:13 UTC
Created attachment 78638 [details]
Patch for this issue
Comment 5 Jianyuan Li 2012-07-13 07:18:32 UTC
Created attachment 78639 [details]
UT file for this issue
Comment 6 Du Jing 2012-07-17 06:16:49 UTC
confirmed,change its status
Comment 7 Du Jing 2012-07-17 06:17:35 UTC
confirmed,change its status
Comment 8 Lei Debin 2012-07-20 02:03:24 UTC
"leidb" committed SVN revision 1363619 into trunk:
#119517# fix import issue for left and right horizontal alignment in text box...
Comment 9 liuping 2012-08-20 06:26:23 UTC
Verified pass on Windows7-64bit, Redhat 32bit,ubutu 10.04 Mac10.7 with AOO trunk r1374181