Issue 91477 - Include setItemImage in com.sun.star.awt.XPopupMenu
Summary: Include setItemImage in com.sun.star.awt.XPopupMenu
Status: CLOSED DUPLICATE of issue 96390
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: carsten.driesner
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 19:21 UTC by ms7777
Modified: 2013-02-24 21:07 UTC (History)
3 users (show)

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


Attachments
This is new interface implementation (11.33 KB, text/plain)
2008-08-14 02:56 UTC, zhoubo.shi
no flags Details
This is XPopupMenuImageSupplier interface definition (6.72 KB, text/plain)
2008-08-14 03:00 UTC, zhoubo.shi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ms7777 2008-07-08 19:21:37 UTC
XPopupMenu does not export the setItemImage function, which makes it impossible 
for programmers to use popup menus with icons.
OO internally, this function is used e.g. in the UI File/New menu (see 
http://framework.openoffice.org/source/browse/framework/framework/source/uieleme
nt/newmenucontroller.cxx?rev=1.11.30.1&view=markup)

See also http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=22830 by 
Carsten Driesner
Comment 1 carsten.driesner 2008-07-09 07:41:36 UTC
cd: Accepted. Set target to OOo 3.1. To provide extension and 3rd party
developers all the available features of the underlying UI library this is a
necessary enhancement.
Comment 2 zhoubo.shi 2008-08-14 02:56:21 UTC
Created attachment 55759 [details]
This is new interface implementation
Comment 3 zhoubo.shi 2008-08-14 03:00:11 UTC
Created attachment 55760 [details]
This is XPopupMenuImageSupplier interface definition
Comment 4 carsten.driesner 2008-08-15 12:00:17 UTC
cd: Big thanks for your work, Shizhoubo. Set issue to patch.
Comment 5 Ariel Constenla-Haile 2008-08-26 19:25:58 UTC
Added myself to CC
Comment 6 carsten.driesner 2008-11-25 09:04:34 UTC
cd: I will close this issue as 96390 includes this requirement with many more
functions. This issue will be solved when 96390 will be integrated.

*** This issue has been marked as a duplicate of 96390 ***
Comment 7 carsten.driesner 2008-12-01 08:50:15 UTC
 cd: Closed. A more comprehensive patch does fix this enhancement, too.