summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-08-29 17:15:33 +0100
committerNoel Power <noel.power@suse.com>2013-08-29 21:42:05 +0100
commitbcc51fb2ebdf77a1cc089857775fd742085b45b6 (patch)
treea828e81a8c283a99d991f695178c0db686b10f86 /sfx2/source/inc
parent9d7c5dcf448fed668cc772d3cffa31712b1834a3 (diff)
add support for in-place style preview
selecting a style in the styles dialog ( without double clicking ) will apply the style to the currently selected cell(s) You can with the keys navigate to other styles and they in turn will also be applied. Preview will end when you click back onto the document. *FIXME* - the styles dialog isn't really suitable for previewing, a new dialog ( possibly in the toolbar ) might be nicer ( see Excel ) *FIXME* - when there is a multiple selection the highlight colour (applied as a transparent overlay) is most annoying ( and is mixed with any background colour applied if part of a style ) see ( ScGridWindow::UpdateSelectionOverlay() ) However my puny attempts to make the selection use a transparent colour made all the borders of the selected cells dissappear. I guess maybe a box/border around each selected cell ( or group of cells ) would also work but I didn't try that Change-Id: I0950e79085ffb75f60ee961835665df0c230172f
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/templdgi.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index 1f4175015718..4a81df5ea04f 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -94,7 +94,7 @@ class SfxCommonTemplateDialog_Impl : public SfxListener
private:
class DeletionWatcher;
friend class DeletionWatcher;
-
+ bool mbIgnoreSelect;
class ISfxTemplateCommon_Impl : public ISfxTemplateCommon
{
private: