Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


I am working on fdo45671 which concerns the use of 'split buttons' for font/background/border 
colours, split button meaning that you can either choose from the colour palette or that you can 
use the used color.
Presently, the last used colour is stored within the control (mLastColor) and in the shell (e.g. 
ScFormatShell, SwTextShell) where the execute function is.
I would like to obtain the last used colour from the control when the execute function is called. 
When a user wants to use the last used colour, the execute funtion is called with the SlotId, but 
without other arguments.
Does anyone know if and how the control can be addressed from the execute function (with the SlotId 
as key)? I can then add a simple GetLastColor() method to the control and remove all redundant 
lastusedColor stuff within the shell.

Thanks for any help :)

Winfried


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.