Apache OpenOffice (AOO) Bugzilla – Issue 91477
Include setItemImage in com.sun.star.awt.XPopupMenu
Last modified: 2013-02-24 21:07:35 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
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.
Created attachment 55759 [details] This is new interface implementation
Created attachment 55760 [details] This is XPopupMenuImageSupplier interface definition
cd: Big thanks for your work, Shizhoubo. Set issue to patch.
Added myself to CC
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 ***
cd: Closed. A more comprehensive patch does fix this enhancement, too.