summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/outlnvsh.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-17 12:50:03 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-17 12:50:03 +0000
commit1cb5edf0d211da302a88323eda1db836c13e87b9 (patch)
tree9cc1e4a544ee3dd4cd5edbbf31e85cded862eaef /sd/source/ui/view/outlnvsh.cxx
parent1d3feb6ee4706e1102767b89d3a07ec88936f4e1 (diff)
INTEGRATION: CWS os19 (1.46.112); FILE MERGED
2004/09/12 15:37:59 os 1.46.112.4: RESYNC: (1.54-1.55); FILE MERGED 2004/06/14 05:30:34 os 1.46.112.3: RESYNC: (1.52-1.54); FILE MERGED 2004/04/29 19:25:52 os 1.46.112.2: RESYNC: (1.46-1.52); FILE MERGED 2003/11/10 10:51:52 af 1.46.112.1: #i22089# Added support for the new spell check dialog.
Diffstat (limited to 'sd/source/ui/view/outlnvsh.cxx')
-rw-r--r--sd/source/ui/view/outlnvsh.cxx24
1 files changed, 22 insertions, 2 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index fcf5ee8e1792..12ba2f3b8239 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outlnvsh.cxx,v $
*
- * $Revision: 1.55 $
+ * $Revision: 1.56 $
*
- * last change: $Author: rt $ $Date: 2004-07-13 15:00:24 $
+ * last change: $Author: rt $ $Date: 2004-09-17 13:50:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -197,6 +197,8 @@
#include "fuslshow.hxx"
#endif
#include "SdUnoOutlineView.hxx"
+#include "SpellDialogChildWindow.hxx"
+
#ifndef SD_OBJECT_BAR_MANAGER_HXX
#include "ObjectBarManager.hxx"
#endif
@@ -247,6 +249,7 @@ SFX_IMPL_INTERFACE(OutlineViewShell, SfxShell, SdResId(STR_OUTLINEVIEWSHELL))
SFX_CHILDWINDOW_REGISTRATION( SvxHyperlinkDlgWrapper::GetChildWindowId() );
SFX_CHILDWINDOW_REGISTRATION( PreviewChildWindow::GetChildWindowId() );
SFX_CHILDWINDOW_REGISTRATION( SvxHlinkDlgWrapper::GetChildWindowId() );
+ SFX_CHILDWINDOW_REGISTRATION( ::sd::SpellDialogChildWindow::GetChildWindowId() );
SFX_CHILDWINDOW_REGISTRATION( SID_SEARCH_DLG );
}
@@ -1458,6 +1461,23 @@ void OutlineViewShell::Execute(SfxRequest& rReq)
bForwardCall = false;
break;
+ case SID_SPELL_DIALOG:
+ {
+ SfxViewFrame* pViewFrame = GetViewFrame();
+ if (rReq.GetArgs() != NULL)
+ pViewFrame->SetChildWindow (SID_SPELL_DIALOG,
+ ((const SfxBoolItem&) (rReq.GetArgs()->
+ Get(SID_SPELL_DIALOG))).GetValue());
+ else
+ pViewFrame->ToggleChildWindow(SID_SPELL_DIALOG);
+
+ pViewFrame->GetBindings().Invalidate(SID_SPELL_DIALOG);
+ rReq.Done ();
+
+ bForwardCall = false;
+ }
+ break;
+
default:
OSL_TRACE ("OutlineViewShell::Execute(): can not handle slot %d", rReq.GetSlot());
break;