/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: sd_sddll2.cxx,v $
 *
 *  $Revision: 1.5 $
 *
 *  last change: $Author: rt $ $Date: 2006/10/27 18:14:34 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library 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 for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/

#pragma hdrstop


#define ITEMID_SIZE 0
#define ITEMID_LINE 0		  // kann spaeter raus!
#define ITEMID_BRUSH 0		  // kann spaeter raus!
#include "eetext.hxx"
#include <bf_svx/svxids.hrc>

#ifndef _EEITEM_HXX //autogen
#include <bf_svx/eeitem.hxx>
#endif

#ifndef _SVX_ITEMDATA_HXX
#include <bf_svx/itemdata.hxx>
#endif
#ifndef _TIME_HXX //autogen
#include <tools/time.hxx>
#endif
#ifndef _SFXPOOLITEM_HXX //autogen
#include <svtools/poolitem.hxx>
#endif
#ifndef _DATE_HXX //autogen
#include <tools/date.hxx>
#endif

#define ITEMID_FIELD    EE_FEATURE_FIELD
#ifndef _IMAPDLG_HXX_ //autogen
#include <bf_svx/imapdlg.hxx>
#endif
#ifndef _BMPMASK_HXX_ //autogen
#include <bf_svx/bmpmask.hxx>
#endif
#ifndef _SVX_GALBRWS_HXX_ //autogen
#include <bf_svx/galbrws.hxx>
#endif
#ifndef _SVX_SRCHDLG_HXX //autogen
#include <bf_svx/srchdlg.hxx>
#endif
#ifndef _SVX_FONTWORK_HXX //autogen
#include <bf_svx/fontwork.hxx>
#endif
#ifndef _SVX_COLRCTRL_HXX //autogen
#include <bf_svx/colrctrl.hxx>
#endif
#ifndef _SVX_VERT_TEXT_TBXCTRL_HXX
#include <bf_svx/verttexttbxctrl.hxx>
#endif
#ifndef _SVX_DLG_HYPERLINK_HXX //autogen
#include <bf_offmgr/hyprlink.hxx>
#endif
#ifndef _SVX_TAB_HYPERLINK_HXX
#include <bf_svx/hyperdlg.hxx>
#endif
#ifndef _FILLCTRL_HXX //autogen
#include <bf_svx/fillctrl.hxx>
#endif
#ifndef _SVX_LINECTRL_HXX //autogen
#include <bf_svx/linectrl.hxx>
#endif
#ifndef _SVX_TBCONTRL_HXX //autogen
#include <bf_svx/tbcontrl.hxx>
#endif
#ifndef _SVX_ZOOMCTRL_HXX //autogen
#include <bf_svx/zoomctrl.hxx>
#endif
#ifndef _SVX_PSZCTRL_HXX //autogen
#include <bf_svx/pszctrl.hxx>
#endif
#ifndef _SVX_MODCTRL_HXX //autogen
#include <bf_svx/modctrl.hxx>
#endif
#ifndef _SVX_F3DCHILD_HXX //autogen
#include <bf_svx/f3dchild.hxx>
#endif
#ifndef _SVX_GRAFCTRL_HXX
#include <bf_svx/grafctrl.hxx>
#endif

// #UndoRedo#
#ifndef _SVX_LBOXCTRL_HXX_
#include <bf_svx/lboxctrl.hxx>
#endif

#ifndef _SVX_CLIPBOARDCTL_HXX_
#include <bf_svx/clipboardctl.hxx>
#endif

#include "sddll.hxx"
#define _SD_DIACTRL_CXX
#include "diactrl.hxx"
#include "gluectrl.hxx"

#ifndef _SVTOOLS_IMGDEF_HXX
#include <svtools/imgdef.hxx>
#endif

#include "tbx_ww.hxx"
#include "animobjs.hxx"
#include "navichld.hxx"
#include "prevchld.hxx"
#include "efctchld.hxx"
#include "slidchld.hxx"
//#include "3dchld.hxx"
#include "app.hrc"
#include "grviewsh.hxx"

#ifndef _SFXMNUITEM_HXX
#include <bf_sfx2/mnuitem.hxx>
#endif

