Issue 121178

Summary: [From Symphoy]Chart name in Excel is different with the name in AOO
Product: Calc Reporter: Clarence GUO <clarence.guo.bj>
Component: uiAssignee: AOO issues mailing list <issues>
Status: REOPENED --- QA Contact:
Severity: Normal    
Priority: P3 CC: arielch, leiw, louqingle
Version: 3.4.1   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121841, 121365, 121373    
Attachments:
Description Flags
Sample
none
patch
none
new patch clarence.guo.bj: review?

Description Clarence GUO 2012-10-08 03:31:56 UTC
Created attachment 79743 [details]
Sample

1. Open this excel file in Excel, click the button on the sheet1. A message box will be prompt, it show "SampleChart", it's the name of the chart.
2. Open it in Symphony, then click the button again.

Issue:
The message box will be prompt too, but the name is "Object 1", it's not "SampleChart".
Comment 1 Clarence GUO 2012-10-09 08:15:51 UTC
Created attachment 79750 [details]
patch

Root Cause:
VBA code will call the getName method of a interface. But in this method, the persist name was returned.

Solution:
Add a new interface which support displaying name. Then VAB will get the displaying name from the new interface.
Comment 2 Clarence GUO 2012-10-10 08:20:34 UTC
Comment on attachment 79750 [details]
patch

Delete the patch
Comment 3 Clarence GUO 2012-10-10 08:21:46 UTC
Created attachment 79754 [details]
new patch

New Patch
Comment 4 SVN Robot 2012-10-11 03:39:56 UTC
"leiw" committed SVN revision 1396896 into trunk:
#i121178 Chart name in Excel is different with the name in AOO \n\n
Comment 5 Wang Lei 2012-10-11 03:40:56 UTC
The patch looks good, Submit it in revision 1396896
Comment 6 louqle 2012-11-22 00:49:20 UTC
verified in build 1409708 on Win7, suse 11 sp1 and Mac 10.7, pass
Comment 7 Ariel Constenla-Haile 2013-03-02 12:03:37 UTC
Reopening

The bug should be fixed without adding a new interface extending an already existing one, see bug 121841 

Use a property instead of a new interface.