diff options
author | Niklas Nebel <nn@openoffice.org> | 2000-11-25 13:57:47 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2000-11-25 13:57:47 +0000 |
commit | 8260f4d9ca7b0d3fa8c42688bbed017194cdb06d (patch) | |
tree | faf6532509d387e8dfca21dcbcee8017f75c00a6 | |
parent | 6dbfaa6a156d91768221e0cff3e1a5278669f1aa (diff) |
#80753# InvalidateAttribs: graphic filter slots
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index 88e833fdb95c..82e6c1a8ffa0 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drawview.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: nn $ $Date: 2000-11-24 20:12:18 $ + * last change: $Author: nn $ $Date: 2000-11-25 14:57:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -270,6 +270,19 @@ void ScDrawView::InvalidateAttribs() rBindings.Invalidate( SID_ATTR_GRAF_CONTRAST ); rBindings.Invalidate( SID_ATTR_GRAF_GAMMA ); rBindings.Invalidate( SID_ATTR_GRAF_TRANSPARENCE ); + + rBindings.Invalidate( SID_GRFFILTER ); + rBindings.Invalidate( SID_GRFFILTER_INVERT ); + rBindings.Invalidate( SID_GRFFILTER_SMOOTH ); + rBindings.Invalidate( SID_GRFFILTER_SHARPEN ); + rBindings.Invalidate( SID_GRFFILTER_REMOVENOISE ); + rBindings.Invalidate( SID_GRFFILTER_SOBEL ); + rBindings.Invalidate( SID_GRFFILTER_MOSAIC ); + rBindings.Invalidate( SID_GRFFILTER_EMBOSS ); + rBindings.Invalidate( SID_GRFFILTER_POSTER ); + rBindings.Invalidate( SID_GRFFILTER_POPART ); + rBindings.Invalidate( SID_GRFFILTER_SEPIA ); + rBindings.Invalidate( SID_GRFFILTER_SOLARIZE ); } void ScDrawView::InvalidateDrawTextAttrs() @@ -277,18 +290,13 @@ void ScDrawView::InvalidateDrawTextAttrs() if (!pViewData) return; SfxBindings& rBindings = pViewData->GetBindings(); + // cjk/ctl font items have no configured slots, + // need no invalidate + rBindings.Invalidate( SID_ATTR_CHAR_FONT ); - rBindings.Invalidate( SID_ATTR_CHAR_CJK_FONT ); - rBindings.Invalidate( SID_ATTR_CHAR_CTL_FONT ); rBindings.Invalidate( SID_ATTR_CHAR_FONTHEIGHT ); - rBindings.Invalidate( SID_ATTR_CHAR_CJK_FONTHEIGHT ); - rBindings.Invalidate( SID_ATTR_CHAR_CTL_FONTHEIGHT ); rBindings.Invalidate( SID_ATTR_CHAR_WEIGHT ); - rBindings.Invalidate( SID_ATTR_CHAR_CJK_WEIGHT ); - rBindings.Invalidate( SID_ATTR_CHAR_CTL_WEIGHT ); rBindings.Invalidate( SID_ATTR_CHAR_POSTURE ); - rBindings.Invalidate( SID_ATTR_CHAR_CJK_POSTURE ); - rBindings.Invalidate( SID_ATTR_CHAR_CTL_POSTURE ); rBindings.Invalidate( SID_ATTR_CHAR_UNDERLINE ); rBindings.Invalidate( SID_ULINE_VAL_NONE ); rBindings.Invalidate( SID_ULINE_VAL_SINGLE ); |