incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 45563] Request keyboard shortcut for AutoSum
Date Sun, 10 Jun 2012 15:52:34 GMT

--- Comment #6 from Ariel Constenla-Haile <> ---
(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

Simply *copy* them:

default_images/sc/res/imglst/apptbx/sc26048.png   -> 
default_images/sc/res/imglst/apptbx/lc26048.png   -> 
default_images/sc/res/imglst/apptbx/sch26048.png  -> 
default_images/sc/res/imglst/apptbx/lch26048.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.

View raw message