diff options
author | Noel Power <noel.power@suse.com> | 2013-08-29 17:15:33 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-08-29 21:42:05 +0100 |
commit | bcc51fb2ebdf77a1cc089857775fd742085b45b6 (patch) | |
tree | a828e81a8c283a99d991f695178c0db686b10f86 /include/sfx2/sfxsids.hrc | |
parent | 9d7c5dcf448fed668cc772d3cffa31712b1834a3 (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 'include/sfx2/sfxsids.hrc')
-rw-r--r-- | include/sfx2/sfxsids.hrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc index f17124ae195a..f3414d9be5a9 100644 --- a/include/sfx2/sfxsids.hrc +++ b/include/sfx2/sfxsids.hrc @@ -360,6 +360,8 @@ #define SID_STYLE_UPDATE_BY_EXAMPLE (SID_SFX_START + 556) #define SID_STYLE_DRAGHIERARCHIE (SID_SFX_START + 565) #define SID_STYLE_MASK (SID_SFX_START + 562) +#define SID_STYLE_PREVIEW (SID_SFX_START + 567) +#define SID_STYLE_END_PREVIEW (SID_SFX_START + 568) #define SID_STYLE_HIDE (SID_SFX_START + 1603) #define SID_STYLE_SHOW (SID_SFX_START + 1604) #define SID_STYLE_UPD_BY_EX_NAME (SID_SFX_START + 1585) |