2000-09-18 11:07:07 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 02:09:04 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-11 02:09:04 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-11 02:09:04 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-11 02:09:04 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-11 02:09:04 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-11 02:09:04 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2006-09-16 12:31:13 -05:00
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_sd.hxx"
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
|
2010-01-08 11:32:51 -06:00
|
|
|
#include <editeng/editdata.hxx>
|
2000-09-18 11:07:07 -05:00
|
|
|
#include "eetext.hxx"
|
|
|
|
#include <svx/svxids.hrc>
|
2010-01-08 11:32:51 -06:00
|
|
|
#include <editeng/eeitem.hxx>
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2010-01-08 11:32:51 -06:00
|
|
|
#include <editeng/flditem.hxx>
|
2000-09-18 11:07:07 -05:00
|
|
|
#include <svx/imapdlg.hxx>
|
|
|
|
#include <svx/bmpmask.hxx>
|
|
|
|
#include <svx/galbrws.hxx>
|
|
|
|
#include <svx/srchdlg.hxx>
|
|
|
|
#include <svx/fontwork.hxx>
|
|
|
|
#include <svx/colrctrl.hxx>
|
2001-05-02 06:29:02 -05:00
|
|
|
#include <svx/verttexttbxctrl.hxx>
|
2004-02-03 13:11:53 -06:00
|
|
|
#include <svx/hyprlink.hxx>
|
2000-09-18 11:07:07 -05:00
|
|
|
#include <svx/hyperdlg.hxx>
|
|
|
|
#include <svx/fillctrl.hxx>
|
|
|
|
#include <svx/linectrl.hxx>
|
|
|
|
#include <svx/tbcontrl.hxx>
|
|
|
|
#include <svx/zoomctrl.hxx>
|
2008-10-29 06:47:54 -05:00
|
|
|
#include <svx/zoomsliderctrl.hxx>
|
2000-09-18 11:07:07 -05:00
|
|
|
#include <svx/pszctrl.hxx>
|
|
|
|
#include <svx/modctrl.hxx>
|
|
|
|
#include <svx/fntctl.hxx>
|
|
|
|
#include <svx/fntszctl.hxx>
|
|
|
|
#include <svx/f3dchild.hxx>
|
|
|
|
#include <svx/grafctrl.hxx>
|
2004-10-12 08:05:21 -05:00
|
|
|
#include <svx/tbxcustomshapes.hxx>
|
2001-04-27 05:34:50 -05:00
|
|
|
#include <svx/lboxctrl.hxx>
|
2001-04-24 04:15:59 -05:00
|
|
|
#include <svx/clipboardctl.hxx>
|
2010-03-21 14:01:33 -05:00
|
|
|
#include <svx/extrusioncolorcontrol.hxx>
|
|
|
|
#include <svx/fontworkgallery.hxx>
|
2004-10-12 04:27:35 -05:00
|
|
|
#include <svx/tbxcolor.hxx>
|
2004-08-12 03:14:58 -05:00
|
|
|
#include <avmedia/mediaplayer.hxx>
|
|
|
|
#include <avmedia/mediatoolbox.hxx>
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2008-03-12 05:34:48 -05:00
|
|
|
#include <svx/layctrl.hxx>
|
|
|
|
#include <svx/subtoolboxcontrol.hxx>
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
#include "sddll.hxx"
|
|
|
|
#define _SD_DIACTRL_CXX
|
|
|
|
#include "diactrl.hxx"
|
|
|
|
#include "gluectrl.hxx"
|
|
|
|
#include "tbx_ww.hxx"
|
2004-01-20 03:36:17 -06:00
|
|
|
#include "AnimationChildWindow.hxx"
|
2000-09-18 11:07:07 -05:00
|
|
|
#include "animobjs.hxx"
|
2004-01-20 03:36:17 -06:00
|
|
|
#include "NavigatorChildWindow.hxx"
|
2004-07-13 07:47:40 -05:00
|
|
|
#include "LayerDialogChildWindow.hxx"
|
2000-09-18 11:07:07 -05:00
|
|
|
#include "app.hrc"
|
2004-09-17 07:47:32 -05:00
|
|
|
#include "SpellDialogChildWindow.hxx"
|
2004-01-20 03:36:17 -06:00
|
|
|
#include "DrawViewShell.hxx"
|
|
|
|
#include "GraphicViewShell.hxx"
|
2004-08-31 07:08:44 -05:00
|
|
|
#include <svx/xmlsecctrl.hxx>
|
2004-08-02 04:08:23 -05:00
|
|
|
#include <svx/formatpaintbrushctrl.hxx>
|
2004-07-13 07:47:40 -05:00
|
|
|
#include "PaneChildWindows.hxx"
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2008-04-02 03:46:07 -05:00
|
|
|
#include "tmplctrl.hxx"
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
/*************************************************************************
|
|
|
|
|*
|
|
|
|
|* Register all Controllers
|
|
|
|
|*
|
|
|
|
\************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
void SdDLL::RegisterControllers()
|
|
|
|
{
|
|
|
|
SfxModule* pMod = SD_MOD();
|
|
|
|
|
|
|
|
// ToolBoxControls registrieren
|
|
|
|
SdTbxControl::RegisterControl( SID_OBJECT_ALIGN, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_ZOOM_TOOLBOX, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_OBJECT_CHOOSE_MODE, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_POSITION, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_TEXT, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_RECTANGLES, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_ELLIPSES, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_LINES, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_ARROWS, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_3D_OBJECTS, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_CONNECTORS, pMod );
|
|
|
|
SdTbxControl::RegisterControl( SID_DRAWTBX_INSERT, pMod );
|
|
|
|
|
2004-10-12 08:05:21 -05:00
|
|
|
SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_BASIC, pMod );
|
|
|
|
SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_SYMBOL, pMod );
|
|
|
|
SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_ARROW, pMod );
|
|
|
|
SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_FLOWCHART, pMod );
|
|
|
|
SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_CALLOUT, pMod );
|
|
|
|
SvxTbxCtlCustomShapes::RegisterControl( SID_DRAWTBX_CS_STAR, pMod );
|
2004-11-26 12:58:59 -06:00
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
SdTbxCtlDiaPages::RegisterControl( SID_PAGES_PER_ROW, pMod );
|
|
|
|
SdTbxCtlGlueEscDir::RegisterControl( SID_GLUE_ESCDIR, pMod );
|
|
|
|
|
2004-01-20 03:36:17 -06:00
|
|
|
::sd::AnimationChildWindow::RegisterChildWindow(0, pMod);
|
2006-12-12 09:54:05 -06:00
|
|
|
::sd::NavigatorChildWindow::RegisterChildWindowContext( (sal_uInt16) ::sd::DrawViewShell::GetInterfaceId(), pMod );
|
|
|
|
::sd::NavigatorChildWindow::RegisterChildWindowContext( (sal_uInt16) ::sd::GraphicViewShell::GetInterfaceId(), pMod );
|
2004-07-13 07:47:40 -05:00
|
|
|
::sd::LayerDialogChildWindow::RegisterChildWindow(0, pMod);
|
2010-01-13 12:12:02 -06:00
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
Svx3DChildWindow::RegisterChildWindow(0, pMod);
|
|
|
|
SvxFontWorkChildWindow::RegisterChildWindow(0, pMod);
|
|
|
|
SvxColorChildWindow::RegisterChildWindow(0, pMod, SFX_CHILDWIN_TASK);
|
|
|
|
SvxSearchDialogWrapper::RegisterChildWindow(0, pMod);
|
|
|
|
SvxBmpMaskChildWindow::RegisterChildWindow(0, pMod);
|
|
|
|
GalleryChildWindow::RegisterChildWindow(0, pMod);
|
|
|
|
SvxIMapDlgChildWindow::RegisterChildWindow(0, pMod);
|
2005-09-23 09:24:09 -05:00
|
|
|
SvxHyperlinkDlgWrapper::RegisterChildWindow(0, pMod, SFX_CHILDWIN_FORCEDOCK);
|
2000-09-18 11:07:07 -05:00
|
|
|
SvxHlinkDlgWrapper::RegisterChildWindow(0, pMod);
|
2004-09-17 07:47:32 -05:00
|
|
|
::sd::SpellDialogChildWindow::RegisterChildWindow(0, pMod);
|
2004-08-12 03:14:58 -05:00
|
|
|
::avmedia::MediaPlayer::RegisterChildWindow(0, pMod);
|
2007-04-03 09:38:57 -05:00
|
|
|
::sd::LeftPaneImpressChildWindow::RegisterChildWindow(0, pMod);
|
|
|
|
::sd::LeftPaneDrawChildWindow::RegisterChildWindow(0, pMod);
|
2004-07-13 07:47:40 -05:00
|
|
|
::sd::RightPaneChildWindow::RegisterChildWindow(0, pMod);
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
SvxFillToolBoxControl::RegisterControl(0, pMod);
|
|
|
|
SvxLineStyleToolBoxControl::RegisterControl(0, pMod);
|
|
|
|
SvxLineWidthToolBoxControl::RegisterControl(0, pMod);
|
|
|
|
SvxLineColorToolBoxControl::RegisterControl(0, pMod);
|
|
|
|
|
|
|
|
SvxLineEndToolBoxControl::RegisterControl( SID_ATTR_LINEEND_STYLE, pMod );
|
|
|
|
|
|
|
|
SvxStyleToolBoxControl::RegisterControl(0, pMod);
|
|
|
|
SvxFontNameToolBoxControl::RegisterControl(0, pMod);
|
2007-11-19 10:13:36 -06:00
|
|
|
// SvxFontHeightToolBoxControl::RegisterControl(0, pMod);
|
2000-09-18 11:07:07 -05:00
|
|
|
SvxFontColorToolBoxControl::RegisterControl(0, pMod);
|
|
|
|
|
2000-11-18 04:45:06 -06:00
|
|
|
SvxGrafFilterToolBoxControl::RegisterControl( SID_GRFFILTER, pMod );
|
|
|
|
SvxGrafModeToolBoxControl::RegisterControl( SID_ATTR_GRAF_MODE, pMod );
|
2000-09-18 11:07:07 -05:00
|
|
|
SvxGrafRedToolBoxControl::RegisterControl( SID_ATTR_GRAF_RED, pMod );
|
|
|
|
SvxGrafGreenToolBoxControl::RegisterControl( SID_ATTR_GRAF_GREEN, pMod );
|
|
|
|
SvxGrafBlueToolBoxControl::RegisterControl( SID_ATTR_GRAF_BLUE, pMod );
|
|
|
|
SvxGrafLuminanceToolBoxControl::RegisterControl( SID_ATTR_GRAF_LUMINANCE, pMod );
|
|
|
|
SvxGrafContrastToolBoxControl::RegisterControl( SID_ATTR_GRAF_CONTRAST, pMod );
|
|
|
|
SvxGrafGammaToolBoxControl::RegisterControl( SID_ATTR_GRAF_GAMMA, pMod );
|
|
|
|
SvxGrafTransparenceToolBoxControl::RegisterControl( SID_ATTR_GRAF_TRANSPARENCE, pMod );
|
2001-05-02 06:29:02 -05:00
|
|
|
SvxVertTextTbxCtrl::RegisterControl(SID_TEXTDIRECTION_TOP_TO_BOTTOM, pMod);
|
2002-07-23 05:01:01 -05:00
|
|
|
SvxVertTextTbxCtrl::RegisterControl(SID_TEXTDIRECTION_LEFT_TO_RIGHT, pMod);
|
2001-05-02 06:29:02 -05:00
|
|
|
SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_CAPTION_VERTICAL, pMod);
|
2004-04-02 06:22:24 -06:00
|
|
|
SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_FONTWORK_VERTICAL, pMod);
|
2001-05-02 06:29:02 -05:00
|
|
|
SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_TEXT_VERTICAL, pMod);
|
|
|
|
SvxVertTextTbxCtrl::RegisterControl(SID_TEXT_FITTOSIZE_VERTICAL, pMod);
|
2002-09-13 07:47:00 -05:00
|
|
|
SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_LEFT_TO_RIGHT, pMod);
|
|
|
|
SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_RIGHT_TO_LEFT, pMod);
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
// StatusBarControls registrieren
|
|
|
|
SvxZoomStatusBarControl::RegisterControl( SID_ATTR_ZOOM, pMod );
|
|
|
|
SvxPosSizeStatusBarControl::RegisterControl( SID_ATTR_SIZE, pMod );
|
|
|
|
SvxModifyControl::RegisterControl( SID_DOC_MODIFIED, pMod );
|
|
|
|
//SvxInsertStatusBarControl::RegisterControl(0, pModd);
|
2008-10-29 06:47:54 -05:00
|
|
|
SvxZoomSliderControl::RegisterControl( SID_ATTR_ZOOMSLIDER, pMod );
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
// MenuControls fuer PopupMenu
|
|
|
|
SvxFontMenuControl::RegisterControl( SID_ATTR_CHAR_FONT, pMod );
|
|
|
|
SvxFontSizeMenuControl::RegisterControl( SID_ATTR_CHAR_FONTHEIGHT, pMod );
|
|
|
|
|
|
|
|
SfxMenuControl::RegisterControl( SID_SET_SNAPITEM, pMod );
|
|
|
|
SfxMenuControl::RegisterControl( SID_DELETE_SNAPITEM, pMod );
|
|
|
|
SfxMenuControl::RegisterControl( SID_BEZIER_CLOSE, pMod );
|
|
|
|
|
2001-04-27 05:34:50 -05:00
|
|
|
// #UndoRedo#
|
2001-10-12 09:54:54 -05:00
|
|
|
SvxUndoRedoControl::RegisterControl( SID_UNDO , pMod );
|
|
|
|
SvxUndoRedoControl::RegisterControl( SID_REDO , pMod );
|
2001-04-27 05:34:50 -05:00
|
|
|
|
2004-08-02 04:08:23 -05:00
|
|
|
svx::FormatPaintBrushToolBoxControl::RegisterControl(SID_FORMATPAINTBRUSH, pMod );
|
|
|
|
|
2001-04-24 04:15:59 -05:00
|
|
|
SvxClipBoardControl::RegisterControl( SID_PASTE, pMod );
|
2004-04-02 06:22:24 -06:00
|
|
|
|
|
|
|
svx::ExtrusionColorControl::RegisterControl( SID_EXTRUSION_3D_COLOR, pMod );
|
2005-03-29 08:27:28 -06:00
|
|
|
svx::FontWorkShapeTypeControl::RegisterControl( SID_FONTWORK_SHAPE_TYPE, pMod );
|
2010-03-21 14:01:33 -05:00
|
|
|
|
2004-08-12 03:14:58 -05:00
|
|
|
::avmedia::MediaToolBoxControl::RegisterControl( SID_AVMEDIA_TOOLBOX, pMod );
|
2004-08-31 07:08:44 -05:00
|
|
|
XmlSecStatusBarControl::RegisterControl( SID_SIGNATURE, pMod );
|
2008-04-02 03:46:07 -05:00
|
|
|
SdTemplateControl::RegisterControl( SID_STATUS_LAYOUT, pMod );
|
2008-03-12 05:34:48 -05:00
|
|
|
SvxTableToolBoxControl::RegisterControl(SID_INSERT_TABLE, pMod );
|
|
|
|
SvxFrameLineStyleToolBoxControl::RegisterControl(SID_FRAME_LINESTYLE, pMod );
|
|
|
|
SvxFrameLineColorToolBoxControl::RegisterControl(SID_FRAME_LINECOLOR, pMod );
|
|
|
|
SvxFrameToolBoxControl::RegisterControl(SID_ATTR_BORDER, pMod );
|
|
|
|
SvxSubToolBoxControl::RegisterControl(SID_OPTIMIZE_TABLE, pMod);
|
2009-12-08 10:33:39 -06:00
|
|
|
|
2010-03-11 11:18:08 -06:00
|
|
|
// SdLayoutControl::RegisterControl( SID_ASSIGN_LAYOUT, pMod );
|
|
|
|
// SdLayoutControl::RegisterControl( SID_INSERTPAGE, pMod );
|
2001-04-24 04:15:59 -05:00
|
|
|
}
|