diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-03-12 10:48:39 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-03-12 10:48:39 +0000 |
commit | 6f5028d8fb450915a6c2e2b31e0c391d2e455fa0 (patch) | |
tree | 4764cdea6f3a62578a40c257f1d2461d92a7022a /sd/source/ui/toolpanel/TaskPaneViewShell.cxx | |
parent | 7a09801d172d8e9ae19ee34e9d8a6430730059b4 (diff) |
INTEGRATION: CWS impresstables2 (1.17.6); FILE MERGED
2008/03/03 16:50:02 cl 1.17.6.2: #i68103# fixed help id for table design panel
2007/10/11 15:45:10 cl 1.17.6.1: #i68103# initial table style implemenation
Diffstat (limited to 'sd/source/ui/toolpanel/TaskPaneViewShell.cxx')
-rw-r--r-- | sd/source/ui/toolpanel/TaskPaneViewShell.cxx | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sd/source/ui/toolpanel/TaskPaneViewShell.cxx b/sd/source/ui/toolpanel/TaskPaneViewShell.cxx index 6cda2af0b8f2..0691408b2638 100644 --- a/sd/source/ui/toolpanel/TaskPaneViewShell.cxx +++ b/sd/source/ui/toolpanel/TaskPaneViewShell.cxx @@ -4,9 +4,9 @@ * * $RCSfile: TaskPaneViewShell.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: rt $ $Date: 2007-04-03 16:21:15 $ + * last change: $Author: rt $ $Date: 2008-03-12 11:48:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -51,6 +51,7 @@ #include "taskpane/TaskPaneControlFactory.hxx" #include "controls/MasterPagesPanel.hxx" #include "controls/MasterPagesSelector.hxx" +#include "controls/TableDesignPanel.hxx" #include "controls/CustomAnimationPanel.hxx" #include "controls/SlideTransitionPanel.hxx" #include "controls/AnimationSchemesPanel.hxx" @@ -278,6 +279,22 @@ void TaskPaneViewShell::Implementation::Setup ( nIdOfControlToExpand = nId; { + DummyControl aControl (pToolPanel, SdResId(DLG_TABLEDESIGNPANE)); + + // TableDesignPanel + nId = pToolPanel->AddControl ( + controls::TableDesignPanel::CreateControlFactory(rBase), + aControl.GetText(), + HID_SD_TABLE_DESIGN, + ResourceActivationClickHandler( + pFrameworkHelper, + pFrameworkHelper->CreateResourceId( + FrameworkHelper::msTableDesignPanelURL, xTaskPaneId), + pToolPanel->GetControlContainer())); + AddPanel (nId, PID_TABLE_DESIGN); + } + + { DummyControl aControl (pToolPanel, SdResId(RID_CUSTOMANIMATION_START+0)); // CustomAnimationPanel |