namespace binfilter {



/*************************************************************************
|*
|* Register all Controllers
|*
\************************************************************************/


/*N*/ void SdDLL::RegisterControllers()
/*N*/ {
/*N*/ 	SfxModule* pMod = SD_MOD();
/*N*/ 
/*N*/ 	// ToolBoxControls registrieren
/*N*/ 	SdTbxControl::RegisterControl( SID_OBJECT_ALIGN, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_ZOOM_TOOLBOX, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_OBJECT_CHOOSE_MODE, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_POSITION, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_TEXT, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_RECTANGLES, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_ELLIPSES, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_LINES, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_ARROWS, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_3D_OBJECTS, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_CONNECTORS, pMod );
/*N*/ 	SdTbxControl::RegisterControl( SID_DRAWTBX_INSERT, pMod );
/*N*/ 
/*N*/ 	SdTbxCtlDiaEffect::RegisterControl(0, pMod);
/*N*/ 	SdTbxCtlDiaSpeed::RegisterControl(0, pMod);
/*N*/ 	SdTbxCtlDiaAuto::RegisterControl(0, pMod);
/*N*/ 	SdTbxCtlDiaTime::RegisterControl(0, pMod);
/*N*/ 	SdTbxCtlDiaPages::RegisterControl( SID_PAGES_PER_ROW, pMod );
/*N*/ 	SdTbxCtlGlueEscDir::RegisterControl( SID_GLUE_ESCDIR, pMod );
/*N*/ 
/*N*/ 	SdAnimationChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	SdNavigatorChildWindow::RegisterChildWindowContext( SdDrawViewShell::_GetInterfaceIdImpl(), pMod );
/*N*/ 	SdNavigatorChildWindow::RegisterChildWindowContext( SdGraphicViewShell::_GetInterfaceIdImpl(), pMod );
/*N*/ 	SdPreviewChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	SdEffectChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	SdSlideChangeChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	//Sd3DChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	Svx3DChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	SvxFontWorkChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	SvxColorChildWindow::RegisterChildWindow(0, pMod, SFX_CHILDWIN_TASK);
/*N*/ 	SvxSearchDialogWrapper::RegisterChildWindow(0, pMod);
/*N*/ 	SvxBmpMaskChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	GalleryChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	SvxIMapDlgChildWindow::RegisterChildWindow(0, pMod);
/*N*/ 	SvxHyperlinkDlgWrapper::RegisterChildWindow(0, pMod);
/*N*/ 	SvxHlinkDlgWrapper::RegisterChildWindow(0, pMod);
/*N*/ 
/*N*/ 	SvxFillToolBoxControl::RegisterControl(0, pMod);
/*N*/ 	SvxLineStyleToolBoxControl::RegisterControl(0, pMod);
/*N*/ 	SvxLineWidthToolBoxControl::RegisterControl(0, pMod);
/*N*/ 	SvxLineColorToolBoxControl::RegisterControl(0, pMod);
/*N*/ 
/*N*/ 	SvxLineEndToolBoxControl::RegisterControl( SID_ATTR_LINEEND_STYLE, pMod );
/*N*/ 
/*N*/ 	SvxStyleToolBoxControl::RegisterControl(0, pMod);
/*N*/ 	SvxFontNameToolBoxControl::RegisterControl(0, pMod);
/*N*/ 	SvxFontHeightToolBoxControl::RegisterControl(0, pMod);
/*N*/ 	SvxFontColorToolBoxControl::RegisterControl(0, pMod);
/*N*/ 
/*N*/ 	SvxGrafFilterToolBoxControl::RegisterControl( SID_GRFFILTER, pMod );
/*N*/ 	SvxGrafModeToolBoxControl::RegisterControl( SID_ATTR_GRAF_MODE, pMod );
/*N*/ 	SvxGrafRedToolBoxControl::RegisterControl( SID_ATTR_GRAF_RED, pMod );
/*N*/ 	SvxGrafGreenToolBoxControl::RegisterControl( SID_ATTR_GRAF_GREEN, pMod );
/*N*/ 	SvxGrafBlueToolBoxControl::RegisterControl( SID_ATTR_GRAF_BLUE, pMod );
/*N*/ 	SvxGrafLuminanceToolBoxControl::RegisterControl( SID_ATTR_GRAF_LUMINANCE, pMod );
/*N*/ 	SvxGrafContrastToolBoxControl::RegisterControl( SID_ATTR_GRAF_CONTRAST, pMod );
/*N*/ 	SvxGrafGammaToolBoxControl::RegisterControl( SID_ATTR_GRAF_GAMMA, pMod );
/*N*/ 	SvxGrafTransparenceToolBoxControl::RegisterControl( SID_ATTR_GRAF_TRANSPARENCE, pMod );
/*N*/     SvxVertTextTbxCtrl::RegisterControl(SID_TEXTDIRECTION_TOP_TO_BOTTOM, pMod);
/*N*/     SvxVertTextTbxCtrl::RegisterControl(SID_TEXTDIRECTION_LEFT_TO_RIGHT, pMod);
/*N*/     SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_CAPTION_VERTICAL, pMod);
/*N*/     SvxVertTextTbxCtrl::RegisterControl(SID_DRAW_TEXT_VERTICAL, pMod);
/*N*/     SvxVertTextTbxCtrl::RegisterControl(SID_TEXT_FITTOSIZE_VERTICAL, pMod);
/*N*/     SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_LEFT_TO_RIGHT, pMod);
/*N*/     SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_RIGHT_TO_LEFT, pMod);
/*N*/ 
/*N*/ 	// StatusBarControls registrieren
/*N*/ 	SvxZoomStatusBarControl::RegisterControl( SID_ATTR_ZOOM, pMod );
/*N*/ 	SvxPosSizeStatusBarControl::RegisterControl( SID_ATTR_SIZE, pMod );
/*N*/ 	SvxModifyControl::RegisterControl( SID_DOC_MODIFIED, pMod );
/*N*/ 	//SvxInsertStatusBarControl::RegisterControl(0, pModd);
/*N*/ 
/*N*/ 	// MenuControls fuer PopupMenu
/*N*/ 
/*N*/ 	SfxMenuControl::RegisterControl( SID_SET_SNAPITEM, pMod );
/*N*/ 	SfxMenuControl::RegisterControl( SID_DELETE_SNAPITEM, pMod );
/*N*/ 	SfxMenuControl::RegisterControl( SID_BEZIER_CLOSE, pMod );
/*N*/ 
/*N*/ 	// #UndoRedo#
/*N*/ 	SvxUndoRedoControl::RegisterControl( SID_UNDO , pMod );
/*N*/ 	SvxUndoRedoControl::RegisterControl( SID_REDO , pMod );
/*N*/ 
/*N*/ 	SvxClipBoardControl::RegisterControl( SID_PASTE, pMod );
/*N*/ }
}
