Issue 121178 - [From Symphoy]Chart name in Excel is different with the name in AOO
Summary: [From Symphoy]Chart name in Excel is different with the name in AOO
Status: REOPENED
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: 3.4.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.0.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 121841 121365 121373
  Show dependency tree
 
Reported: 2012-10-08 03:31 UTC by Clarence GUO
Modified: 2013-03-02 12:03 UTC (History)
3 users (show)

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


Attachments
Sample (26.50 KB, application/vnd.ms-excel)
2012-10-08 03:31 UTC, Clarence GUO
no flags Details
patch (7.49 KB, patch)
2012-10-09 08:15 UTC, Clarence GUO
no flags Details | Diff
new patch (7.95 KB, patch)
2012-10-10 08:21 UTC, Clarence GUO
clarence.guo.bj: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
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.