https://issues.apache.org/ooo/show_bug.cgi?id=45563

--- Comment #6 from Ariel Constenla-Haile <[email protected]> ---
(In reply to comment #5)
> Created attachment 78216 [details]
> Make auto sum can be executed by dispatch framework
> 
> This patch move and migrate auto sum function from ScInputWindow to
> ScTabViewShell class. 
> "Sum" entry with sum icon is added to "Edit" category of the customize
> dialog. 
> Help entry for .uno:AutoSum command is not included in this patch. 
> 
> Alt + "=" is not assign-able now, it is required to be improved.

For the images, I guess you can reuse
default_images/sc/res/imglst/apptbx/[sc|sch|lc|lch]26048.png
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/default_images/sc/res/imglst/apptbx/lc26048.png?view=co&content-type=text%2Fplain

Simply *copy* them:

default_images/sc/res/imglst/apptbx/sc26048.png   -> 
default_images/res/commandimagelist/sc_autosum.png
default_images/sc/res/imglst/apptbx/lc26048.png   -> 
default_images/res/commandimagelist/lc_autosum.png
default_images/sc/res/imglst/apptbx/sch26048.png  -> 
default_images/res/commandimagelist/sch_autosum.png
default_images/sc/res/imglst/apptbx/lch26048.png  -> 
default_images/res/commandimagelist/lch_autosum.png

Or even better, *move* them (this saves having duplicated icons); this will be
more work: you will have to modify the source code to use the UNO command to
retrieve the image, instead of the slot ID
Some hints (didn't try them, so they might not work):
in sc/source/ui/app/inputwin.cxx, instead of the SfxImageManager, try 
Image SAL_CALL GetImage( const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XFrame >& rFrame, const ::rtl::OUString& aURL,
sal_Bool bBig, sal_Bool bHiContrast ) 
in sfx2/source/appl/imagemgr.cxx

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to