summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2000-09-18 16:07:07 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2000-09-18 16:07:07 +0000
commitf47a9d9db3d06927380bb79b04bb6d4721a92d2b (patch)
tree19d89fdf39c23688415f8884ec433f02fdce7672 /sd/source/ui/inc
initial import
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r--sd/source/ui/inc/3dchld.hxx86
-rw-r--r--sd/source/ui/inc/animobjs.hrc85
-rw-r--r--sd/source/ui/inc/animobjs.hxx260
-rw-r--r--sd/source/ui/inc/assclass.hxx121
-rw-r--r--sd/source/ui/inc/bmcache.hxx92
-rw-r--r--sd/source/ui/inc/brkdlg.hrc68
-rw-r--r--sd/source/ui/inc/bulmaper.hxx79
-rw-r--r--sd/source/ui/inc/cfgids.hxx108
-rw-r--r--sd/source/ui/inc/copydlg.hrc85
-rw-r--r--sd/source/ui/inc/copydlg.hxx145
-rw-r--r--sd/source/ui/inc/custsdlg.hrc81
-rw-r--r--sd/source/ui/inc/custsdlg.hxx160
-rw-r--r--sd/source/ui/inc/diactrl.hxx273
-rw-r--r--sd/source/ui/inc/dlg_char.hrc62
-rw-r--r--sd/source/ui/inc/dlg_char.hxx97
-rw-r--r--sd/source/ui/inc/dlgass.hrc119
-rw-r--r--sd/source/ui/inc/dlgass.hxx124
-rw-r--r--sd/source/ui/inc/dlgctrls.hxx101
-rw-r--r--sd/source/ui/inc/dlgfield.hrc69
-rw-r--r--sd/source/ui/inc/dlgfield.hxx115
-rw-r--r--sd/source/ui/inc/dlgolbul.hrc61
-rw-r--r--sd/source/ui/inc/dlgpage.hrc61
-rw-r--r--sd/source/ui/inc/dlgpage.hxx117
-rw-r--r--sd/source/ui/inc/dlgsnap.hrc74
-rw-r--r--sd/source/ui/inc/dlgsnap.hxx139
-rw-r--r--sd/source/ui/inc/docprev.hxx114
-rw-r--r--sd/source/ui/inc/drawview.hxx145
-rw-r--r--sd/source/ui/inc/enumdlg.hrc76
-rw-r--r--sd/source/ui/inc/fontwork.hrc79
-rw-r--r--sd/source/ui/inc/fuarea.hxx85
-rw-r--r--sd/source/ui/inc/fubullet.hxx80
-rw-r--r--sd/source/ui/inc/fuchar.hxx83
-rw-r--r--sd/source/ui/inc/fucon3d.hxx99
-rw-r--r--sd/source/ui/inc/fuconarc.hxx99
-rw-r--r--sd/source/ui/inc/fuconbez.hxx111
-rw-r--r--sd/source/ui/inc/fuconnct.hxx81
-rw-r--r--sd/source/ui/inc/fuconrec.hxx106
-rw-r--r--sd/source/ui/inc/fuconstr.hxx114
-rw-r--r--sd/source/ui/inc/fuconuno.hxx109
-rw-r--r--sd/source/ui/inc/fucopy.hxx84
-rw-r--r--sd/source/ui/inc/fucushow.hxx81
-rw-r--r--sd/source/ui/inc/fudraw.hxx125
-rw-r--r--sd/source/ui/inc/fudspord.hxx104
-rw-r--r--sd/source/ui/inc/fuediglu.hxx99
-rw-r--r--sd/source/ui/inc/fuexpand.hxx80
-rw-r--r--sd/source/ui/inc/fugrid.hxx83
-rw-r--r--sd/source/ui/inc/fuinsert.hxx116
-rw-r--r--sd/source/ui/inc/fuinsfil.hxx97
-rw-r--r--sd/source/ui/inc/fuline.hxx84
-rw-r--r--sd/source/ui/inc/fulinend.hxx84
-rw-r--r--sd/source/ui/inc/fulink.hxx81
-rw-r--r--sd/source/ui/inc/fumeasur.hxx80
-rw-r--r--sd/source/ui/inc/fumorph.hxx103
-rw-r--r--sd/source/ui/inc/fuoaprms.hxx88
-rw-r--r--sd/source/ui/inc/fuolbull.hxx94
-rw-r--r--sd/source/ui/inc/fuoltext.hxx103
-rw-r--r--sd/source/ui/inc/fuoutl.hxx116
-rw-r--r--sd/source/ui/inc/fupage.hxx83
-rw-r--r--sd/source/ui/inc/fuparagr.hxx83
-rw-r--r--sd/source/ui/inc/fupoor.hxx180
-rw-r--r--sd/source/ui/inc/fuprlout.hxx95
-rw-r--r--sd/source/ui/inc/fuprobjs.hxx91
-rw-r--r--sd/source/ui/inc/fuprtmpl.hxx91
-rw-r--r--sd/source/ui/inc/fuscale.hxx84
-rw-r--r--sd/source/ui/inc/fusearch.hxx92
-rw-r--r--sd/source/ui/inc/fusel.hxx122
-rw-r--r--sd/source/ui/inc/fusldlg.hxx81
-rw-r--r--sd/source/ui/inc/fuslhide.hxx88
-rw-r--r--sd/source/ui/inc/fuslid.hxx108
-rw-r--r--sd/source/ui/inc/fuslsel.hxx140
-rw-r--r--sd/source/ui/inc/fusnapln.hxx85
-rw-r--r--sd/source/ui/inc/fuspell.hxx94
-rw-r--r--sd/source/ui/inc/fusumry.hxx81
-rw-r--r--sd/source/ui/inc/futempl.hxx85
-rw-r--r--sd/source/ui/inc/futext.hxx132
-rw-r--r--sd/source/ui/inc/futhes.hxx81
-rw-r--r--sd/source/ui/inc/futransf.hxx90
-rw-r--r--sd/source/ui/inc/futxtatt.hxx80
-rw-r--r--sd/source/ui/inc/fuvect.hxx87
-rw-r--r--sd/source/ui/inc/fuzoom.hxx115
-rw-r--r--sd/source/ui/inc/gluectrl.hxx111
-rw-r--r--sd/source/ui/inc/inspagob.hrc67
-rw-r--r--sd/source/ui/inc/inspagob.hxx113
-rw-r--r--sd/source/ui/inc/morphdlg.hrc69
-rw-r--r--sd/source/ui/inc/morphdlg.hxx121
-rw-r--r--sd/source/ui/inc/navigatr.hrc70
-rw-r--r--sd/source/ui/inc/navigatr.hxx238
-rw-r--r--sd/source/ui/inc/optdlg.hrc68
-rw-r--r--sd/source/ui/inc/optdlg.hxx96
-rw-r--r--sd/source/ui/inc/optsitem.hxx358
-rw-r--r--sd/source/ui/inc/outlinfo.hxx153
-rw-r--r--sd/source/ui/inc/packgdlg.hrc79
-rw-r--r--sd/source/ui/inc/paragr.hrc62
-rw-r--r--sd/source/ui/inc/paragr.hxx91
-rw-r--r--sd/source/ui/inc/pgjump.hxx77
-rw-r--r--sd/source/ui/inc/present.hrc94
-rw-r--r--sd/source/ui/inc/present.hxx141
-rw-r--r--sd/source/ui/inc/preview.hrc62
-rw-r--r--sd/source/ui/inc/printdlg.hrc70
-rw-r--r--sd/source/ui/inc/printdlg.hxx112
-rw-r--r--sd/source/ui/inc/prltempl.hrc67
-rw-r--r--sd/source/ui/inc/prltempl.hxx137
-rw-r--r--sd/source/ui/inc/prntopts.hrc87
-rw-r--r--sd/source/ui/inc/prntopts.hxx145
-rw-r--r--sd/source/ui/inc/pubdlg.hrc182
-rw-r--r--sd/source/ui/inc/pubdlg.hxx260
-rw-r--r--sd/source/ui/inc/res_bmp.hrc326
-rw-r--r--sd/source/ui/inc/sdpopup.hxx97
-rw-r--r--sd/source/ui/inc/sdpreslt.hrc70
-rw-r--r--sd/source/ui/inc/sdpreslt.hxx123
-rw-r--r--sd/source/ui/inc/sdstring.hrc89
-rw-r--r--sd/source/ui/inc/sdtreelb.hxx155
-rw-r--r--sd/source/ui/inc/sdundogr.hxx90
-rw-r--r--sd/source/ui/inc/showview.hxx114
-rw-r--r--sd/source/ui/inc/sprite.hxx126
-rw-r--r--sd/source/ui/inc/strings.hrc688
-rw-r--r--sd/source/ui/inc/tabtempl.hrc64
-rw-r--r--sd/source/ui/inc/tabtempl.hxx124
-rw-r--r--sd/source/ui/inc/tbx_ww.hrc63
-rw-r--r--sd/source/ui/inc/tbx_ww.hxx124
-rw-r--r--sd/source/ui/inc/tpoption.hrc113
-rw-r--r--sd/source/ui/inc/tpoption.hxx239
-rw-r--r--sd/source/ui/inc/unchss.hxx97
-rw-r--r--sd/source/ui/inc/undopage.hxx206
-rw-r--r--sd/source/ui/inc/unmodpg.hxx106
-rw-r--r--sd/source/ui/inc/unmovss.hxx94
-rw-r--r--sd/source/ui/inc/unoaprms.hxx203
-rw-r--r--sd/source/ui/inc/unokywds.hxx143
-rw-r--r--sd/source/ui/inc/unomodel.hxx330
-rw-r--r--sd/source/ui/inc/unoprnms.hxx132
-rw-r--r--sd/source/ui/inc/unosrch.hxx206
-rw-r--r--sd/source/ui/inc/unprlout.hxx103
-rw-r--r--sd/source/ui/inc/unslsel.hxx85
-rw-r--r--sd/source/ui/inc/vectdlg.hrc87
-rw-r--r--sd/source/ui/inc/vectdlg.hxx155
-rw-r--r--sd/source/ui/inc/zoomlist.hxx93
136 files changed, 15908 insertions, 0 deletions
diff --git a/sd/source/ui/inc/3dchld.hxx b/sd/source/ui/inc/3dchld.hxx
new file mode 100644
index 000000000000..41b6c63eb7dd
--- /dev/null
+++ b/sd/source/ui/inc/3dchld.hxx
@@ -0,0 +1,86 @@
+/*************************************************************************
+ *
+ * $RCSfile: 3dchld.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_3DCHLD_HXX
+#define _SD_3DCHLD_HXX
+
+
+#ifndef _SFX_CHILDWIN_HXX //autogen
+#include <sfx2/childwin.hxx>
+#endif
+
+/*************************************************************************
+|*
+|* Ableitung vom SfxChildWindow als "Behaelter" fuer 3D Window
+|*
+\************************************************************************/
+
+class Sd3DChildWindow : public SfxChildWindow
+{
+ public:
+ Sd3DChildWindow( Window*, USHORT, SfxBindings*, SfxChildWinInfo* );
+
+ SFX_DECL_CHILDWINDOW(Sd3DChildWindow);
+};
+
+#endif // _SD_3DCHLD_HXX
+
diff --git a/sd/source/ui/inc/animobjs.hrc b/sd/source/ui/inc/animobjs.hrc
new file mode 100644
index 000000000000..6209178e2fbf
--- /dev/null
+++ b/sd/source/ui/inc/animobjs.hrc
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * $RCSfile: animobjs.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define FLT_WIN_ANIMATION 619
+#define CTL_DISPLAY 1
+#define BTN_FIRST 1
+#define BTN_REVERSE 2
+#define BTN_STOP 3
+#define BTN_PLAY 4
+#define BTN_LAST 5
+#define BTN_GET_ONE_OBJECT 6
+#define BTN_GET_ALL_OBJECTS 7
+#define BTN_REMOVE_BITMAP 8
+#define BTN_REMOVE_ALL 9
+#define BTN_CREATE_GROUP 10
+#define NUM_FLD_BITMAP 1
+#define TIME_FIELD 1
+#define FT_COUNT 1
+#define FI_COUNT 2
+#define GRP_BITMAP 1
+#define RBT_GROUP 1
+#define RBT_BITMAP 2
+#define FT_COLOR 3
+#define LB_COLOR 1
+#define FT_ADJUSTMENT 4
+#define LB_ADJUSTMENT 2
+#define LB_LOOP_COUNT 3
+#define GRP_ANIMATION_GROUP 2
diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx
new file mode 100644
index 000000000000..f35d1027006c
--- /dev/null
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -0,0 +1,260 @@
+/*************************************************************************
+ *
+ * $RCSfile: animobjs.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_ANIMOBJS_HXX
+#define _SD_ANIMOBJS_HXX
+
+#ifndef _SFXDOCKWIN_HXX //autogen
+#include <sfx2/dockwin.hxx>
+#endif
+#ifndef _SV_FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _STDCTRL_HXX //autogen
+#include <svtools/stdctrl.hxx>
+#endif
+#ifndef _SV_GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _SFXCTRLITEM_HXX //autogen
+#include <sfx2/ctrlitem.hxx>
+#endif
+
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+
+#ifndef _SV_FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+
+#ifndef _SVX_DLG_CTRL_HXX //autogen
+#include <svx/dlgctrl.hxx>
+#endif
+
+
+#ifndef _SV_LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+
+#ifndef _SD_SDRESID_HXX
+#include "sdresid.hxx"
+#endif
+
+class SdDrawDocument;
+class SdView;
+class BitmapEx;
+
+//------------------------------------------------------------------------
+
+enum BitmapAdjustment
+{
+ BA_LEFT_UP,
+ BA_LEFT,
+ BA_LEFT_DOWN,
+ BA_UP,
+ BA_CENTER,
+ BA_DOWN,
+ BA_RIGHT_UP,
+ BA_RIGHT,
+ BA_RIGHT_DOWN
+};
+
+//------------------------------------------------------------------------
+
+class SdDisplay : public Control
+{
+private:
+ BitmapEx* pBitmapEx;
+ Fraction aScale;
+
+public:
+ SdDisplay( Window* pWin, SdResId Id );
+ ~SdDisplay();
+
+ virtual void Paint( const Rectangle& rRect );
+
+ void SetBitmapEx( BitmapEx* pBmpEx ) { pBitmapEx = pBmpEx; }
+ void SetScale( const Fraction& rFrac );
+};
+
+//------------------------------------------------------------------------
+
+class SdAnimationWin : public SfxDockingWindow
+{
+ friend class SdAnimationChildWindow;
+ friend class SdAnimationControllerItem;
+
+private:
+ SdDisplay aCtlDisplay;
+ ImageButton aBtnFirst;
+ ImageButton aBtnReverse;
+ ImageButton aBtnStop;
+ ImageButton aBtnPlay;
+ ImageButton aBtnLast;
+ NumericField aNumFldBitmap;
+ TimeField aTimeField;
+ ListBox aLbLoopCount;
+
+ ImageButton aBtnGetOneObject;
+ ImageButton aBtnGetAllObjects;
+ ImageButton aBtnRemoveBitmap;
+ ImageButton aBtnRemoveAll;
+ FixedText aFtCount;
+ FixedInfo aFiCount;
+ GroupBox aGrpBitmap;
+
+ RadioButton aRbtGroup;
+ RadioButton aRbtBitmap;
+ FixedText aFtAdjustment;
+ ListBox aLbAdjustment;
+ FixedText aFtColor;
+ ColorLB aLbColor;
+ PushButton aBtnCreateGroup;
+ GroupBox aGrpAnimation;
+
+ Window* pWin;
+ List aBmpExList;
+ List aTimeList;
+ SdDrawDocument* pMyDoc;
+ BitmapEx* pBitmapEx;
+
+ Size aSize;
+ Size aFltWinSize;
+ Size aDisplaySize;
+ Size aBmpSize;
+ BOOL bMovie;
+ BOOL bAllObjects;
+
+ SfxBindings* pBindings;
+ SdAnimationControllerItem* pControllerItem;
+
+ //------------------------------------
+
+ DECL_LINK( ClickFirstHdl, void * );
+ DECL_LINK( ClickStopHdl, void * );
+ DECL_LINK( ClickPlayHdl, void * );
+ DECL_LINK( ClickLastHdl, void * );
+ DECL_LINK( ClickGetObjectHdl, void * );
+ DECL_LINK( ClickRemoveBitmapHdl, void * );
+ DECL_LINK( ClickRbtHdl, void * );
+ DECL_LINK( ClickCreateGroupHdl, void * );
+ DECL_LINK( ModifyBitmapHdl, void * );
+ DECL_LINK( ModifyTimeHdl, void * );
+
+ void UpdateControl( ULONG nPos, BOOL bDisableCtrls = FALSE );
+ void ResetAttrs();
+ void WaitInEffect( ULONG nMilliSeconds ) const;
+ void WaitInEffect( ULONG nMilliSeconds, ULONG nTime,
+ SfxProgress* pStbMgr ) const;
+ Fraction GetScale();
+
+protected:
+ virtual BOOL Close();
+ virtual void Resize();
+ virtual void FillInfo( SfxChildWinInfo& ) const;
+
+public:
+ SdAnimationWin( SfxBindings* pBindings, SfxChildWindow *pCW,
+ Window* pParent, const SdResId& rSdResId );
+ ~SdAnimationWin();
+
+ void InitColorLB( const SdDrawDocument* pDoc );
+ void AddObj( SdView& rView );
+ void CreateAnimObj( SdView& rView );
+};
+
+/*************************************************************************
+|*
+|* Ableitung vom SfxChildWindow als "Behaelter" fuer Animator
+|*
+\************************************************************************/
+
+class SdAnimationChildWindow : public SfxChildWindow
+{
+ public:
+ SdAnimationChildWindow( Window*, USHORT, SfxBindings*,
+ SfxChildWinInfo*);
+
+ SFX_DECL_CHILDWINDOW(SdAnimationChildWindow);
+};
+
+/*************************************************************************
+|*
+|* ControllerItem fuer Animator
+|*
+\************************************************************************/
+
+class SdAnimationControllerItem : public SfxControllerItem
+{
+ SdAnimationWin* pAnimationWin;
+
+ protected:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+
+ public:
+ SdAnimationControllerItem( USHORT, SdAnimationWin*, SfxBindings* );
+};
+
+#endif // _SD_ANIMOBJS_HXX
+
diff --git a/sd/source/ui/inc/assclass.hxx b/sd/source/ui/inc/assclass.hxx
new file mode 100644
index 000000000000..8c62dee3b309
--- /dev/null
+++ b/sd/source/ui/inc/assclass.hxx
@@ -0,0 +1,121 @@
+/*************************************************************************
+ *
+ * $RCSfile: assclass.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef INC_ASSCLASS
+#define INC_ASSCLASS
+
+#ifndef _SOLAR_H
+#include <tools/solar.h>
+#endif
+
+#define MAX_PAGES 10
+
+class List;
+class Control;
+
+class Assistent
+{
+ List* pPages[MAX_PAGES];
+ //enthaelt fuer jede Seite die Controls die
+ //korrekt geschaltet werden muessen
+
+ UINT8 nPages;
+ //gibt die Anzahl der Seiten an
+
+ UINT8 nCurrentPage;
+ //gibt die aktuelle Seite an
+
+ BOOL* pPageStatus;
+
+public:
+
+ Assistent(UINT8 nNoOfPage);
+
+ BOOL IsEnabled( UINT8 nPage );
+ void EnablePage( UINT8 nPage );
+ void DisablePage( UINT8 nPage );
+
+ BOOL InsertControl(UINT8 nDestPage,Control* pUsedControl);
+ //fuegt einer spezifizierten Seite ein Control hinzu
+
+ BOOL NextPage();
+ //springt zur naechsten Seite
+
+ BOOL PreviousPage();
+ //springt zur vorherigen Seite
+
+ BOOL GotoPage(const UINT8 nPageToGo);
+ //springt zu einer angegebenen Seite
+
+ BOOL IsLastPage();
+ //gibt an ob die aktuelle Seite die letzte ist
+
+ BOOL IsFirstPage();
+ //gibt an ob die aktuelle Seite die erste ist
+
+ UINT8 GetCurrentPage();
+ //gibt die aktuelle Seite zurueck
+
+ ~Assistent();
+};
+
+
+#endif
diff --git a/sd/source/ui/inc/bmcache.hxx b/sd/source/ui/inc/bmcache.hxx
new file mode 100644
index 000000000000..dc46d45bea94
--- /dev/null
+++ b/sd/source/ui/inc/bmcache.hxx
@@ -0,0 +1,92 @@
+/*************************************************************************
+ *
+ * $RCSfile: bmcache.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_BMCACHE_HXX
+#define _SD_BMCACHE_HXX
+
+#ifndef _LIST_HXX //autogen
+#include <tools/list.hxx>
+#endif
+
+
+class SdPage;
+class Bitmap;
+
+class BitmapCache
+{
+ ULONG nMaxSize;
+ ULONG nCurSize;
+ List aEntries;
+
+public:
+ BitmapCache(ULONG nMaxSizeKB)
+ : nMaxSize(nMaxSizeKB),
+ nCurSize(0) {}
+ virtual ~BitmapCache();
+
+ void Add(const SdPage* pPage, Bitmap* pBitmap, long nZoomPercent);
+ const Bitmap* Get(const SdPage* pPage, long& rZoomPercent,
+ long nZoomTolerancePercent);
+ void Remove(const SdPage* pPage);
+};
+
+#endif // _SD_BMCACHE_HXX
+
diff --git a/sd/source/ui/inc/brkdlg.hrc b/sd/source/ui/inc/brkdlg.hrc
new file mode 100644
index 000000000000..c35d6abbe5a7
--- /dev/null
+++ b/sd/source/ui/inc/brkdlg.hrc
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * $RCSfile: brkdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define FT_OBJ_INFO 1
+#define FT_ACT_INFO 2
+#define FT_INS_INFO 3
+#define FI_OBJ_INFO 4
+#define FI_ACT_INFO 5
+#define FI_INS_INFO 6
+#define BTN_CANCEL 7
+#define DLG_BREAK 6197
diff --git a/sd/source/ui/inc/bulmaper.hxx b/sd/source/ui/inc/bulmaper.hxx
new file mode 100644
index 000000000000..4b85111b273f
--- /dev/null
+++ b/sd/source/ui/inc/bulmaper.hxx
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * $RCSfile: bulmaper.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+class SdBulletMapper
+{
+public:
+/*
+ static SvxNumberFormat MapBulletToNumBulletItem( const SvxBulletItem& aBullet );
+ static void MapNumBulletToBulletItem( const SvxNumberFormat& aNumBullet, SvxBulletItem& aBullet, SfxItemSet& rSet );
+ static void MapNumBulletToBulletItem( const SvxNumRule& aNumRule, USHORT nLevel, SvxBulletItem& aBullet, SfxItemSet& rSet );
+*/
+
+ static void PreMapNumBulletForDialog( SfxItemSet& rSet );
+ static void PostMapNumBulletForDialog( SfxItemSet& rSet );
+
+ static void MapFontsInNumRule( SvxNumRule& aNumRule, const SfxItemSet& rSet );
+
+};
+
+
+
diff --git a/sd/source/ui/inc/cfgids.hxx b/sd/source/ui/inc/cfgids.hxx
new file mode 100644
index 000000000000..f57576951752
--- /dev/null
+++ b/sd/source/ui/inc/cfgids.hxx
@@ -0,0 +1,108 @@
+/*************************************************************************
+ *
+ * $RCSfile: cfgids.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_CFGID_HXX
+#define _SD_CFGID_HXX
+
+#ifndef _SFX_HRC
+#include <sfx2/sfx.hrc>
+#endif
+
+// Item-Ids fuer Config-Items
+#define SDCFG_IMPRESS (SFX_ITEMTYPE_SD_BEGIN + 1)
+#define SDCFG_SPELL (SFX_ITEMTYPE_SD_BEGIN + 2)
+#define SDCFG_DRAW (SFX_ITEMTYPE_SD_BEGIN + 3)
+
+// Acceleratoren, Menus, ...
+#define RID_DRAW_DEFAULTACCEL (SFX_ITEMTYPE_SD_BEGIN + 5)
+#define RID_DRAW_DEFAULTMENU (SFX_ITEMTYPE_SD_BEGIN + 6)
+#define RID_DRAW_PORTALMENU (SFX_ITEMTYPE_SD_BEGIN + 35)
+#define RID_DRAW_STATUSBAR (SFX_ITEMTYPE_SD_BEGIN + 7)
+// Acceleratoren, Menus, ... (fuers Draw (Graphic))
+#define RID_GRAPHIC_DEFAULTACCEL (SFX_ITEMTYPE_SD_BEGIN + 8)
+#define RID_GRAPHIC_DEFAULTMENU (SFX_ITEMTYPE_SD_BEGIN + 9)
+#define RID_GRAPHIC_PORTALMENU (SFX_ITEMTYPE_SD_BEGIN + 36)
+//#define RID_GRAPHIC_STATUSBAR (SFX_ITEMTYPE_SD_BEGIN + 30)
+
+// Toolbars
+#define RID_DRAW_DEFAULTTOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 10)
+#define RID_DRAW_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 11)
+#define RID_SLIDE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 12)
+#define RID_DRAW_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 13)
+#define RID_SLIDE_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 14)
+#define RID_BEZIER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 15)
+#define RID_DRAW_TEXT_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 16)
+#define RID_OUTLINE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 17)
+//#define RID_DRAW_POLYLINEOBJ_POPUP (SFX_ITEMTYPE_SD_BEGIN + 18)
+#define RID_GLUEPOINTS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 19)
+#define RID_DRAW_OPTIONS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 20)
+#define RID_DRAW_COMMONTASK_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 21)
+#define RID_FORMLAYER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 22)
+
+#define RID_GRAPHIC_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 25)
+#define RID_GRAPHIC_OPTIONS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 26)
+#define RID_GRAPHIC_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 27)
+#define RID_GRAPHIC_TEXT_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 28)
+
+#define RID_DRAW_GRAF_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 30)
+
+
+#endif
diff --git a/sd/source/ui/inc/copydlg.hrc b/sd/source/ui/inc/copydlg.hrc
new file mode 100644
index 000000000000..b0f3109b9570
--- /dev/null
+++ b/sd/source/ui/inc/copydlg.hrc
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * $RCSfile: copydlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define FT_COPIES 1
+#define NUM_FLD_COPIES 1
+#define FT_ANGLE 2
+#define MTR_FLD_ANGLE 1
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+#define BTN_SET_VIEWDATA 1
+#define BTN_SET_DEFAULT 2
+#define GRP_MOVEMENT 1
+#define MTR_FLD_MOVE_X 2
+#define MTR_FLD_MOVE_Y 3
+#define FT_MOVE_X 3
+#define FT_MOVE_Y 4
+#define GRP_ENLARGEMENT 2
+#define FT_WIDTH 5
+#define FT_HEIGHT 6
+#define MTR_FLD_WIDTH 4
+#define MTR_FLD_HEIGHT 5
+#define DLG_COPY 727
+#define GRP_COLOR 3
+#define LB_START_COLOR 1
+#define FT_START_COLOR 7
+#define FT_END_COLOR 8
+#define LB_END_COLOR 2
diff --git a/sd/source/ui/inc/copydlg.hxx b/sd/source/ui/inc/copydlg.hxx
new file mode 100644
index 000000000000..a8c06f1c6b77
--- /dev/null
+++ b/sd/source/ui/inc/copydlg.hxx
@@ -0,0 +1,145 @@
+/*************************************************************************
+ *
+ * $RCSfile: copydlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_COPYDLG_HXX_
+#define _SD_COPYDLG_HXX_
+
+#ifndef _SV_GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _SVX_DLG_CTRL_HXX //autogen
+#include <svx/dlgctrl.hxx>
+#endif
+#ifndef _SV_FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+#ifndef _SV_FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+
+#ifndef _BASEDLGS_HXX //autogen
+#include <sfx2/basedlgs.hxx>
+#endif
+
+class SdView;
+class XColorTable;
+
+/*************************************************************************
+|*
+|* Dialog zum Einstellen des Bildschirms
+|*
+\************************************************************************/
+class SdCopyDlg : public SfxModalDialog
+{
+private:
+ FixedText aFtCopies;
+ NumericField aNumFldCopies;
+ FixedText aFtMoveX;
+ MetricField aMtrFldMoveX;
+ FixedText aFtMoveY;
+ MetricField aMtrFldMoveY;
+ FixedText aFtAngle;
+ MetricField aMtrFldAngle;
+ GroupBox aGrpMovement;
+
+ FixedText aFtWidth;
+ MetricField aMtrFldWidth;
+ FixedText aFtHeight;
+ MetricField aMtrFldHeight;
+ GroupBox aGrpEnlargement;
+
+ FixedText aFtStartColor;
+ ColorLB aLbStartColor;
+ FixedText aFtEndColor;
+ ColorLB aLbEndColor;
+ GroupBox aGrpColor;
+
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ ImageButton aBtnSetViewData;
+ PushButton aBtnSetDefault;
+
+ const SfxItemSet& rOutAttrs;
+ XColorTable* pColorTab;
+ FieldUnit eUIUnit;
+ Fraction aUIScale;
+ SdView* pView;
+
+ DECL_LINK( SelectColorHdl, void * );
+ DECL_LINK( SetViewData, void * );
+ DECL_LINK( SetDefault, void * );
+
+public:
+ SdCopyDlg( Window* pWindow, const SfxItemSet& rInAttrs,
+ XColorTable* pColTab, SdView* pView );
+ ~SdCopyDlg();
+
+ void GetAttr( SfxItemSet& rOutAttrs );
+ DECL_LINK( Reset, void* );
+};
+
+#endif // _SD_COPYDLG_HXX_
+
diff --git a/sd/source/ui/inc/custsdlg.hrc b/sd/source/ui/inc/custsdlg.hrc
new file mode 100644
index 000000000000..fad264f4db8f
--- /dev/null
+++ b/sd/source/ui/inc/custsdlg.hrc
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * $RCSfile: custsdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include <sfx2/sfx.hrc>
+
+#define DLG_CUSTOMSHOW 843
+#define DLG_DEFINE_CUSTOMSHOW 890
+#define BTN_OK 1
+#define BTN_NEW 1
+#define BTN_EDIT 2
+#define BTN_REMOVE 3
+#define BTN_COPY 4
+#define BTN_STARTSHOW 5
+#define BTN_HELP 1
+#define LB_CUSTOMSHOWS 1
+#define LB_PAGES 1
+#define LB_CUSTOM_PAGES 2
+#define FT_NAME 1
+#define EDT_NAME 1
+#define FT_PAGES 2
+#define FT_CUSTOM_PAGES 3
+#define BTN_CANCEL 2
+#define BTN_ADD 1
+#define CBX_USE_CUSTOMSHOW 1
diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx
new file mode 100644
index 000000000000..58e784a5a1c6
--- /dev/null
+++ b/sd/source/ui/inc/custsdlg.hxx
@@ -0,0 +1,160 @@
+/*************************************************************************
+ *
+ * $RCSfile: custsdlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_CUSTSDLG_HXX
+#define _SD_CUSTSDLG_HXX
+
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _SV_LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+#ifndef _SV_FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _SV_EDIT_HXX //autogen
+#include <vcl/edit.hxx>
+#endif
+#ifndef _SVTREEBOX_HXX //autogen
+#include <svtools/svtreebx.hxx>
+#endif
+#ifndef _SV_DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+
+class SdDrawDocument;
+class SdCustomShow;
+
+//------------------------------------------------------------------------
+
+class SdCustomShowDlg : public ModalDialog
+{
+private:
+ ListBox aLbCustomShows;
+ CheckBox aCbxUseCustomShow;
+ PushButton aBtnNew;
+ PushButton aBtnEdit;
+ PushButton aBtnRemove;
+ PushButton aBtnCopy;
+ HelpButton aBtnHelp;
+ PushButton aBtnStartShow;
+ OKButton aBtnOK;
+
+ SdDrawDocument& rDoc;
+ List* pCustomShowList;
+ SdCustomShow* pCustomShow;
+ BOOL bModified;
+
+ void CheckState();
+
+ DECL_LINK( ClickButtonHdl, void * );
+ DECL_LINK( StartShowHdl, Button* );
+
+public:
+ SdCustomShowDlg( Window* pWindow, SdDrawDocument& rDrawDoc );
+ ~SdCustomShowDlg();
+
+ BOOL IsModified() const { return( bModified ); }
+ BOOL IsCustomShow() const;
+};
+
+
+//------------------------------------------------------------------------
+
+class SdDefineCustomShowDlg : public ModalDialog
+{
+private:
+ FixedText aFtName;
+ Edit aEdtName;
+ FixedText aFtPages;
+ MultiListBox aLbPages;
+ PushButton aBtnAdd;
+ PushButton aBtnRemove;
+ FixedText aFtCustomPages;
+ SvTreeListBox aLbCustomPages;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+
+ SdDrawDocument& rDoc;
+ SdCustomShow*& rpCustomShow;
+ BOOL bModified;
+ String aOldName;
+
+ void CheckState();
+ void CheckCustomShow();
+
+ DECL_LINK( ClickButtonHdl, void * );
+ DECL_LINK( OKHdl, Button* );
+
+public:
+
+ SdDefineCustomShowDlg( Window* pWindow,
+ SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS );
+ ~SdDefineCustomShowDlg();
+
+ BOOL IsModified() const { return( bModified ); }
+};
+
+#endif // _SD_CUSTSDLG_HXX
+
diff --git a/sd/source/ui/inc/diactrl.hxx b/sd/source/ui/inc/diactrl.hxx
new file mode 100644
index 000000000000..58f8c6a72562
--- /dev/null
+++ b/sd/source/ui/inc/diactrl.hxx
@@ -0,0 +1,273 @@
+/*************************************************************************
+ *
+ * $RCSfile: diactrl.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_DIACTRL_HXX
+#define _SD_DIACTRL_HXX
+
+#pragma hdrstop
+
+#ifndef SD_DLGCTRLS_HXX
+#include "dlgctrls.hxx"
+#endif
+#ifndef _SFXINTITEM_HXX //autogen
+#include <svtools/intitem.hxx>
+#endif
+
+#ifndef _SFX_BINDINGS_HXX
+#include <sfx2/bindings.hxx>
+#endif
+#ifndef _SVX_ITEMWIN_HXX //autogen
+#include <svx/itemwin.hxx>
+#endif
+
+#ifndef _SV_FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+
+#ifndef _SV_FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+
+#ifndef _SV_TOOLBOX_HXX //autogen
+#include <vcl/toolbox.hxx>
+#endif
+
+#ifndef _SFXTBXCTRL_HXX //autogen
+#include <sfx2/tbxctrl.hxx>
+#endif
+
+
+/*************************************************************************
+|*
+|* Controls (Windows) fuer Diaeffekte
+|*
+\************************************************************************/
+
+//========================================================================
+// DiaTimeControl:
+
+class DiaTimeControl : public TimeField
+{
+protected:
+ virtual void Up();
+ virtual void Down();
+
+public:
+ DiaTimeControl( Window* pParent, WinBits nStyle = 0 );
+ DiaTimeControl( Window* pParent, ResId nRId );
+ ~DiaTimeControl();
+
+ DECL_LINK( ModifyDiaTimeHdl, void * );
+ DECL_LINK( GetFocusHdl, void * );
+};
+
+#ifdef _SD_DIACTRL_CXX
+
+//========================================================================
+// DiaEffectControl:
+
+class DiaEffectControl : public Window
+{
+private:
+ FixedText aFtDescr;
+public:
+ FadeEffectLB aLbEffect;
+
+public:
+ DiaEffectControl( Window* pParent, WinBits nStyle = 0 );
+ ~DiaEffectControl();
+
+ DECL_LINK( SelectDiaEffectHdl, void * );
+};
+
+//========================================================================
+// DiaSpeedControl:
+
+class DiaSpeedControl : public Window
+{
+public:
+ ListBox aLbSpeed;
+
+public:
+ DiaSpeedControl( Window* pParent, WinBits nStyle = 0 );
+ ~DiaSpeedControl();
+
+ DECL_LINK( SelectDiaSpeedHdl, void * );
+};
+
+//========================================================================
+// DiaAutoControl:
+
+class DiaAutoControl : public Window
+{
+private:
+ FixedText aFtDescr;
+public:
+ ListBox aLbAuto;
+
+public:
+ DiaAutoControl( Window* pParent, WinBits nStyle = 0 );
+ ~DiaAutoControl();
+
+ DECL_LINK( SelectDiaAutoHdl, void * );
+};
+
+//========================================================================
+// SdPagesField:
+
+class SdPagesField : public SvxMetricField
+{
+protected:
+ virtual void Modify();
+
+public:
+ SdPagesField( Window* pParent, SfxBindings& rBindings,
+ WinBits nBits = WB_BORDER | WB_SPIN | WB_REPEAT );
+ ~SdPagesField();
+
+ void Update( const SfxUInt16Item* pItem );
+};
+
+
+/*************************************************************************
+|*
+|* Toolbox-Controller fuer Diaeffekte
+|*
+\************************************************************************/
+
+class SdTbxCtlDiaEffect: public SfxToolBoxControl
+{
+public:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+ virtual Window* CreateItemWindow( Window *pParent );
+
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ SdTbxCtlDiaEffect( USHORT nId, ToolBox& rTbx, SfxBindings& rBindings );
+ ~SdTbxCtlDiaEffect() {}
+};
+
+class SdTbxCtlDiaSpeed: public SfxToolBoxControl
+{
+public:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+ virtual Window* CreateItemWindow( Window *pParent );
+
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ SdTbxCtlDiaSpeed( USHORT nId, ToolBox& rTbx, SfxBindings& rBindings );
+ ~SdTbxCtlDiaSpeed() {}
+};
+
+class SdTbxCtlDiaAuto: public SfxToolBoxControl
+{
+public:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+ virtual Window* CreateItemWindow( Window *pParent );
+
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ SdTbxCtlDiaAuto( USHORT nId, ToolBox& rTbx, SfxBindings& rBindings );
+ ~SdTbxCtlDiaAuto() {}
+};
+
+class SdTbxCtlDiaTime: public SfxToolBoxControl
+{
+public:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+ virtual Window* CreateItemWindow( Window *pParent );
+
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ SdTbxCtlDiaTime( USHORT nId, ToolBox& rTbx, SfxBindings& rBindings );
+ ~SdTbxCtlDiaTime() {}
+};
+
+//========================================================================
+// SdTbxCtlDiaPages:
+//========================================================================
+
+class SdTbxCtlDiaPages : public SfxToolBoxControl
+{
+protected:
+ SfxBindings& rBindings;
+
+public:
+ virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ const SfxPoolItem* pState );
+ virtual Window* CreateItemWindow( Window *pParent );
+
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ SdTbxCtlDiaPages( USHORT nId, ToolBox& rTbx, SfxBindings& rBind );
+ ~SdTbxCtlDiaPages();
+};
+
+#endif // _SD_DIACTRL_CXX
+
+#endif // _SD_TBXCTRLS_HXX
+
+
+
diff --git a/sd/source/ui/inc/dlg_char.hrc b/sd/source/ui/inc/dlg_char.hrc
new file mode 100644
index 000000000000..4c49b68c0990
--- /dev/null
+++ b/sd/source/ui/inc/dlg_char.hrc
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlg_char.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TAB_CHAR 20600
+
diff --git a/sd/source/ui/inc/dlg_char.hxx b/sd/source/ui/inc/dlg_char.hxx
new file mode 100644
index 000000000000..18aaa937d276
--- /dev/null
+++ b/sd/source/ui/inc/dlg_char.hxx
@@ -0,0 +1,97 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlg_char.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef SD_DLG_CHAR_HXX
+#define SD_DLG_CHAR_HXX
+
+#ifndef _SFXTABDLG_HXX //autogen
+#include <sfx2/tabdlg.hxx>
+#endif
+
+#include "dlg_char.hrc"
+
+class SfxItemSet;
+class SfxObjectShell;
+
+
+/*************************************************************************
+|*
+|* Zeichen-Tab-Dialog
+|*
+\************************************************************************/
+class SdCharDlg : public SfxTabDialog
+{
+private:
+ const SfxItemSet& rOutAttrs;
+ const SfxObjectShell& rDocShell;
+
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+
+public:
+
+ SdCharDlg( Window* pParent, const SfxItemSet* pAttr,
+ const SfxObjectShell* pDocShell );
+ ~SdCharDlg() {};
+};
+
+#endif // SD_DLG_CHAR_HXX
+
diff --git a/sd/source/ui/inc/dlgass.hrc b/sd/source/ui/inc/dlgass.hrc
new file mode 100644
index 000000000000..bebd9e495e06
--- /dev/null
+++ b/sd/source/ui/inc/dlgass.hrc
@@ -0,0 +1,119 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgass.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define BUT_FINISH 1
+#define BUT_CANCEL 2
+#define BUT_LAST 3
+#define BUT_NEXT 4
+#define BUT_HELP 5
+#define CT_PREVIEW 6
+#define CB_PREVIEW 7
+#define CB_STARTWITH 8
+
+#define FB_PAGE1 9
+#define RB_PAGE1_ARTGROUP 10
+#define RB_PAGE1_EMPTY 11
+#define RB_PAGE1_TEMPLATE 12
+#define LB_PAGE1_REGION 13
+#define LB_PAGE1_TEMPLATES 14
+#define RB_PAGE1_OPEN 15
+#define LB_PAGE1_OPEN 16
+
+#define FB_PAGE2 30
+#define GRP_PAGE2_LAYOUT 31
+#define LB_PAGE2_REGION 32
+#define LB_PAGE2_LAYOUT 33
+#define GRP_PAGE2_OUTPUTTYPES 34
+#define RB_PAGE2_MEDIUM1 35
+#define RB_PAGE2_MEDIUM2 36
+#define RB_PAGE2_MEDIUM3 37
+#define RB_PAGE2_MEDIUM4 38
+#define RB_PAGE2_MEDIUM5 39
+
+#define FB_PAGE3 40
+#define GRP_PAGE3_EFFECT 41
+#define FT_PAGE3_EFFECT 42
+#define LB_PAGE3_EFFECT 43
+#define FT_PAGE3_SPEED 44
+#define LB_PAGE3_SPEED 45
+#define GRP_PAGE3_PRESTYPE 46
+#define RB_PAGE3_LIVE 47
+#define RB_PAGE3_KIOSK 48
+#define FT_PAGE3_TIME 49
+#define TMF_PAGE3_TIME 50
+#define FT_PAGE3_BREAK 51
+#define TMF_PAGE3_BREAK 52
+#define CB_PAGE3_LOGO 53
+
+#define FB_PAGE4 20
+#define GRP_PAGE4_PERSONAL 21
+#define FT_PAGE4_ASKNAME 22
+#define EDT_PAGE4_ASKNAME 23
+#define FT_PAGE4_ASKTOPIC 24
+#define EDT_PAGE4_ASKTOPIC 25
+#define FT_PAGE4_ASKINFORMATION 26
+#define EDT_PAGE4_ASKINFORMATION 27
+
+#define FB_PAGE5 60
+#define FT_PAGE5_PAGELIST 61
+#define CT_PAGE5_PAGELIST 62
+#define CB_PAGE5_SUMMARY 63
+
+#define DLG_ASS 900
diff --git a/sd/source/ui/inc/dlgass.hxx b/sd/source/ui/inc/dlgass.hxx
new file mode 100644
index 000000000000..224a85c19b19
--- /dev/null
+++ b/sd/source/ui/inc/dlgass.hxx
@@ -0,0 +1,124 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgass.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef INC_DLGASS
+#define INC_DLGASS
+
+#ifndef _GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _EDIT_HXX //autogen
+#include <vcl/edit.hxx>
+#endif
+#ifndef _FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+#ifdef VCL
+#include <svtools/svmedit.hxx>
+#endif
+
+#ifndef INC_ASSCLASS
+#include "assclass.hxx"
+#endif
+
+#ifndef _SV_LSTBOX_HXX //autogen // !!!TEMP
+#include <vcl/lstbox.hxx>
+#endif
+
+enum OutputType { OUTPUT_PAGE, OUTPUT_OVERHEAD, OUTPUT_SLIDE, OUTPUT_PRESENTATION, OUTPUT_ORIGINAL };
+enum StartType { ST_EMPTY, ST_TEMPLATE, ST_OPEN };
+
+class AssistentDlgImpl;
+
+class AssistentDlg:public ModalDialog
+{
+private:
+ AssistentDlgImpl* m_pImpl;
+
+public:
+ AssistentDlg(Window* pParent, BOOL bAutoPilot);
+ ~AssistentDlg();
+
+ DECL_LINK( FinishHdl, OKButton * );
+ //erstellt die eingestellte Praesentation und beendet den
+ //Assistenten
+
+ SfxObjectShellLock GetDocument();
+ String GetTopic() const;
+ String GetUserName() const;
+ String GetInformation() const;
+ OutputType GetOutputMedium() const;
+ BOOL IsSummary() const;
+ StartType GetStartType() const;
+ String GetDocPath() const;
+ BOOL GetStartWithFlag() const;
+
+ BOOL IsDocEmpty() const;
+ String GetPassword();
+};
+
+#endif
diff --git a/sd/source/ui/inc/dlgctrls.hxx b/sd/source/ui/inc/dlgctrls.hxx
new file mode 100644
index 000000000000..2dc3a092f2fe
--- /dev/null
+++ b/sd/source/ui/inc/dlgctrls.hxx
@@ -0,0 +1,101 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgctrls.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef SD_DLGCTRLS_HXX
+#define SD_DLGCTRLS_HXX
+
+#ifndef _COM_SUN_STAR_PRESENTATION_FADEEFFECT_HPP_
+#include <com/sun/star/presentation/FadeEffect.hpp>
+#endif
+
+#ifndef _SV_LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+
+#ifndef _SD_SDRESID_HXX
+#include "sdresid.hxx"
+#endif
+#ifndef _SD_FADEDEF_H
+#include "fadedef.h"
+#endif
+
+
+/*************************************************************************
+|*
+|* FadeEffectLB
+|*
+\************************************************************************/
+class FadeEffectLB : public ListBox
+{
+private:
+ USHORT GetSdResId( ::com::sun::star::presentation::FadeEffect eFE );
+
+
+public:
+ FadeEffectLB( Window* pParent, SdResId Id ) : ListBox( pParent, Id ) {}
+ FadeEffectLB( Window* pParent, WinBits aWB ) : ListBox( pParent, aWB ) {}
+
+ virtual void Fill();
+};
+
+#endif // SD_DLGCTRLS_HXX
+
diff --git a/sd/source/ui/inc/dlgfield.hrc b/sd/source/ui/inc/dlgfield.hrc
new file mode 100644
index 000000000000..c399d16a3fb6
--- /dev/null
+++ b/sd/source/ui/inc/dlgfield.hrc
@@ -0,0 +1,69 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgfield.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define GRP_TYPE 1
+#define RBT_FIX 1
+#define RBT_VAR 2
+#define LB_FORMAT 1
+#define FT_FORMAT 1
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+#define DLG_FIELD_MODIFY 448
diff --git a/sd/source/ui/inc/dlgfield.hxx b/sd/source/ui/inc/dlgfield.hxx
new file mode 100644
index 000000000000..7c0285d53c9f
--- /dev/null
+++ b/sd/source/ui/inc/dlgfield.hxx
@@ -0,0 +1,115 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgfield.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_DLGFIELD_HXX
+#define _SD_DLGFIELD_HXX
+
+
+#ifndef _LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+#ifndef _GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+class SvxFieldData;
+
+/*************************************************************************
+|*
+|* Dialog zum Bearbeiten von Feldbefehlen
+|*
+\************************************************************************/
+
+class SdModifyFieldDlg : public ModalDialog
+{
+private:
+ RadioButton aRbtFix;
+ RadioButton aRbtVar;
+ GroupBox aGrpType;
+ FixedText aFtFormat;
+ ListBox aLbFormat;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+
+ const SvxFieldData* pField;
+
+ void FillControls();
+
+public:
+ SdModifyFieldDlg( Window* pWindow, const SvxFieldData* pInField );
+ ~SdModifyFieldDlg() {}
+
+ SvxFieldData* GetField();
+};
+
+
+
+#endif // _SD_DLGFIELD_HXX
diff --git a/sd/source/ui/inc/dlgolbul.hrc b/sd/source/ui/inc/dlgolbul.hrc
new file mode 100644
index 000000000000..0c1d6af64ba1
--- /dev/null
+++ b/sd/source/ui/inc/dlgolbul.hrc
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgolbul.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:37 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TAB_OUTLINEBULLET 20601
diff --git a/sd/source/ui/inc/dlgpage.hrc b/sd/source/ui/inc/dlgpage.hrc
new file mode 100644
index 000000000000..8c714d075849
--- /dev/null
+++ b/sd/source/ui/inc/dlgpage.hrc
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgpage.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TAB_PAGE 20625
diff --git a/sd/source/ui/inc/dlgpage.hxx b/sd/source/ui/inc/dlgpage.hxx
new file mode 100644
index 000000000000..bc89e5fe387e
--- /dev/null
+++ b/sd/source/ui/inc/dlgpage.hxx
@@ -0,0 +1,117 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgpage.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_DLGPAGE_HXX
+#define _SD_DLGPAGE_HXX
+
+#ifndef _SFXTABDLG_HXX //autogen
+#include <sfx2/tabdlg.hxx>
+#endif
+#ifndef _BASEDLGS_HXX //autogen
+//#include <sfx2/basedlgs.hxx>
+#endif
+#include "dlgpage.hrc"
+
+class SfxObjectShell;
+class XColorTable;
+class XGradientList;
+class XHatchList;
+class XBitmapList;
+
+typedef USHORT ChangeType;
+
+/*************************************************************************
+|*
+|* Seite einrichten-Tab-Dialog
+|*
+\************************************************************************/
+class SdPageDlg : public SfxTabDialog
+{
+private:
+ const SfxItemSet& rOutAttrs;
+
+ const SfxObjectShell* pDocShell;
+
+ XColorTable* pColorTab;
+ XGradientList* pGradientList;
+ XHatchList* pHatchingList;
+ XBitmapList* pBitmapList;
+
+ USHORT nPageType;
+ USHORT nDlgType;
+ USHORT nPos;
+
+ ChangeType nColorTableState;
+ ChangeType nBitmapListState;
+ ChangeType nGradientListState;
+ ChangeType nHatchingListState;
+
+public:
+
+ SdPageDlg( SfxObjectShell* pDocSh, Window* pParent, const SfxItemSet* pAttr, BOOL bAreaPage = TRUE );
+ ~SdPageDlg() {};
+
+ virtual void PageCreated(USHORT nId, SfxTabPage& rPage);
+};
+
+#endif // _SD_DLGPAGE_HXX
+
diff --git a/sd/source/ui/inc/dlgsnap.hrc b/sd/source/ui/inc/dlgsnap.hrc
new file mode 100644
index 000000000000..f273004235a5
--- /dev/null
+++ b/sd/source/ui/inc/dlgsnap.hrc
@@ -0,0 +1,74 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgsnap.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define DLG_SNAPLINE 312
+#define BTN_OK 1
+#define BTN_CANCEL 2
+#define BTN_HELP 3
+#define BTN_DELETE 4
+#define GRP_POSITION 5
+#define FT_X 6
+#define MTR_FLD_X 7
+#define FT_Y 8
+#define MTR_FLD_Y 9
+#define GRP_DIRECTION 10
+#define RB_HORIZONTAL 11
+#define RB_VERTICAL 12
+#define RB_POINT 13
diff --git a/sd/source/ui/inc/dlgsnap.hxx b/sd/source/ui/inc/dlgsnap.hxx
new file mode 100644
index 000000000000..cb149574fb69
--- /dev/null
+++ b/sd/source/ui/inc/dlgsnap.hxx
@@ -0,0 +1,139 @@
+/*************************************************************************
+ *
+ * $RCSfile: dlgsnap.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_DLGSNAP_HXX
+#define _SD_DLGSNAP_HXX
+
+
+#ifndef _IMAGEBTN_HXX //autogen
+#include <vcl/imagebtn.hxx>
+#endif
+#ifndef _FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+#ifndef _GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _FRACT_HXX //autogen
+#include <tools/fract.hxx>
+#endif
+#ifndef _DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+/************************************************************************/
+
+class SfxItemSet;
+class SdView;
+
+#define RET_SNAP_DELETE 111
+
+enum SnapKind { SK_HORIZONTAL, SK_VERTICAL, SK_POINT };
+
+
+/*************************************************************************
+|*
+|* Dialog zum Einstellen von Fanglinien und -punkten
+|*
+\************************************************************************/
+
+class SdSnapLineDlg : public ModalDialog
+{
+private:
+ GroupBox aGrpPos;
+ FixedText aFtX;
+ MetricField aMtrFldX;
+ FixedText aFtY;
+ MetricField aMtrFldY;
+ GroupBox aGrpDir;
+ ImageRadioButton aRbPoint;
+ ImageRadioButton aRbVert;
+ ImageRadioButton aRbHorz;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ PushButton aBtnDelete;
+ long nXValue;
+ long nYValue;
+ FieldUnit eUIUnit;
+ Fraction aUIScale;
+
+ DECL_LINK( ClickHdl, Button * );
+
+public:
+ SdSnapLineDlg(Window* pWindow, const SfxItemSet& rInAttrs, SdView* pView);
+
+ void GetAttr(SfxItemSet& rOutAttrs);
+
+ void HideRadioGroup();
+ void HideDeleteBtn() { aBtnDelete.Hide(); }
+ void SetInputFields(BOOL bEnableX, BOOL bEnableY);
+};
+
+
+
+#endif // _SD_DLGSNAP_HXX
diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx
new file mode 100644
index 000000000000..1a8507d7a76f
--- /dev/null
+++ b/sd/source/ui/inc/docprev.hxx
@@ -0,0 +1,114 @@
+/*************************************************************************
+ *
+ * $RCSfile: docprev.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_DOCPREV_HXX_
+#define _SD_DOCPREV_HXX_
+
+#ifndef _COM_SUN_STAR_PRESENTATION_FADEEFFECT_HPP_
+#include <com/sun/star/presentation/FadeEffect.hpp>
+#endif
+
+#ifndef _SV_WINDOW_HXX //autogen
+#include <vcl/window.hxx>
+#endif
+
+#ifndef _SV_GEN_HXX //autogen
+#include <tools/gen.hxx>
+#endif
+
+#ifndef _SD_FADEDEF_H
+#include <fadedef.h>
+#endif
+
+class GDIMetaFile;
+
+class SdDocPreviewWin : public Control
+{
+protected:
+ GDIMetaFile* pMetaFile;
+ BOOL bInEffect;
+ Link aClickHdl;
+ SfxObjectShell* m_pObj;
+
+ virtual void Paint( const Rectangle& rRect );
+ static void CalcSizeAndPos( GDIMetaFile* pFile, Size& rSize, Point& rPoint );
+ static void ImpPaint( GDIMetaFile* pFile, OutputDevice* pVDev );
+
+ static const int FRAME;
+
+public:
+ SdDocPreviewWin( Window* pParent, const ResId& rResId );
+ SdDocPreviewWin( Window* pParent );
+ ~SdDocPreviewWin() { delete pMetaFile; }
+ void SetObjectShell( SfxObjectShell* pObj, USHORT nShowPage = 0 );
+ void SetGDIFile( GDIMetaFile* pFile );
+ virtual void Resize();
+ void ShowEffect( ::com::sun::star::presentation::FadeEffect eEffect, FadeSpeed eSpeed );
+
+ virtual long Notify( NotifyEvent& rNEvt );
+
+ void SetClickHdl( const Link& rLink ) { aClickHdl = rLink; }
+ const Link& GetClickHdl() const { return aClickHdl; }
+
+};
+
+#endif
+
diff --git a/sd/source/ui/inc/drawview.hxx b/sd/source/ui/inc/drawview.hxx
new file mode 100644
index 000000000000..36f9f538068f
--- /dev/null
+++ b/sd/source/ui/inc/drawview.hxx
@@ -0,0 +1,145 @@
+/*************************************************************************
+ *
+ * $RCSfile: drawview.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_DRAWVIEW_HXX
+#define _SD_DRAWVIEW_HXX
+
+
+//#ifndef _SD_SDVIEW_HXX
+#include "sdview.hxx"
+//#endif
+
+class SdDrawDocShell;
+class SdDrawViewShell;
+class FuSlideShow;
+
+#define SDDRAWVIEW_MAGIC 0x456789BA
+
+/*************************************************************************
+|*
+|* Ableitung von SdView; enthaelt auch einen Zeiger auf das Dokument
+|*
+\************************************************************************/
+
+class SdDrawView : public SdView
+{
+ SdDrawDocShell* pDocShell;
+ SdDrawViewShell* pDrawViewShell;
+ VirtualDevice* pVDev;
+
+ USHORT nPOCHSmph; // zum blockieren des PageOrderChangedHint
+ USHORT nPresPaintSmph; // zum Blockieren des Zeichnens
+ // in der Diashow
+ BOOL bPixelMode;
+ FuSlideShow* pSlideShow;
+ BOOL bInAnimation;
+ ULONG nMagic;
+
+ BOOL bActionMode;
+
+ protected:
+ virtual void ModelHasChanged();
+
+ public:
+ TYPEINFO();
+
+ SdDrawView(SdDrawDocShell* pDocSh, OutputDevice* pOutDev,
+ SdDrawViewShell* pShell);
+ ~SdDrawView();
+
+ virtual void MarkListHasChanged();
+ void InitRedraw(OutputDevice* pOutDev, const Region& rReg);
+
+ virtual BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll = FALSE);
+
+ virtual void SFX_NOTIFY(SfxBroadcaster& rBC, const TypeId& rBCType,
+ const SfxHint& rHint, const TypeId& rHintType);
+
+ void BlockPageOrderChangedHint(BOOL bBlock);
+
+ BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr = FALSE);
+ virtual BOOL IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const;
+
+ void AllowPresPaint(BOOL bAllowed);
+ BOOL IsPresPaintAllowed() const { return nPresPaintSmph == 0; }
+ void SetPixelMode(BOOL bOn);
+ BOOL IsPixelMode() const { return bPixelMode; }
+ void SetActionMode(BOOL bOn) { bActionMode = bOn; }
+ BOOL IsActionMode() const { return bActionMode; }
+
+ virtual void MakeVisible(const Rectangle&, Window& rWin);
+ virtual void HidePage(SdrPageView* pPV);
+
+ void PresPaint(const Region& rRegion);
+ DECL_LINK(PaintProc, SdrPaintProcRec*);
+
+ void SetAnimationMode(BOOL bStart);
+ void HideAndAnimateObject(SdrObject* pObj);
+ void AnimatePage();
+ BOOL IsInAnimation() { return bInAnimation; }
+ FuSlideShow* GetSlideShow() { return pSlideShow; }
+
+ virtual SdrObject* GetMaxToBtmObj(SdrObject* pObj) const;
+};
+
+
+
+#endif // _SD_DRAWVIEW_HXX
diff --git a/sd/source/ui/inc/enumdlg.hrc b/sd/source/ui/inc/enumdlg.hrc
new file mode 100644
index 000000000000..4fb37f0cb3a2
--- /dev/null
+++ b/sd/source/ui/inc/enumdlg.hrc
@@ -0,0 +1,76 @@
+/*************************************************************************
+ *
+ * $RCSfile: enumdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TP_ENUM_BULLET 943
+#define LB_STYLE 1
+#define GRP_STYLE 1
+#define FT_ENUM 1
+#define NUM_FLD_ENUM 1
+#define FT_PREVIEW_ENUM 2
+#define GRP_ENUM 3
+#define BTN_GET_BULLET 1
+#define CTL_BULLET_PREVIEW 1
+#define GRP_BULLET 2
+#define MTR_FLD_SIZE 1
+#define LB_BULLET_COLOR 2
+#define FT_BULLET_SIZE 3
+#define FT_BULLET_COLOR 4
+#define FT_SAMPLE 5
+#define TSB_USE_BULLET 1
diff --git a/sd/source/ui/inc/fontwork.hrc b/sd/source/ui/inc/fontwork.hrc
new file mode 100644
index 000000000000..6eb567a38f8a
--- /dev/null
+++ b/sd/source/ui/inc/fontwork.hrc
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * $RCSfile: fontwork.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define GRP_STYLE 1
+#define BTN_STYLE_OFF 1
+#define BTN_STYLE_ROTATE 2
+#define BTN_STYLE_UPRIGHT 3
+#define BTN_STYLE_SLANTX 4
+#define BTN_STYLE_SLANTY 5
+#define CBX_MIRROR 1
+#define MTR_FLD_DISTANCE 1
+#define MTR_FLD_TEXTSTART 2
+#define BTN_POS_LEFT 6
+#define BTN_POS_CENTER 7
+#define BTN_POS_RIGHT 8
+#define BTN_POS_FULL 9
+#define GRP_POS 2
+#define FT_DISTANCE 1
+#define FT_TEXTSTART 2
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
diff --git a/sd/source/ui/inc/fuarea.hxx b/sd/source/ui/inc/fuarea.hxx
new file mode 100644
index 000000000000..08248027bee4
--- /dev/null
+++ b/sd/source/ui/inc/fuarea.hxx
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuarea.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_FUAREA_HXX
+#define _SD_FUAREA_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuArea : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuArea(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuArea() {}
+
+ virtual void Activate() {}
+ virtual void Deactivate() {}
+};
+
+#endif // _SD_FUAREA_HXX
+
diff --git a/sd/source/ui/inc/fubullet.hxx b/sd/source/ui/inc/fubullet.hxx
new file mode 100644
index 000000000000..2c1101aba303
--- /dev/null
+++ b/sd/source/ui/inc/fubullet.hxx
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * $RCSfile: fubullet.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUBULLET_HXX
+#define _SD_FUBULLET_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuBullet : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuBullet( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuBullet() {}
+};
+
+#endif // _SD_FUBULLET_HXX
+
diff --git a/sd/source/ui/inc/fuchar.hxx b/sd/source/ui/inc/fuchar.hxx
new file mode 100644
index 000000000000..4b9f64d395d8
--- /dev/null
+++ b/sd/source/ui/inc/fuchar.hxx
@@ -0,0 +1,83 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuchar.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCHAR_HXX
+#define _SD_FUCHAR_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuChar : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuChar(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuChar() {}
+
+ virtual void Activate() {} // Function aktivieren
+ virtual void Deactivate() {} // Function deaktivieren
+};
+
+#endif // _SD_FUCHAR_HXX
+
diff --git a/sd/source/ui/inc/fucon3d.hxx b/sd/source/ui/inc/fucon3d.hxx
new file mode 100644
index 000000000000..ad20fa4b5ef0
--- /dev/null
+++ b/sd/source/ui/inc/fucon3d.hxx
@@ -0,0 +1,99 @@
+/*************************************************************************
+ *
+ * $RCSfile: fucon3d.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCON3D_HXX
+#define _SD_FUCON3D_HXX
+
+#ifndef _SD_FUCONSTR_HXX
+#include "fuconstr.hxx"
+#endif
+
+
+/*************************************************************************
+|*
+|* Rechteck zeichnen
+|*
+\************************************************************************/
+
+class FuConst3dObj : public FuConstruct
+{
+ public:
+ TYPEINFO();
+
+ FuConst3dObj(SdViewShell* pViewSh, SdWindow* pWin,
+ SdView* pView, SdDrawDocument* pDoc,
+ SfxRequest& rReq);
+
+ virtual ~FuConst3dObj();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+
+#endif // _SD_FUCON3D_HXX
+
diff --git a/sd/source/ui/inc/fuconarc.hxx b/sd/source/ui/inc/fuconarc.hxx
new file mode 100644
index 000000000000..76906e403ffb
--- /dev/null
+++ b/sd/source/ui/inc/fuconarc.hxx
@@ -0,0 +1,99 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuconarc.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCONARC_HXX
+#define _SD_FUCONARC_HXX
+
+#ifndef _SD_FUCONSTR_HXX
+#include "fuconstr.hxx"
+#endif
+
+
+/*************************************************************************
+|*
+|* Rechteck zeichnen
+|*
+\************************************************************************/
+
+class FuConstArc : public FuConstruct
+{
+ public:
+ TYPEINFO();
+
+ FuConstArc( SdViewShell* pViewSh, SdWindow* pWin,
+ SdView* pView, SdDrawDocument* pDoc,
+ SfxRequest& rReq);
+
+ virtual ~FuConstArc();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+
+#endif // _SD_FUCONARC_HXX
+
diff --git a/sd/source/ui/inc/fuconbez.hxx b/sd/source/ui/inc/fuconbez.hxx
new file mode 100644
index 000000000000..8bffb428e56d
--- /dev/null
+++ b/sd/source/ui/inc/fuconbez.hxx
@@ -0,0 +1,111 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuconbez.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCONBEZ_HXX
+#define _SD_FUCONBEZ_HXX
+
+#ifndef _SD_FUCONSTR_HXX
+#include "fuconstr.hxx"
+#endif
+
+class SdDrawViewShell;
+class SdWindow;
+class SdDrawView;
+class SdDrawDocument;
+
+
+
+/*************************************************************************
+|*
+|* Basisklasse fuer alle Funktionen
+|*
+\************************************************************************/
+
+class FuConstBezPoly : public FuConstruct
+{
+ protected:
+ USHORT nEditMode;
+
+ public:
+ TYPEINFO();
+
+ FuConstBezPoly(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuConstBezPoly();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ virtual void SelectionHasChanged();
+
+ void SetEditMode(USHORT nMode);
+ USHORT GetEditMode() { return nEditMode; }
+};
+
+
+#endif // _FUCONBEZ_HXX
+
diff --git a/sd/source/ui/inc/fuconnct.hxx b/sd/source/ui/inc/fuconnct.hxx
new file mode 100644
index 000000000000..4b9478316727
--- /dev/null
+++ b/sd/source/ui/inc/fuconnct.hxx
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuconnct.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_FUCONNCT_HXX
+#define _SD_FUCONNCT_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuConnectionDlg : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuConnectionDlg( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuConnectionDlg() {}
+};
+
+#endif // _SD_FUCONNCT_HXX
+
diff --git a/sd/source/ui/inc/fuconrec.hxx b/sd/source/ui/inc/fuconrec.hxx
new file mode 100644
index 000000000000..76ae5aa04db8
--- /dev/null
+++ b/sd/source/ui/inc/fuconrec.hxx
@@ -0,0 +1,106 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuconrec.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCONREC_HXX
+#define _SD_FUCONREC_HXX
+
+#ifndef _SFXITEMSET_HXX //autogen
+#include <svtools/itemset.hxx>
+#endif
+
+#ifndef _SD_FUCONSTR_HXX
+#include "fuconstr.hxx"
+#endif
+
+
+/*************************************************************************
+|*
+|* Rechteck zeichnen
+|*
+\************************************************************************/
+
+class FuConstRectangle : public FuConstruct
+{
+ public:
+ TYPEINFO();
+
+ FuConstRectangle(SdViewShell* pViewSh, SdWindow* pWin,
+ SdView* pView, SdDrawDocument* pDoc,
+ SfxRequest& rReq);
+
+ virtual ~FuConstRectangle();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ void SetAttributes(SfxItemSet& rAttr, SdrObject* pObj);
+ void SetLineEnds(SfxItemSet& rAttr, SdrObject* pObj);
+};
+
+
+
+#endif // _SD_FUCONREC_HXX
+
diff --git a/sd/source/ui/inc/fuconstr.hxx b/sd/source/ui/inc/fuconstr.hxx
new file mode 100644
index 000000000000..81d8f58efdc2
--- /dev/null
+++ b/sd/source/ui/inc/fuconstr.hxx
@@ -0,0 +1,114 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuconstr.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCONSTR_HXX
+#define _SD_FUCONSTR_HXX
+
+#ifndef _SFXITEMSET_HXX //autogen
+#include <svtools/itemset.hxx>
+#endif
+
+#ifndef _SD_FUDRAW_HXX
+#include "fudraw.hxx"
+#endif
+
+class SdrObject;
+
+/************************************************************************/
+
+#define MIN_FREEHAND_DISTANCE 10
+
+
+/*************************************************************************
+|*
+|* Rechteck zeichnen
+|*
+\************************************************************************/
+
+class FuConstruct : public FuDraw
+{
+ protected:
+ BOOL bSelectionChanged;
+
+ public:
+ TYPEINFO();
+
+ FuConstruct(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuConstruct();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ virtual void SelectionHasChanged() { bSelectionChanged = TRUE; }
+
+ void SetStyleSheet(SfxItemSet& rAttr, SdrObject* pObj);
+};
+
+
+
+#endif // _SD_FUCONSTR_HXX
diff --git a/sd/source/ui/inc/fuconuno.hxx b/sd/source/ui/inc/fuconuno.hxx
new file mode 100644
index 000000000000..5183ad37fec4
--- /dev/null
+++ b/sd/source/ui/inc/fuconuno.hxx
@@ -0,0 +1,109 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuconuno.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCONUNO_HXX
+#define _SD_FUCONUNO_HXX
+
+#ifndef _SFXITEMSET_HXX //autogen
+#include <svtools/itemset.hxx>
+#endif
+
+#ifndef _SD_FUCONSTR_HXX
+#include "fuconstr.hxx"
+#endif
+
+
+/*************************************************************************
+|*
+|* Control zeichnen
+|*
+\************************************************************************/
+
+class FuConstUnoControl : public FuConstruct
+{
+ UINT32 nInventor;
+ UINT16 nIdentifier;
+
+protected:
+ String aOldLayer;
+
+public:
+ TYPEINFO();
+
+ FuConstUnoControl(SdViewShell* pViewSh, SdWindow* pWin,
+ SdView* pView, SdDrawDocument* pDoc,
+ SfxRequest& rReq);
+
+ virtual ~FuConstUnoControl();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+
+#endif // _SD_FUCONCTL_HXX
+
diff --git a/sd/source/ui/inc/fucopy.hxx b/sd/source/ui/inc/fucopy.hxx
new file mode 100644
index 000000000000..e11844f75512
--- /dev/null
+++ b/sd/source/ui/inc/fucopy.hxx
@@ -0,0 +1,84 @@
+/*************************************************************************
+ *
+ * $RCSfile: fucopy.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUCOPY_HXX
+#define _SD_FUCOPY_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuCopy : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuCopy(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuCopy();
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+#endif // _SD_FUCOPY_HXX
+
diff --git a/sd/source/ui/inc/fucushow.hxx b/sd/source/ui/inc/fucushow.hxx
new file mode 100644
index 000000000000..29c6d7734433
--- /dev/null
+++ b/sd/source/ui/inc/fucushow.hxx
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * $RCSfile: fucushow.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_FUCUSHOW_HXX
+#define _SD_FUCUSHOW_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuCustomShowDlg : public FuPoor
+{
+public:
+
+ TYPEINFO();
+
+ FuCustomShowDlg( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuCustomShowDlg() {}
+};
+
+#endif // _SD_FUCUSHOW_HXX
diff --git a/sd/source/ui/inc/fudraw.hxx b/sd/source/ui/inc/fudraw.hxx
new file mode 100644
index 000000000000..84c3b4aa95d8
--- /dev/null
+++ b/sd/source/ui/inc/fudraw.hxx
@@ -0,0 +1,125 @@
+/*************************************************************************
+ *
+ * $RCSfile: fudraw.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUDRAW_HXX
+#define _SD_FUDRAW_HXX
+
+#ifndef _SV_POINTR_HXX //autogen
+#include <vcl/pointr.hxx>
+#endif
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+struct SdrViewEvent;
+class SdrObject;
+
+
+/*************************************************************************
+|*
+|* Basisklasse fuer alle Drawmodul-spezifischen Funktionen
+|*
+\************************************************************************/
+
+class FuDraw : public FuPoor
+{
+ protected:
+ Pointer aNewPointer;
+ Pointer aOldPointer;
+ BOOL bMBDown;
+ BOOL bDragHelpLine;
+ USHORT nHelpLine;
+ BOOL bPermanent;
+
+ public:
+ TYPEINFO();
+
+ FuDraw(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuDraw();
+
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+ virtual BOOL Command(const CommandEvent& rCEvt);
+ virtual BOOL RequestHelp(const HelpEvent& rHEvt);
+
+ virtual void ScrollStart();
+ virtual void ScrollEnd();
+
+ virtual void Activate();
+ virtual void Deactivate();
+
+ virtual void ForcePointer(const MouseEvent* pMEvt = NULL);
+
+ virtual void DoubleClick(const MouseEvent& rMEvt);
+
+ BOOL SetPointer(SdrObject* pObj, const Point& rPos);
+ BOOL SetHelpText(SdrObject* pObj, const Point& rPos, const SdrViewEvent& rVEvt);
+
+ void SetPermanent(BOOL bSet) { bPermanent = bSet; }
+};
+
+
+
+#endif // _SD_FUDRAW_HXX
diff --git a/sd/source/ui/inc/fudspord.hxx b/sd/source/ui/inc/fudspord.hxx
new file mode 100644
index 000000000000..c27619008376
--- /dev/null
+++ b/sd/source/ui/inc/fudspord.hxx
@@ -0,0 +1,104 @@
+/*************************************************************************
+ *
+ * $RCSfile: fudspord.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUDSPORD_HXX
+#define _SD_FUDSPORD_HXX
+
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdrObject;
+class SdrViewUserMarker;
+/*************************************************************************
+|*
+|* Funktion DisplayOrder
+|*
+\************************************************************************/
+
+class FuDisplayOrder : public FuPoor
+{
+ protected:
+ Pointer aPtr;
+ SdrObject* pRefObj;
+ SdrViewUserMarker* pUserMarker;
+
+ public:
+ TYPEINFO();
+
+ FuDisplayOrder(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuDisplayOrder();
+ // Mouse- & Key-Events
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+
+#endif // _SD_FUDSPORD_HXX
+
diff --git a/sd/source/ui/inc/fuediglu.hxx b/sd/source/ui/inc/fuediglu.hxx
new file mode 100644
index 000000000000..612a715f3cac
--- /dev/null
+++ b/sd/source/ui/inc/fuediglu.hxx
@@ -0,0 +1,99 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuediglu.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUEDIGLU_HXX
+#define _SD_FUEDIGLU_HXX
+
+#ifndef _SD_FUDRAW_HXX
+#include "fudraw.hxx"
+#endif
+
+/*************************************************************************
+|*
+|* FuEditGluePoints
+|*
+\************************************************************************/
+
+class FuEditGluePoints : public FuDraw
+{
+ public:
+ TYPEINFO();
+
+ FuEditGluePoints(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuEditGluePoints();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+ virtual BOOL Command(const CommandEvent& rCEvt);
+ virtual void ReceiveRequest(SfxRequest& rReq);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+
+#endif // _SD_FUEDIGLU_HXX
+
diff --git a/sd/source/ui/inc/fuexpand.hxx b/sd/source/ui/inc/fuexpand.hxx
new file mode 100644
index 000000000000..8677d70116dc
--- /dev/null
+++ b/sd/source/ui/inc/fuexpand.hxx
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuexpand.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUEXPAND_HXX
+#define _SD_FUEXPAND_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuExpandPage : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuExpandPage(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuExpandPage() {}
+};
+
+#endif // _SD_FUEXPAND_HXX
+
diff --git a/sd/source/ui/inc/fugrid.hxx b/sd/source/ui/inc/fugrid.hxx
new file mode 100644
index 000000000000..b6cf1bdf93d2
--- /dev/null
+++ b/sd/source/ui/inc/fugrid.hxx
@@ -0,0 +1,83 @@
+/*************************************************************************
+ *
+ * $RCSfile: fugrid.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUGRID_HXX
+#define _SD_FUGRID_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuGrid : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuGrid(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuGrid() {}
+
+ virtual void Activate() {} // Function aktivieren
+ virtual void Deactivate() {} // Function deaktivieren
+};
+
+#endif // _SD_FUGRID_HXX
+
diff --git a/sd/source/ui/inc/fuinsert.hxx b/sd/source/ui/inc/fuinsert.hxx
new file mode 100644
index 000000000000..3999532b1981
--- /dev/null
+++ b/sd/source/ui/inc/fuinsert.hxx
@@ -0,0 +1,116 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuinsert.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUINSERT_HXX
+#define _SD_FUINSERT_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuInsertGraphic : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuInsertGraphic( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuInsertGraphic();
+};
+
+/************************************************************************/
+
+class FuInsertClipboard : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuInsertClipboard( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuInsertClipboard();
+};
+
+/************************************************************************/
+
+class FuInsertOLE : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuInsertOLE( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuInsertOLE();
+};
+
+/************************************************************************/
+
+class FuInsertTwain : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuInsertTwain( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq,
+ const Bitmap& rBmp );
+};
+
+#endif // _SD_FUINSERT_HXX
+
diff --git a/sd/source/ui/inc/fuinsfil.hxx b/sd/source/ui/inc/fuinsfil.hxx
new file mode 100644
index 000000000000..4f47f8adb610
--- /dev/null
+++ b/sd/source/ui/inc/fuinsfil.hxx
@@ -0,0 +1,97 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuinsfil.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUINSFIL_HXX
+#define _SD_FUINSFIL_HXX
+
+struct StyleRequestData;
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SfxMedium;
+
+class FuInsertFile : public FuPoor
+{
+private:
+ String aLayoutName; // Layoutname der aktuell eingefuegten Seite
+ String aFilterName; // gewaehlter Dateifilter
+ String aFile; // gewaehlter Dateiname
+
+ void InsTextOrRTFinOlMode(SfxMedium* pMedium);
+ void InsSDDinOlMode(SfxMedium* pMedium);
+ void InsTextOrRTFinDrMode(SfxMedium* pMedium);
+ BOOL InsSDDinDrMode(SfxMedium* pMedium); // abbrechbar
+
+public:
+ TYPEINFO();
+
+ FuInsertFile(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuInsertFile();
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+#endif // _SD_FUINSFIL_HXX
+
diff --git a/sd/source/ui/inc/fuline.hxx b/sd/source/ui/inc/fuline.hxx
new file mode 100644
index 000000000000..af632d1e5d75
--- /dev/null
+++ b/sd/source/ui/inc/fuline.hxx
@@ -0,0 +1,84 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuline.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FULINE_HXX
+#define _SD_FULINE_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuLine : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuLine(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuLine() {}
+
+ virtual void Activate() {}
+ virtual void Deactivate() {}
+};
+
+#endif // _SD_FUTRANSF_HXX
+
diff --git a/sd/source/ui/inc/fulinend.hxx b/sd/source/ui/inc/fulinend.hxx
new file mode 100644
index 000000000000..6e49dfdf1bc8
--- /dev/null
+++ b/sd/source/ui/inc/fulinend.hxx
@@ -0,0 +1,84 @@
+/*************************************************************************
+ *
+ * $RCSfile: fulinend.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FULINEND_HXX
+#define _SD_FULINEND_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuLineEnd : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuLineEnd(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuLineEnd() {}
+
+ virtual void Activate() {}
+ virtual void Deactivate() {}
+};
+
+#endif // _SD_FULINEND_HXX
+
diff --git a/sd/source/ui/inc/fulink.hxx b/sd/source/ui/inc/fulink.hxx
new file mode 100644
index 000000000000..7f1fb17a1a67
--- /dev/null
+++ b/sd/source/ui/inc/fulink.hxx
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * $RCSfile: fulink.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FULINK_HXX
+#define _SD_FULINK_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuLink : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuLink( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq );
+ ~FuLink() {}
+};
+
+#endif // _SD_FULINK_HXX
+
+
diff --git a/sd/source/ui/inc/fumeasur.hxx b/sd/source/ui/inc/fumeasur.hxx
new file mode 100644
index 000000000000..7b357b989cd9
--- /dev/null
+++ b/sd/source/ui/inc/fumeasur.hxx
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * $RCSfile: fumeasur.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUMEASUR_HXX
+#define _SD_FUMEASUR_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuMeasureDlg : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuMeasureDlg( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuMeasureDlg() {}
+};
+
+#endif // _SD_FUMEASUR_HXX
+
diff --git a/sd/source/ui/inc/fumorph.hxx b/sd/source/ui/inc/fumorph.hxx
new file mode 100644
index 000000000000..d50d1d02c776
--- /dev/null
+++ b/sd/source/ui/inc/fumorph.hxx
@@ -0,0 +1,103 @@
+/*************************************************************************
+ *
+ * $RCSfile: fumorph.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUMORPH_HXX
+#define _SD_FUMORPH_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+#include <math.h>
+
+/*************************************************************************
+|*
+\************************************************************************/
+class PolyPolygon3D;
+class Polygon3D;
+class Vector3D;
+
+class FuMorph : public FuPoor
+{
+ void ImpInsertPolygons(List& rPolyPolyList3D, BOOL bAttributeFade,
+ const SdrObject* pObj1, const SdrObject* pObj2);
+ PolyPolygon3D* ImpCreateMorphedPolygon(
+ const PolyPolygon3D& rPolyPolyStart,
+ const PolyPolygon3D& rPolyPolyEnd,
+ const double fMorphingFactor);
+ BOOL ImpMorphPolygons(
+ const PolyPolygon3D& rPolyPoly1, const PolyPolygon3D& rPolyPoly2,
+ const USHORT nSteps, List& rPolyPolyList3D);
+ void ImpAddPolys(PolyPolygon3D& rSmaller, const PolyPolygon3D& rBigger);
+ void ImpEqualizePolyPointCount(Polygon3D& rSmall, const Polygon3D& rBig);
+ sal_uInt16 ImpGetNearestIndex(const Polygon3D& rPoly, const Vector3D& rPos);
+
+public:
+ TYPEINFO();
+
+ FuMorph(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuMorph() {}
+};
+
+#endif // _SD_FUMORPH_HXX
+
+
diff --git a/sd/source/ui/inc/fuoaprms.hxx b/sd/source/ui/inc/fuoaprms.hxx
new file mode 100644
index 000000000000..c6739d6e8004
--- /dev/null
+++ b/sd/source/ui/inc/fuoaprms.hxx
@@ -0,0 +1,88 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuoaprms.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUOAPRMS_HXX
+#define _SD_FUOAPRMS_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuObjectAnimationParameters : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuObjectAnimationParameters(SdViewShell* pViewSh, SdWindow* pWin,
+ SdView* pView, SdDrawDocument* pDoc,
+ SfxRequest& rReq);
+ virtual ~FuObjectAnimationParameters();
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+};
+
+#endif _SD_FUOAPRMS_HXX
+
+
+
+
diff --git a/sd/source/ui/inc/fuolbull.hxx b/sd/source/ui/inc/fuolbull.hxx
new file mode 100644
index 000000000000..99aea4a252b9
--- /dev/null
+++ b/sd/source/ui/inc/fuolbull.hxx
@@ -0,0 +1,94 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuolbull.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUOLBULL_HXX
+#define _SD_FUOLBULL_HXX
+
+#ifndef _SD_FUOUTL_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdViewShell;
+class SdView;
+class SdWindow;
+class SdDrawDocument;
+class SfxRequest;
+
+/*************************************************************************
+|*
+|* Bulletfunktionen im Outlinermodus
+|*
+\************************************************************************/
+class FuOutlineBullet : public FuPoor
+{
+public:
+ TYPEINFO();
+
+ FuOutlineBullet(SdViewShell* pViewShell, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuOutlineBullet();
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+#endif // _SD_FUOLBULL_HXX
diff --git a/sd/source/ui/inc/fuoltext.hxx b/sd/source/ui/inc/fuoltext.hxx
new file mode 100644
index 000000000000..45a75f1fd033
--- /dev/null
+++ b/sd/source/ui/inc/fuoltext.hxx
@@ -0,0 +1,103 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuoltext.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUOLTEXT_HXX
+#define _SD_FUOLTEXT_HXX
+
+#ifndef _SD_FUOUTL_HXX
+#include "fuoutl.hxx"
+#endif
+
+class SdViewShell;
+class SdView;
+class SdWindow;
+class SdDrawDocument;
+class SfxRequest;
+
+/*************************************************************************
+|*
+|* Textfunktionen im Outlinermodus
+|*
+\************************************************************************/
+class FuOutlineText : public FuOutline
+{
+public:
+ TYPEINFO();
+
+ FuOutlineText(SdViewShell* pViewShell, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuOutlineText();
+
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void DoCut();
+ virtual void DoCopy();
+ virtual void DoPaste();
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+#endif // _SD_FUOLTEXT_HXX
diff --git a/sd/source/ui/inc/fuoutl.hxx b/sd/source/ui/inc/fuoutl.hxx
new file mode 100644
index 000000000000..3df1799d3b7f
--- /dev/null
+++ b/sd/source/ui/inc/fuoutl.hxx
@@ -0,0 +1,116 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuoutl.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUOUTL_HXX
+#define _SD_FUOUTL_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdViewShell;
+class SdOutlineViewShell;
+class SdView;
+class SdOutlineView;
+class SdWindow;
+class SdDrawDocument;
+class SfxRequest;
+
+
+/*************************************************************************
+|*
+|* Basisklasse der Funktionen des Outlinemodus
+|*
+\************************************************************************/
+
+class FuOutline : public FuPoor
+{
+ protected:
+ SdOutlineViewShell* pOutlineViewShell;
+ SdOutlineView* pOutlineView;
+
+ public:
+ TYPEINFO();
+
+ FuOutline(SdViewShell* pViewShell, SdWindow* pWindow, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuOutline();
+
+ virtual BOOL KeyInput(const KeyEvent& rKEvt)
+ { return FuPoor::KeyInput(rKEvt); }
+ virtual BOOL MouseMove(const MouseEvent& rMEvt)
+ { return FuPoor::MouseMove(rMEvt); }
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt)
+ { return FuPoor::MouseMove(rMEvt); }
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt)
+ { return FuPoor::MouseMove(rMEvt); }
+ virtual BOOL Command(const CommandEvent& rCEvt);
+
+
+ virtual void Activate() { FuPoor::Activate(); }
+ virtual void Deactivate() { FuPoor::Deactivate(); }
+
+ virtual void ScrollStart() {}
+ virtual void ScrollEnd() {}
+};
+
+
+#endif // _SD_FUOUTL_HXX
diff --git a/sd/source/ui/inc/fupage.hxx b/sd/source/ui/inc/fupage.hxx
new file mode 100644
index 000000000000..aba27d2d958b
--- /dev/null
+++ b/sd/source/ui/inc/fupage.hxx
@@ -0,0 +1,83 @@
+/*************************************************************************
+ *
+ * $RCSfile: fupage.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUPAGE_HXX
+#define _SD_FUPAGE_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuPage : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuPage( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq );
+ ~FuPage() {}
+
+ virtual void Activate() {} // Function aktivieren
+ virtual void Deactivate() {} // Function deaktivieren
+};
+
+#endif // _SD_FUPAGE_HXX
+
diff --git a/sd/source/ui/inc/fuparagr.hxx b/sd/source/ui/inc/fuparagr.hxx
new file mode 100644
index 000000000000..86f54e866a84
--- /dev/null
+++ b/sd/source/ui/inc/fuparagr.hxx
@@ -0,0 +1,83 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuparagr.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUPARAGR_HXX
+#define _SD_FUPARAGR_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuParagraph : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuParagraph( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuParagraph() {}
+
+ virtual void Activate() {} // Function aktivieren
+ virtual void Deactivate() {} // Function deaktivieren
+};
+
+#endif // _SD_FUPARAGR_HXX
+
diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx
new file mode 100644
index 000000000000..a0a0113a7502
--- /dev/null
+++ b/sd/source/ui/inc/fupoor.hxx
@@ -0,0 +1,180 @@
+/*************************************************************************
+ *
+ * $RCSfile: fupoor.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUPOOR_HXX
+#define _SD_FUPOOR_HXX
+
+#ifndef _SV_TIMER_HXX //autogen
+#include <vcl/timer.hxx>
+#endif
+#ifndef _LINK_HXX //autogen
+#include <tools/link.hxx>
+#endif
+#ifndef _GEN_HXX //autogen
+#include <tools/gen.hxx>
+#endif
+#ifndef _SV_EVENT_HXX //autogen
+#include <vcl/event.hxx>
+#endif
+
+class SdView;
+class SdViewShell;
+class SdWindow;
+class SdDrawDocument;
+class SdDrawDocShell;
+class SfxRequest;
+class Dialog;
+
+#define HITPIX 2 // Hit-Toleranz in Pixel
+#define DRGPIX 2 // Drag MinMove in Pixel
+
+
+/*************************************************************************
+|*
+|* Basisklasse fuer alle Funktionen
+|*
+\************************************************************************/
+
+class FuPoor
+{
+ protected:
+ SdView* pView;
+ SdViewShell* pViewShell;
+ SdWindow* pWindow;
+ SdDrawDocShell* pDocSh;
+ SdDrawDocument* pDoc;
+
+ USHORT nSlotId;
+ USHORT nSlotValue;
+
+ Dialog* pDialog;
+
+ Timer aScrollTimer; // fuer Autoscrolling
+ DECL_LINK( ScrollHdl, Timer * );
+ void ForceScroll(const Point& aPixPos);
+
+ Timer aDragTimer; // fuer Drag&Drop
+ DECL_LINK( DragHdl, Timer * );
+ BOOL bIsInDragMode;
+ Point aMDPos; // Position von MouseButtonDown
+
+ // Flag, um AutoScrolling zu verhindern, bis von ausserhalb in das
+ // Fenster hinein gedragt wurde
+ BOOL bNoScrollUntilInside;
+
+ // Timer um das scrolling zu verzoegern, wenn aus dem fenster
+ // herausgedraggt wird (ca. 1 sec.)
+ Timer aDelayToScrollTimer; // fuer Verzoegerung bis scroll
+ BOOL bScrollable;
+ BOOL bDelayActive;
+ BOOL bFirstMouseMove;
+
+ DECL_LINK( DelayHdl, Timer * );
+ long diffPoint (long pos1, long pos2);
+
+ public:
+ TYPEINFO();
+
+ FuPoor(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuPoor();
+
+ SdDrawDocShell* GetDocSh() { return pDocSh; }
+ SdDrawDocument* GetDoc() { return pDoc; }
+
+ virtual void DoCut();
+ virtual void DoCopy();
+ virtual void DoPaste();
+
+ // Mouse- & Key-Events; Returnwert=TRUE: Event wurde bearbeitet
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt) { return FALSE; }
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt) { return FALSE; }
+ virtual BOOL Command(const CommandEvent& rCEvt);
+ virtual BOOL RequestHelp(const HelpEvent& rHEvt);
+ virtual void Paint(const Rectangle& rRect, SdWindow* pWin) {}
+ virtual void ReceiveRequest(SfxRequest& rReq);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ virtual void ScrollStart() {} // diese Funktionen werden von
+ virtual void ScrollEnd() {} // ForceScroll aufgerufen
+
+ void SetWindow(SdWindow* pWin) { pWindow = pWin; }
+ void WriteStatus(const String& aStr); // Statuszeile schreiben
+
+ virtual void SelectionHasChanged() {}
+
+ USHORT GetSlotID() const { return( nSlotId ); }
+ USHORT GetSlotValue() const { return( nSlotValue ); }
+
+ void SetNoScrollUntilInside(BOOL bNoScroll = TRUE)
+ { bNoScrollUntilInside = bNoScroll; }
+
+ void StartDelayToScrollTimer ();
+};
+
+
+
+#endif // _SD_FUPOOR_HXX
+
diff --git a/sd/source/ui/inc/fuprlout.hxx b/sd/source/ui/inc/fuprlout.hxx
new file mode 100644
index 000000000000..73d1322cb861
--- /dev/null
+++ b/sd/source/ui/inc/fuprlout.hxx
@@ -0,0 +1,95 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuprlout.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUPRLOUT_HXX
+#define _SD_FUPRLOUT_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdView;
+class SdViewShell;
+class SdWindow;
+class SdDrawDocument;
+class SfxRequest;
+class SfxStyleSheetBasePool;
+
+class FuPresentationLayout : public FuPoor
+{
+private:
+ void TransferLayoutTemplate(String aFromName, String aToName,
+ SfxStyleSheetBasePool* pFrom,
+ SfxStyleSheetBasePool* pTo);
+
+public:
+ TYPEINFO();
+
+ FuPresentationLayout(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuPresentationLayout();
+
+};
+
+
+
+#endif // _SD_FUPRLOUT_HXX
+
diff --git a/sd/source/ui/inc/fuprobjs.hxx b/sd/source/ui/inc/fuprobjs.hxx
new file mode 100644
index 000000000000..f91a9f52a79b
--- /dev/null
+++ b/sd/source/ui/inc/fuprobjs.hxx
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuprobjs.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUPROBJS_HXX
+#define _SD_FUPROBJS_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdView;
+class SdViewShell;
+class SdWindow;
+class SdDrawDocument;
+class SfxRequest;
+
+
+class FuPresentationObjects : public FuPoor
+{
+
+public:
+ TYPEINFO();
+
+ FuPresentationObjects(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuPresentationObjects();
+
+};
+
+
+
+#endif // _SD_FUPROBJS_HXX
+
diff --git a/sd/source/ui/inc/fuprtmpl.hxx b/sd/source/ui/inc/fuprtmpl.hxx
new file mode 100644
index 000000000000..62d0d8dd5b7f
--- /dev/null
+++ b/sd/source/ui/inc/fuprtmpl.hxx
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuprtmpl.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUPRTMPL_HXX
+#define _SD_FUPRTMPL_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdView;
+class SdViewShell;
+class SdWindow;
+class SdDrawDocument;
+class SfxRequest;
+
+
+class FuPresentationTemplates : public FuPoor
+{
+
+public:
+ TYPEINFO();
+
+ FuPresentationTemplates(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuPresentationTemplates();
+
+};
+
+
+
+#endif // _SD_FUPRTMPL_HXX
+
diff --git a/sd/source/ui/inc/fuscale.hxx b/sd/source/ui/inc/fuscale.hxx
new file mode 100644
index 000000000000..746589340b01
--- /dev/null
+++ b/sd/source/ui/inc/fuscale.hxx
@@ -0,0 +1,84 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuscale.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_FUSCALE_HXX
+#define _SD_FUSCALE_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuScale : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuScale(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuScale();
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+#endif // _SD_FUSCALE_HXX
+
diff --git a/sd/source/ui/inc/fusearch.hxx b/sd/source/ui/inc/fusearch.hxx
new file mode 100644
index 000000000000..8da47c3cc4aa
--- /dev/null
+++ b/sd/source/ui/inc/fusearch.hxx
@@ -0,0 +1,92 @@
+/*************************************************************************
+ *
+ * $RCSfile: fusearch.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUSEARCH_HXX
+#define _SD_FUSEARCH_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdOutliner;
+class SvxSearchItem;
+
+class FuSearch : public FuPoor
+{
+ protected:
+ SdOutliner* pSdOutliner;
+ BOOL bOwnOutliner;
+
+ public:
+ TYPEINFO();
+
+ FuSearch( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq );
+ ~FuSearch();
+
+ void SearchAndReplace( const SvxSearchItem* pSearchItem );
+
+ SdOutliner* GetOutliner() const { return pSdOutliner; }
+};
+
+#endif // _SD_FUSEARCH_HXX
+
+
diff --git a/sd/source/ui/inc/fusel.hxx b/sd/source/ui/inc/fusel.hxx
new file mode 100644
index 000000000000..00501a75f7ff
--- /dev/null
+++ b/sd/source/ui/inc/fusel.hxx
@@ -0,0 +1,122 @@
+/*************************************************************************
+ *
+ * $RCSfile: fusel.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUSEL_HXX
+#define _SD_FUSEL_HXX
+
+#ifndef _SD_FUDRAW_HXX
+#include "fudraw.hxx"
+#endif
+
+class SdrHdl;
+class SdrObject;
+class Sound;
+
+
+/*************************************************************************
+|*
+|* Basisklasse fuer alle Funktionen
+|*
+\************************************************************************/
+
+class FuSelection : public FuDraw
+{
+ protected:
+ BOOL bTempRotation;
+ BOOL bSelectionChanged;
+ BOOL bHideAndAnimate;
+ SdrHdl* pHdl;
+ BOOL bSuppressChangesOfSelection;
+ BOOL bMirrorSide0;
+ USHORT nEditMode;
+ Sound* pSound;
+
+ DECL_LINK( SoundHasStoppedHdl, void* );
+ DECL_STATIC_LINK( FuSelection, StaticSoundHasStoppedHdl, Sound* );
+
+ public:
+ TYPEINFO();
+
+ FuSelection(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuSelection();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ virtual void SelectionHasChanged();
+
+ void SetEditMode(USHORT nMode);
+ USHORT GetEditMode() { return nEditMode; }
+
+ BOOL AnimateObj(SdrObject* pObj, const Point& rPos);
+};
+
+
+
+#endif // _SD_FUSEL_HXX
+
diff --git a/sd/source/ui/inc/fusldlg.hxx b/sd/source/ui/inc/fusldlg.hxx
new file mode 100644
index 000000000000..7172a1860373
--- /dev/null
+++ b/sd/source/ui/inc/fusldlg.hxx
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * $RCSfile: fusldlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_FUSLDLG_HXX
+#define _SD_FUSLDLG_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuSlideShowDlg : public FuPoor
+{
+public:
+
+ TYPEINFO();
+
+ FuSlideShowDlg( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuSlideShowDlg() {}
+};
+
+#endif // _SD_FUSLDLG_HXX
diff --git a/sd/source/ui/inc/fuslhide.hxx b/sd/source/ui/inc/fuslhide.hxx
new file mode 100644
index 000000000000..eb72f42bbe7a
--- /dev/null
+++ b/sd/source/ui/inc/fuslhide.hxx
@@ -0,0 +1,88 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuslhide.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUSLHIDE_HXX
+#define _SD_FUSLHIDE_HXX
+
+#ifndef _SD_FUSLID_HXX
+#include "fuslid.hxx"
+#endif
+
+
+/*************************************************************************
+|*
+|* selektierte Dias in der Show zeigen / nicht zeigen
+|*
+\************************************************************************/
+
+class FuSlideHide : public FuSlide
+{
+
+ public:
+ TYPEINFO();
+
+ FuSlideHide(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ virtual ~FuSlideHide();
+};
+
+#endif _SD_FUSLHIDE_HXX
+
diff --git a/sd/source/ui/inc/fuslid.hxx b/sd/source/ui/inc/fuslid.hxx
new file mode 100644
index 000000000000..9549a1e60357
--- /dev/null
+++ b/sd/source/ui/inc/fuslid.hxx
@@ -0,0 +1,108 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuslid.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUSLID_HXX
+#define _SD_FUSLID_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class SdSlideViewShell;
+class SdSlideView;
+class SdWindow;
+class SdDrawDocument;
+
+
+/*************************************************************************
+|*
+|* Basisklasse der Funktionen des Diamodus
+|*
+\************************************************************************/
+
+class FuSlide : public FuPoor
+{
+ protected:
+ SdSlideViewShell* pSlViewShell;
+ SdSlideView* pSlView;
+
+ public:
+ TYPEINFO();
+
+ FuSlide(SdSlideViewShell* pViewSh, SdWindow* pWin,
+ SdSlideView* pView, SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuSlide();
+
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt) { return FALSE; }
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt) { return FALSE; }
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt) { return FALSE; }
+
+ virtual void Activate();
+ virtual void Deactivate();
+
+ virtual void ScrollStart();
+ virtual void ScrollEnd();
+};
+
+
+#endif // _SD_FUSLID_HXX
diff --git a/sd/source/ui/inc/fuslsel.hxx b/sd/source/ui/inc/fuslsel.hxx
new file mode 100644
index 000000000000..4a491e2f2777
--- /dev/null
+++ b/sd/source/ui/inc/fuslsel.hxx
@@ -0,0 +1,140 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuslsel.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUSLSEL_HXX
+#define _SD_FUSLSEL_HXX
+
+#ifndef _SD_FUSLID_HXX
+#include "fuslid.hxx"
+#endif
+
+class SdSlideViewShell;
+class SdWindow;
+class SdSlideView;
+class SdDrawDocument;
+class Sound;
+
+struct FSS_IsShowingEffectInfo
+{
+ BOOL bIsShowingEffect; // TRUE while we show a fade effect one the slide view
+ BOOL bDisposed; // TRUE if the FuSlideSelection was deleted during fade effect
+};
+
+class FuSlideSelection : public FuSlide
+{
+ BOOL bSubstShown;
+ BOOL bPageHit;
+ List aSubstList; // Liste mit Ertsatzdarstellungen
+ Point aDragPos; // hier wird die Seite angefasst
+
+ BOOL bDragSelection;
+ Point aDragSelRectAnchor; // fester Punkt des Selektionsrechtecks
+ Rectangle aDragSelRect;
+
+ Point aPosOfInsertMarker;
+
+ Sound* pSound;
+
+ FSS_IsShowingEffectInfo* pIsShowingEffectInfo;
+
+ void DrawInsertMarker(BOOL bShow);
+ Point CalcPosOfInsertMarker(const Point& rPoint);
+
+ USHORT GetTargetPage(const Point& rPoint) const;
+ BOOL MovePages(USHORT nTargetPage) const;
+
+ void CreateSubst();
+ void DeleteSubst();
+ void DrawSubst() const;
+ void ChangeSubstPos(const Point& rVector);
+
+ void DrawDragSelectionRect() const;
+
+ void ShowEffect(USHORT nPageNo);
+
+ public:
+ TYPEINFO();
+
+ FuSlideSelection(SdSlideViewShell* pViewSh, SdWindow* pWin,
+ SdSlideView* pView, SdDrawDocument* pDoc,
+ SfxRequest& rReq);
+
+ virtual ~FuSlideSelection();
+ // Mouse- & Key-Events
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+ virtual void Paint(const Rectangle& rRect, SdWindow* pWin);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ virtual void ScrollStart();
+ virtual void ScrollEnd();
+
+ BOOL IsShowingEffect() const { return pIsShowingEffectInfo && pIsShowingEffectInfo->bIsShowingEffect; }
+};
+
+
+
+#endif // _SD_FUSLSEL_HXX
+
diff --git a/sd/source/ui/inc/fusnapln.hxx b/sd/source/ui/inc/fusnapln.hxx
new file mode 100644
index 000000000000..dcbeb259fc0c
--- /dev/null
+++ b/sd/source/ui/inc/fusnapln.hxx
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * $RCSfile: fusnapln.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUSNAPLN_HXX
+#define _SD_FUSNAPLN_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+/************************************************************************/
+
+class FuSnapLine : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuSnapLine(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual void Activate() {}
+ virtual void Deactivate() {}
+};
+
+
+
+#endif // _SD_FUSNAPLN_HXX
diff --git a/sd/source/ui/inc/fuspell.hxx b/sd/source/ui/inc/fuspell.hxx
new file mode 100644
index 000000000000..9e66cfdeeccf
--- /dev/null
+++ b/sd/source/ui/inc/fuspell.hxx
@@ -0,0 +1,94 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuspell.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUSPELL_HXX
+#define _SD_FUSPELL_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+extern USHORT SidArraySpell[];
+
+class SdOutliner;
+
+class FuSpell : public FuPoor
+{
+ protected:
+ SdOutliner* pSdOutliner;
+ BOOL bOwnOutliner;
+
+ public:
+ TYPEINFO();
+
+ FuSpell( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq );
+ ~FuSpell();
+
+ void StartSpelling();
+
+ SdOutliner* GetOutliner() const { return pSdOutliner; }
+};
+
+
+#endif // _SD_FUSPELL_HXX
+
+
diff --git a/sd/source/ui/inc/fusumry.hxx b/sd/source/ui/inc/fusumry.hxx
new file mode 100644
index 000000000000..45d742583ac6
--- /dev/null
+++ b/sd/source/ui/inc/fusumry.hxx
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * $RCSfile: fusumry.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_FUSUMRY_HXX
+#define _SD_FUSUMRY_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuSummaryPage : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuSummaryPage(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuSummaryPage() {}
+};
+
+#endif // _SD_FUSUMRY_HXX
+
diff --git a/sd/source/ui/inc/futempl.hxx b/sd/source/ui/inc/futempl.hxx
new file mode 100644
index 000000000000..80dc1262323c
--- /dev/null
+++ b/sd/source/ui/inc/futempl.hxx
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * $RCSfile: futempl.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_FUTEMPL_HXX
+#define _SD_FUTEMPL_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuTemplate : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuTemplate( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuTemplate() {}
+
+ virtual void Activate() {}
+ virtual void Deactivate() {}
+};
+
+#endif // _SD_FUTEMPL_HXX
+
diff --git a/sd/source/ui/inc/futext.hxx b/sd/source/ui/inc/futext.hxx
new file mode 100644
index 000000000000..62ac429eec34
--- /dev/null
+++ b/sd/source/ui/inc/futext.hxx
@@ -0,0 +1,132 @@
+/*************************************************************************
+ *
+ * $RCSfile: futext.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUTEXT_HXX
+#define _SD_FUTEXT_HXX
+
+#ifndef _EDITDATA_HXX
+#include <svx/editdata.hxx>
+#endif
+#ifndef _SD_FUCONSTR_HXX
+#include "fuconstr.hxx"
+#endif
+
+struct StyleRequestData;
+class SdrTextObj;
+class OutlinerParaObject;
+
+/*************************************************************************
+|*
+|* Basisklasse fuer Textfunktionen
+|*
+\************************************************************************/
+class FuText : public FuConstruct
+{
+ protected:
+ SdrTextObj* pTextObj;
+ Link aOldLink;
+ BOOL bFirstObjCreated;
+
+ SfxRequest& rRequest;
+
+ public:
+ TYPEINFO();
+
+ FuText(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuText();
+
+ virtual BOOL KeyInput(const KeyEvent& rKEvt);
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+ virtual BOOL Command(const CommandEvent& rCEvt);
+ virtual BOOL RequestHelp(const HelpEvent& rHEvt);
+ virtual void ReceiveRequest(SfxRequest& rReq);
+ virtual void DoubleClick(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ void SetInEditMode(const MouseEvent& rMEvt, BOOL bQuickDrag);
+ BOOL DeleteDefaultText();
+ BOOL RestoreDefaultText();
+ void ObjectChanged();
+ SdrTextObj* GetTextObj() { return pTextObj; }
+ void SetSpellOptions( ULONG& rCntrl );
+
+ // #71422: Start the functionality of this class in this method
+ // and not in the ctor.
+ // If you construct an object of this class and you put the
+ // address of this object to pFuActual you got a problem,
+ // because some methods inside DoExecute use the pFuActual-Pointer.
+ // If the code inside DoExecute is executed inside the ctor,
+ // the value of pFuActual is not right. And the value will not
+ // be right until the ctor finished !!!
+ void DoExecute ();
+
+ DECL_LINK(SpellError, void* );
+};
+
+
+
+#endif // _SD_FUTEXT_HXX
diff --git a/sd/source/ui/inc/futhes.hxx b/sd/source/ui/inc/futhes.hxx
new file mode 100644
index 000000000000..8e044d9bd921
--- /dev/null
+++ b/sd/source/ui/inc/futhes.hxx
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * $RCSfile: futhes.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUTHESAURUS_HXX
+#define _SD_FUTHESAURUS_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuThesaurus : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuThesaurus( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq );
+ ~FuThesaurus();
+};
+
+#endif // _SD_FUTHESAURUS_HXX
+
+
diff --git a/sd/source/ui/inc/futransf.hxx b/sd/source/ui/inc/futransf.hxx
new file mode 100644
index 000000000000..af78bfaab9dd
--- /dev/null
+++ b/sd/source/ui/inc/futransf.hxx
@@ -0,0 +1,90 @@
+/*************************************************************************
+ *
+ * $RCSfile: futransf.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUTRANSF_HXX
+#define _SD_FUTRANSF_HXX
+
+#ifndef _SVX_RETENUM_HXX
+#include <svx/rectenum.hxx>
+#endif
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuTransform : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuTransform(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuTransform() {}
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
+ Point GetPoint( Rectangle aRect, RECT_POINT eRP );
+};
+
+#endif // _SD_FUTRANSF_HXX
+
diff --git a/sd/source/ui/inc/futxtatt.hxx b/sd/source/ui/inc/futxtatt.hxx
new file mode 100644
index 000000000000..8746c8815b48
--- /dev/null
+++ b/sd/source/ui/inc/futxtatt.hxx
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * $RCSfile: futxtatt.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUTXTATT_HXX
+#define _SD_FUTXTATT_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+class FuTextAttrDlg : public FuPoor
+{
+ public:
+ TYPEINFO();
+
+ FuTextAttrDlg( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+ ~FuTextAttrDlg() {}
+};
+
+#endif // _SD_FUTXTATT_HXX
+
diff --git a/sd/source/ui/inc/fuvect.hxx b/sd/source/ui/inc/fuvect.hxx
new file mode 100644
index 000000000000..53ed91066a9e
--- /dev/null
+++ b/sd/source/ui/inc/fuvect.hxx
@@ -0,0 +1,87 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuvect.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUVECT_HXX
+#define _SD_FUVECT_HXX
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+/*************************************************************************
+|*
+|*
+|*
+\************************************************************************/
+
+class FuVectorize : public FuPoor
+{
+public:
+
+ TYPEINFO();
+
+ FuVectorize( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq );
+ ~FuVectorize() {}
+};
+
+#endif // _SD_FUVECT_HXX
+
diff --git a/sd/source/ui/inc/fuzoom.hxx b/sd/source/ui/inc/fuzoom.hxx
new file mode 100644
index 000000000000..fcc290d024ca
--- /dev/null
+++ b/sd/source/ui/inc/fuzoom.hxx
@@ -0,0 +1,115 @@
+/*************************************************************************
+ *
+ * $RCSfile: fuzoom.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_FUZOOM_HXX
+#define _SD_FUZOOM_HXX
+
+#ifndef _SV_POINTR_HXX //autogen
+#include <vcl/pointr.hxx>
+#endif
+
+#ifndef _SD_FUPOOR_HXX
+#include "fupoor.hxx"
+#endif
+
+extern USHORT SidArrayZoom[];
+
+/*************************************************************************
+|*
+|* Funktion Zoom
+|*
+\************************************************************************/
+
+class FuZoom : public FuPoor
+{
+ protected:
+ Point aBeginPosPix;
+ Point aBeginPos;
+ Point aEndPos;
+ Rectangle aZoomRect;
+ BOOL bVisible;
+ BOOL bStartDrag;
+ BOOL bLineDraft;
+ BOOL bFillDraft;
+ BOOL bTextDraft;
+ BOOL bGrafDraft;
+ Pointer aPtr;
+
+ public:
+ TYPEINFO();
+
+ FuZoom(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
+ SdDrawDocument* pDoc, SfxRequest& rReq);
+
+ virtual ~FuZoom();
+ // Mouse- & Key-Events
+ virtual BOOL MouseMove(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
+ virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+};
+
+
+
+#endif // _SD_FUZOOM_HXX
+
diff --git a/sd/source/ui/inc/gluectrl.hxx b/sd/source/ui/inc/gluectrl.hxx
new file mode 100644
index 000000000000..aae919ca6865
--- /dev/null
+++ b/sd/source/ui/inc/gluectrl.hxx
@@ -0,0 +1,111 @@
+/*************************************************************************
+ *
+ * $RCSfile: gluectrl.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:39 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef SD_GLUECTRL_HXX
+#define SD_GLUECTRL_HXX
+
+#ifndef _SV_LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+#ifndef _SFXTBXCTRL_HXX //autogen
+#include <sfx2/tbxctrl.hxx>
+#endif
+
+/*************************************************************************
+|*
+|* GluePointEscDirLB
+|*
+\************************************************************************/
+class GlueEscDirLB : public ListBox
+{
+public:
+ GlueEscDirLB( Window* pParent );
+ ~GlueEscDirLB();
+
+ virtual void Select();
+
+ void Fill();
+};
+
+/*************************************************************************
+|*
+|* Toolbox-Controller fuer Klebepunkte-Austrittsrichtung
+|*
+\************************************************************************/
+
+class SdTbxCtlGlueEscDir: public SfxToolBoxControl
+{
+private:
+ UINT16 GetEscDirPos( UINT16 nEscDir );
+
+public:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+ virtual Window* CreateItemWindow( Window *pParent );
+
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ SdTbxCtlGlueEscDir( USHORT nId, ToolBox& rTbx, SfxBindings& rBindings );
+ ~SdTbxCtlGlueEscDir() {}
+};
+
+#endif // SD_GLUECTRL_HXX
+
diff --git a/sd/source/ui/inc/inspagob.hrc b/sd/source/ui/inc/inspagob.hrc
new file mode 100644
index 000000000000..061c37cb9019
--- /dev/null
+++ b/sd/source/ui/inc/inspagob.hrc
@@ -0,0 +1,67 @@
+/*************************************************************************
+ *
+ * $RCSfile: inspagob.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define DLG_INSERT_PAGES_OBJS 938
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+#define LB_TREE 1
+#define CBX_LINK 1
+#define CBX_CHECK_MASTERS 2
diff --git a/sd/source/ui/inc/inspagob.hxx b/sd/source/ui/inc/inspagob.hxx
new file mode 100644
index 000000000000..310f83de2db5
--- /dev/null
+++ b/sd/source/ui/inc/inspagob.hxx
@@ -0,0 +1,113 @@
+/*************************************************************************
+ *
+ * $RCSfile: inspagob.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_INSPAGOB_HXX
+#define _SD_INSPAGOB_HXX
+
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _SV_DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+
+#ifndef _SDTREELB_HXX
+#include "sdtreelb.hxx"
+#endif
+
+class SdDrawDocument;
+
+//------------------------------------------------------------------------
+
+class SdInsertPagesObjsDlg : public ModalDialog
+{
+private:
+ SdPageObjsTLB aLbTree;
+ CheckBox aCbxLink;
+ CheckBox aCbxMasters;
+ OKButton aBtnOk;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+
+ SfxMedium* pMedium;
+ const SdDrawDocument* pDoc;
+ const String& rName;
+
+ void Reset();
+ DECL_LINK( SelectObjectHdl, void * );
+
+public:
+ SdInsertPagesObjsDlg( Window* pParent,
+ const SdDrawDocument* pDoc,
+ SfxMedium* pSfxMedium,
+ const String& rFileName );
+ ~SdInsertPagesObjsDlg();
+
+ List* GetList( USHORT nType );
+ BOOL IsLink();
+ BOOL IsRemoveUnnessesaryMasterPages() const;
+};
+
+
+#endif // _SD_INSPAGOB_HXX
+
+
+#pragma SEG_EOFMODULE
diff --git a/sd/source/ui/inc/morphdlg.hrc b/sd/source/ui/inc/morphdlg.hrc
new file mode 100644
index 000000000000..ecfaf476aa0b
--- /dev/null
+++ b/sd/source/ui/inc/morphdlg.hrc
@@ -0,0 +1,69 @@
+/*************************************************************************
+ *
+ * $RCSfile: morphdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define DLG_MORPH 653
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+#define GRP_PRESET 1
+#define FT_STEPS 1
+#define MTF_STEPS 1
+#define CBX_ATTRIBUTES 1
+#define CBX_ORIENTATION 2
diff --git a/sd/source/ui/inc/morphdlg.hxx b/sd/source/ui/inc/morphdlg.hxx
new file mode 100644
index 000000000000..11d2a4ff8287
--- /dev/null
+++ b/sd/source/ui/inc/morphdlg.hxx
@@ -0,0 +1,121 @@
+/*************************************************************************
+ *
+ * $RCSfile: morphdlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_MORPHDLG_HXX
+#define _SD_MORPHDLG_HXX
+
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/imagebtn.hxx>
+#endif
+#ifndef _SV_GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _SV_FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _SV_FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+#ifndef _SV_DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+
+class SdrObject;
+
+
+/******************************************************************************
+|*
+|*
+|*
+\******************************************************************************/
+
+class SdMorphDlg : public ModalDialog
+{
+ GroupBox aGrpPreset;
+ FixedText aFtSteps;
+ MetricField aMtfSteps;
+ CheckBox aCbxAttributes;
+ CheckBox aCbxOrientation;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ SdrObject* pSdrObj1;
+ SdrObject* pSdrObj2;
+
+ void LoadSettings();
+
+
+public:
+
+ SdMorphDlg( Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2 );
+ ~SdMorphDlg();
+
+ void SaveSettings() const;
+ USHORT GetFadeSteps() const { return (USHORT) aMtfSteps.GetValue(); }
+ BOOL IsAttributeFade() const { return aCbxAttributes.IsChecked(); }
+ BOOL IsOrientationFade() const { return aCbxOrientation.IsChecked(); }
+};
+
+
+#endif
+
+
diff --git a/sd/source/ui/inc/navigatr.hrc b/sd/source/ui/inc/navigatr.hrc
new file mode 100644
index 000000000000..8ad7c43bcd36
--- /dev/null
+++ b/sd/source/ui/inc/navigatr.hrc
@@ -0,0 +1,70 @@
+/*************************************************************************
+ *
+ * $RCSfile: navigatr.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define FLT_NAVIGATOR 575
+#define TLB_OBJECTS 1
+#define TBI_LIVE 1
+#define TBI_PEN 2
+#define TBI_FIRST 3
+#define TBI_PREVIOUS 4
+#define TBI_NEXT 5
+#define TBI_LAST 6
+#define TBI_DRAGTYPE 7
+#define LB_DOCS 1
diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx
new file mode 100644
index 000000000000..b0f45cec832b
--- /dev/null
+++ b/sd/source/ui/inc/navigatr.hxx
@@ -0,0 +1,238 @@
+/*************************************************************************
+ *
+ * $RCSfile: navigatr.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_NAVIGATR_HXX
+#define _SD_NAVIGATR_HXX
+
+
+#ifndef _SV_LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+
+#ifndef _TOOLBOX_HXX //autogen
+#include <vcl/toolbox.hxx>
+#endif
+#ifndef _SFXCTRLITEM_HXX //autogen
+#include <sfx2/ctrlitem.hxx>
+#endif
+#ifndef _SDTREELB_HXX
+#include "sdtreelb.hxx"
+#endif
+
+#define NAVSTATE_NONE 0x00000000
+
+#define NAVBTN_LIVE_ENABLED 0x00000001
+#define NAVBTN_LIVE_DISABLED 0x00000002
+#define NAVBTN_LIVE_CHECKED 0x00000004
+#define NAVBTN_LIVE_UNCHECKED 0x00000008
+
+#define NAVBTN_PEN_ENABLED 0x00000010
+#define NAVBTN_PEN_DISABLED 0x00000020
+#define NAVBTN_PEN_CHECKED 0x00000040
+#define NAVBTN_PEN_UNCHECKED 0x00000080
+
+#define NAVTLB_UPDATE 0x00000100
+
+#define NAVBTN_FIRST_ENABLED 0x00001000
+#define NAVBTN_FIRST_DISABLED 0x00002000
+#define NAVBTN_PREV_ENABLED 0x00004000
+#define NAVBTN_PREV_DISABLED 0x00008000
+
+#define NAVBTN_LAST_ENABLED 0x00010000
+#define NAVBTN_LAST_DISABLED 0x00020000
+#define NAVBTN_NEXT_ENABLED 0x00040000
+#define NAVBTN_NEXT_DISABLED 0x00080000
+
+// forward
+class SdView;
+class SdDrawDocShell;
+class Menu;
+
+enum NavigatorDragType
+{
+ NAVIGATOR_DRAGTYPE_NONE,
+ NAVIGATOR_DRAGTYPE_URL,
+ NAVIGATOR_DRAGTYPE_LINK,
+ NAVIGATOR_DRAGTYPE_EMBEDDED
+};
+// Bitte mitpflegen !!!
+#define NAVIGATOR_DRAGTYPE_COUNT 4
+
+//------------------------------------------------------------------------
+
+class NavDocInfo
+{
+ friend class SdNavigatorWin;
+
+private:
+ BOOL bName : 1;
+ BOOL bActive : 1;
+ SdDrawDocShell* pDocShell;
+
+
+public:
+ NavDocInfo() { pDocShell = NULL; }
+
+ BOOL HasName() { return( (BOOL) bName ); }
+ BOOL IsActive() { return( (BOOL) bActive ); }
+
+ void SetName( BOOL bOn = TRUE ) { bName = bOn; }
+ void SetActive( BOOL bOn = TRUE ) { bActive = bOn; }
+};
+
+//------------------------------------------------------------------------
+
+class SdNavigatorWin : public Window
+{
+ friend class SdNavigatorChildWindow;
+ friend class SdNavigatorControllerItem;
+ friend class SdPageNameControllerItem;
+
+private:
+ ToolBox aToolbox;
+ SdPageObjsTLB aTlbObjects;
+ ListBox aLbDocs;
+
+ SdNavigatorChildWindow* pChildWinContext;
+ Size aSize;
+ Size aMinSize;
+ Size aFltWinSize;
+ BOOL bDocImported;
+
+ String aDropFileName;
+ NavigatorDragType eDragType;
+ List* pDocList;
+
+ SfxBindings* pBindings;
+ SdNavigatorControllerItem* pNavigatorCtrlItem;
+ SdPageNameControllerItem* pPageNameCtrlItem;
+
+ //------------------------------------
+
+ DECL_LINK( SelectToolboxHdl, void * );
+ DECL_LINK( ClickToolboxHdl, ToolBox * );
+ DECL_LINK( ClickPageHdl, void * );
+ DECL_LINK( ClickObjectHdl, void * );
+ DECL_LINK( SelectDocumentHdl, void * );
+ DECL_LINK( MenuSelectHdl, Menu * );
+
+ USHORT GetDragTypeSdResId( NavigatorDragType eDT, BOOL bImage = FALSE );
+ NavDocInfo* GetDocInfo();
+
+protected:
+ virtual void Resize();
+ virtual long ParentNotify(NotifyEvent& rNEvt);
+
+public:
+ SdNavigatorWin( Window* pParent,
+ SdNavigatorChildWindow* pChildWinContext,
+ const SdResId& rSdResId,
+ SfxBindings* pBindings );
+ ~SdNavigatorWin();
+
+ virtual void KeyInput( const KeyEvent& rKEvt );
+ void InitTreeLB( const SdDrawDocument* pDoc );
+ void RefreshDocumentLB( const String* pDocName = NULL );
+ BOOL InsertFile(const String& rFileName);
+ NavigatorDragType GetNavigatorDragType();
+ void SetNavigatorDragType(NavigatorDragType eType) { eDragType = eType; }
+ SdDrawDocShell* GetDropDocSh();
+};
+
+/*************************************************************************
+|*
+|* ControllerItem fuer Navigator
+|*
+\************************************************************************/
+
+class SdNavigatorControllerItem : public SfxControllerItem
+{
+ SdNavigatorWin* pNavigatorWin;
+
+ protected:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+
+ public:
+ SdNavigatorControllerItem( USHORT, SdNavigatorWin*, SfxBindings* );
+};
+
+/*************************************************************************
+|*
+|* ControllerItem fuer Navigator zum Anzeigen der Seite in der TreeLB
+|*
+\************************************************************************/
+
+class SdPageNameControllerItem : public SfxControllerItem
+{
+ SdNavigatorWin* pNavigatorWin;
+
+ protected:
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+
+ public:
+ SdPageNameControllerItem( USHORT, SdNavigatorWin*, SfxBindings* );
+};
+
+#endif // _SD_NAVIGATR_HXX
+
diff --git a/sd/source/ui/inc/optdlg.hrc b/sd/source/ui/inc/optdlg.hrc
new file mode 100644
index 000000000000..679fcf809840
--- /dev/null
+++ b/sd/source/ui/inc/optdlg.hrc
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * $RCSfile: optdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TAB_DLG_IMPRESS_OPTIONS 842
+#define TAB_DLG_DRAW_OPTIONS 843
+
+#define TP_GENERAL 1
+#define TP_SAVE 2
+#define TP_PATH 3
+#define TP_PRINT 4
+
diff --git a/sd/source/ui/inc/optdlg.hxx b/sd/source/ui/inc/optdlg.hxx
new file mode 100644
index 000000000000..25f29767420a
--- /dev/null
+++ b/sd/source/ui/inc/optdlg.hxx
@@ -0,0 +1,96 @@
+/*************************************************************************
+ *
+ * $RCSfile: optdlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef SD_OPTDLG_HXX
+#define SD_OPTDLG_HXX
+
+#ifndef _SFXTABDLG_HXX //autogen
+#include <sfx2/tabdlg.hxx>
+#endif
+
+#ifndef _PRESENTATION_HXX
+#include "pres.hxx"
+#endif
+
+class SfxItemSet;
+
+
+class SdOptionsDlg : public SfxTabDialog
+{
+private:
+ DocumentType eDocType;
+
+public:
+ SdOptionsDlg( Window* pParent, const SfxItemSet& rInAttrs,
+ DocumentType eDocType );
+ ~SdOptionsDlg();
+
+protected:
+
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+// virtual SfxItemSet* CreateInputItemSet( USHORT nPageId );
+};
+
+
+
+#endif // SD_OPTDLG_HXX
+
+
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
new file mode 100644
index 000000000000..ad2dba32879e
--- /dev/null
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -0,0 +1,358 @@
+/*************************************************************************
+ *
+ * $RCSfile: optsitem.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_OPTSITEM_HXX
+#define _SD_OPTSITEM_HXX
+
+#ifndef _SFXCFGITEM_HXX //autogen
+#include <sfx2/cfgitem.hxx>
+#endif
+#ifndef _SVX_OPTGRID_HXX //autogen
+#include <svx/optgrid.hxx>
+#endif
+
+#ifndef _OPTSITE2_HXX
+#include "optsite2.hxx"
+#endif
+
+#define SD_OPTIONS_ALL 0
+
+#define SD_OPTIONS_SNAP 2
+#define SD_OPTIONS_GRID 3
+#define SD_OPTIONS_LAYOUT 4
+#define SD_OPTIONS_CONTENTS 5
+#define SD_OPTIONS_MISC 6
+
+class SfxConfigItem;
+class FrameView;
+
+// class SdOptionsLayout ----------------------------------------------
+
+class SdOptionsLayout
+{
+protected:
+ BOOL bRuler : 1;
+ BOOL bMoveOutline : 1;
+ BOOL bDragStripes : 1;
+ BOOL bHandlesBezier : 1;
+ BOOL bHelplines : 1;
+ UINT16 nMetric;
+
+public:
+ SdOptionsLayout();
+ ~SdOptionsLayout() {}
+
+ BOOL IsRulerVisible() const { return (BOOL) bRuler; }
+ BOOL IsMoveOutline() const { return (BOOL) bMoveOutline; }
+ BOOL IsDragStripes() const { return (BOOL) bDragStripes; }
+ BOOL IsHandlesBezier() const { return (BOOL) bHandlesBezier; }
+ BOOL IsHelplines() const { return (BOOL) bHelplines; }
+ UINT16 GetMetric() const;
+
+ void SetRulerVisible( BOOL bOn = TRUE ) { bRuler = bOn; }
+ void SetMoveOutline( BOOL bOn = TRUE ) { bMoveOutline = bOn; }
+ void SetDragStripes( BOOL bOn = TRUE ) { bDragStripes = bOn; }
+ void SetHandlesBezier( BOOL bOn = TRUE ) { bHandlesBezier = bOn; }
+ void SetHelplines( BOOL bOn = TRUE ) { bHelplines = bOn; }
+ void SetMetric( UINT16 nInMetric ) { nMetric = nInMetric; }
+};
+
+// class SdOptionsContents ----------------------------------------------
+
+class SdOptionsContents
+{
+protected:
+ BOOL bExternGraphic : 1;
+ BOOL bOutlineMode : 1;
+ BOOL bHairlineMode : 1;
+ BOOL bNoText : 1;
+ BOOL bSolidDragging : 1;
+ BOOL bSolidMarkHdl : 1;
+
+public:
+ SdOptionsContents();
+ ~SdOptionsContents() {}
+
+ BOOL IsExternGraphic() const { return (BOOL) bExternGraphic; }
+ BOOL IsOutlineMode() const { return (BOOL) bOutlineMode; }
+ BOOL IsHairlineMode() const { return (BOOL) bHairlineMode; }
+ BOOL IsNoText() const { return (BOOL) bNoText; }
+ BOOL IsSolidDragging() const { return (BOOL) bSolidDragging; }
+ BOOL IsSolidMarkHdl() const { return (BOOL) bSolidMarkHdl; }
+
+ void SetExternGraphic( BOOL bOn = TRUE ) { bExternGraphic = bOn; }
+ void SetOutlineMode( BOOL bOn = TRUE ) { bOutlineMode = bOn; }
+ void SetHairlineMode( BOOL bOn = TRUE ) { bHairlineMode = bOn; }
+ void SetNoText( BOOL bOn = TRUE ) { bNoText = bOn; }
+ void SetSolidDragging( BOOL bOn = TRUE ) { bSolidDragging = bOn; }
+ void SetSolidMarkHdl( BOOL bOn = TRUE ) { bSolidMarkHdl = bOn; }
+};
+
+// class SdOptionsMisc ----------------------------------------------
+
+class SdOptionsMisc
+{
+protected:
+ BOOL bStartWithTemplate : 1;
+ BOOL bStartWithLayout : 1;
+ BOOL bMarkedHitMovesAlways : 1;
+ BOOL bMoveOnlyDragging : 1;
+ BOOL bCrookNoContortion : 1;
+ BOOL bQuickEdit : 1;
+ BOOL bMasterPageCache : 1;
+ BOOL bDragWithCopy : 1;
+ BOOL bPickThrough : 1;
+ BOOL bBigHandles : 1;
+ BOOL bDoubleClickTextEdit: 1; // Textmodus nach Doppelklick
+ BOOL bClickChangeRotation: 1; // Einfachklick wechselt Selektions-/Rotationsmodus
+ BOOL bStartWithActualPage: 1; // Startet die Praesentation immer von der aktuellen Seite
+ ULONG nPreviewQuality;
+
+public:
+ SdOptionsMisc();
+ ~SdOptionsMisc() {}
+
+ BOOL IsStartWithTemplate() const { return (BOOL) bStartWithTemplate; }
+ BOOL IsStartWithLayout() const { return (BOOL) bStartWithLayout; }
+ BOOL IsMarkedHitMovesAlways() const { return (BOOL) bMarkedHitMovesAlways; }
+ BOOL IsMoveOnlyDragging() const { return (BOOL) bMoveOnlyDragging; }
+ BOOL IsCrookNoContortion() const { return (BOOL) bCrookNoContortion; }
+ BOOL IsQuickEdit() const { return (BOOL) bQuickEdit; }
+ BOOL IsMasterPagePaintCaching() const { return (BOOL) bMasterPageCache; }
+ BOOL IsDragWithCopy() const { return (BOOL) bDragWithCopy; }
+ BOOL IsPickThrough() const { return (BOOL) bPickThrough; }
+ BOOL IsBigHandles() const { return (BOOL) bBigHandles; }
+ BOOL IsDoubleClickTextEdit() const{ return (BOOL) bDoubleClickTextEdit; }
+ BOOL IsClickChangeRotation() const{ return (BOOL) bClickChangeRotation; }
+ BOOL IsStartWithActualPage() const{ return (BOOL) bStartWithActualPage; }
+ ULONG GetPreviewQuality() const { return nPreviewQuality; }
+
+ // Template und Layout laufen z.Z. synchron!
+ void SetStartWithTemplate( BOOL bOn = TRUE ) { bStartWithTemplate = bOn;
+ bStartWithLayout = bOn; }
+ void SetStartWithLayout( BOOL bOn = TRUE ) { bStartWithTemplate = bOn;
+ bStartWithLayout = bOn; }
+ void SetMarkedHitMovesAlways( BOOL bOn = TRUE ) { bMarkedHitMovesAlways = bOn; }
+ void SetMoveOnlyDragging( BOOL bOn = TRUE ) { bMoveOnlyDragging = bOn; }
+ void SetCrookNoContortion( BOOL bOn = TRUE ) { bCrookNoContortion = bOn; }
+ void SetQuickEdit( BOOL bOn = TRUE ) { bQuickEdit = bOn; }
+ void SetMasterPagePaintCaching( BOOL bOn = TRUE ) { bMasterPageCache = bOn; }
+ void SetDragWithCopy( BOOL bOn = TRUE ) { bDragWithCopy = bOn; }
+ void SetPickThrough( BOOL bOn = TRUE ) { bPickThrough = bOn; }
+ void SetBigHandles( BOOL bOn = TRUE ) { bBigHandles = bOn; }
+ void SetDoubleClickTextEdit( BOOL bOn = TRUE ){ bDoubleClickTextEdit = bOn; }
+ void SetClickChangeRotation( BOOL bOn = TRUE ){ bClickChangeRotation = bOn; }
+ void SetStartWithActualPage( BOOL bOn = TRUE ){ bStartWithActualPage = bOn; }
+ void SetPreviewQuality( ULONG nQual ) { nPreviewQuality = nQual; }
+
+};
+
+// class SdOptionsSnap ----------------------------------------------
+
+class SdOptionsSnap
+{
+protected:
+ BOOL bSnapHelplines : 1;
+ BOOL bSnapBorder : 1;
+ BOOL bSnapFrame : 1;
+ BOOL bSnapPoints : 1;
+ BOOL bOrtho : 1;
+ BOOL bBigOrtho : 1;
+ BOOL bRotate : 1;
+ INT16 nSnapArea;
+ INT16 nAngle;
+ INT16 nBezAngle;
+
+public:
+ SdOptionsSnap();
+ ~SdOptionsSnap() {}
+
+ BOOL IsSnapHelplines() const { return (BOOL) bSnapHelplines; }
+ BOOL IsSnapBorder() const { return (BOOL) bSnapBorder; }
+ BOOL IsSnapFrame() const { return (BOOL) bSnapFrame; }
+ BOOL IsSnapPoints() const { return (BOOL) bSnapPoints; }
+ BOOL IsOrtho() const { return (BOOL) bOrtho; }
+ BOOL IsBigOrtho() const { return (BOOL) bBigOrtho; }
+ BOOL IsRotate() const { return (BOOL) bRotate; }
+ INT16 GetSnapArea() const { return nSnapArea; }
+ INT16 GetAngle() const { return nAngle; }
+ INT16 GetEliminatePolyPointLimitAngle() const { return nBezAngle; }
+
+ void SetSnapHelplines( BOOL bOn = TRUE ) { bSnapHelplines = bOn; }
+ void SetSnapBorder( BOOL bOn = TRUE ) { bSnapBorder = bOn; }
+ void SetSnapFrame( BOOL bOn = TRUE ) { bSnapFrame = bOn; }
+ void SetSnapPoints( BOOL bOn = TRUE ) { bSnapPoints = bOn; }
+ void SetOrtho( BOOL bOn = TRUE ) { bOrtho = bOn; }
+ void SetBigOrtho( BOOL bOn = TRUE ) { bBigOrtho = bOn; }
+ void SetRotate( BOOL bOn = TRUE ) { bRotate = bOn; }
+ void SetSnapArea( INT16 nIn ) { nSnapArea = nIn; }
+ void SetAngle( INT16 nIn ) { nAngle = nIn; }
+ void SetEliminatePolyPointLimitAngle( INT16 nIn ) { nBezAngle = nIn; }
+};
+
+// class SdOptions --------------------------------------------------
+
+class SdOptions : public SfxConfigItem,
+ public SdOptionsLayout, public SdOptionsContents,
+ public SdOptionsMisc, public SdOptionsSnap,
+ public SdOptionsPrint, public SvxOptionsGrid
+{
+private:
+ UINT16 nDefTab;
+ INT32 nX;
+ INT32 nY;
+ USHORT nConfigId;
+
+ void Init();
+ virtual int Load( SvStream& );
+ virtual BOOL Store( SvStream& );
+ virtual void UseDefault();
+
+public:
+ SdOptions(USHORT nCfgId);
+ ~SdOptions() {}
+
+ UINT16 GetDefTab() const { return nDefTab; }
+ void GetScale( INT32& rX, INT32& rY ) { rX = nX; rY = nY; }
+
+ void SetDefTab( UINT16 nTab ) { nDefTab = nTab; }
+ void SetScale( INT32 nInX, INT32 nInY ) { nX = nInX; nY = nInY; }
+};
+
+// class SdOptionsItem --------------------------------------------------
+
+#ifndef _SD_OPTIONS_ITEM
+#define _SD_OPTIONS_ITEM
+
+class SdOptionsLayoutItem : public SfxPoolItem, public SdOptionsLayout
+{
+
+public:
+ SdOptionsLayoutItem( USHORT nWhich);
+ SdOptionsLayoutItem( USHORT nWhich, SdOptions* pOpts, FrameView* pView=NULL );
+
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+ void SetOptions( SdOptions* pOpts ) const;
+
+};
+
+class SdOptionsContentsItem : public SfxPoolItem, public SdOptionsContents
+{
+
+public:
+ SdOptionsContentsItem( USHORT nWhich);
+ SdOptionsContentsItem( USHORT nWhich, SdOptions* pOpts, FrameView* pView=NULL );
+
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+ void SetOptions( SdOptions* pOpts ) const;
+
+};
+
+class SdOptionsMiscItem : public SfxPoolItem, public SdOptionsMisc
+{
+
+public:
+ SdOptionsMiscItem( USHORT nWhich);
+ SdOptionsMiscItem( USHORT nWhich, SdOptions* pOpts, FrameView* pView=NULL );
+
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+ void SetOptions( SdOptions* pOpts ) const;
+
+};
+
+class SdOptionsSnapItem : public SfxPoolItem, public SdOptionsSnap
+{
+
+public:
+ SdOptionsSnapItem( USHORT nWhich);
+ SdOptionsSnapItem( USHORT nWhich, SdOptions* pOpts, FrameView* pView=NULL );
+
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+ void SetOptions( SdOptions* pOpts ) const;
+
+};
+
+#endif
+
+// class SdOptionsGridItem ----------------------------------------------
+
+#ifndef _SD_OPTIONS_GRID_ITEM
+#define _SD_OPTIONS_GRID_ITEM
+
+class SdOptionsGridItem : public SvxGridItem
+{
+
+public:
+ SdOptionsGridItem( USHORT nWhich );
+ SdOptionsGridItem( USHORT nWhich, SdOptions* pOpts, FrameView* pView=NULL );
+
+ void SetOptions( SdOptions* pOpts ) const;
+};
+
+#endif
+
+
+#endif // _SD_OPTSITEM_HXX
+
diff --git a/sd/source/ui/inc/outlinfo.hxx b/sd/source/ui/inc/outlinfo.hxx
new file mode 100644
index 000000000000..058da664e6fd
--- /dev/null
+++ b/sd/source/ui/inc/outlinfo.hxx
@@ -0,0 +1,153 @@
+/*************************************************************************
+ *
+ * $RCSfile: outlinfo.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _OUTLINFO_HXX
+#define _OUTLINFO_HXX
+
+#ifndef _GEN_HXX //autogen
+#include <tools/gen.hxx>
+#endif
+#ifndef _SV_OUTDEV_HXX //autogen
+#include <vcl/outdev.hxx>
+#endif
+
+// ---------------
+// - SdLaserInfo -
+// ---------------
+
+struct OutlinerCharacter
+{
+ Rectangle aRect;
+ ULONG nPara;
+ Color aColor;
+ USHORT nCharCode;
+
+ OutlinerCharacter( const Rectangle& _rRect, ULONG _nPara, const Color& _rCol, USHORT _nCharCode ) :
+ aRect( _rRect ), nPara( _nPara ), aColor( _rCol ), nCharCode( _nCharCode ) {}
+};
+
+// -----------------------------------------------------------------------------
+
+struct OutlinerParagraph
+{
+ Rectangle aRect;
+ ULONG nCharCount;
+
+ OutlinerParagraph() : nCharCount( 0 ) {}
+ ~OutlinerParagraph() {};
+};
+
+// ----------------
+// - OutlinerInfo -
+// ----------------
+
+class DrawPortionInfo;
+class SdDrawDocument;
+class SdrRectObj;
+
+class OutlinerInfo
+{
+private:
+
+ List aCharacterList;
+ Rectangle aObjBound;
+ Rectangle aParaBound;
+ Point aTextOffset;
+ OutlinerParagraph* pParagraphs;
+ OutputDevice* pOut;
+ ULONG nParaCount;
+ ULONG nCurPara;
+ long nExtraData;
+ BOOL bInit;
+
+ OutlinerInfo( const OutlinerInfo& rInfo ) {}
+ OutlinerInfo& operator=( const OutlinerInfo& rInfo ) { return *this; }
+
+ DECL_LINK( DrawPortionHdl, DrawPortionInfo* );
+
+public:
+
+ OutlinerInfo();
+ ~OutlinerInfo();
+
+ void Clear();
+
+ void SetTextObj( SdDrawDocument* pDoc, SdrRectObj* pObj, OutputDevice* _pOut );
+
+ const Rectangle& GetObjRect() const { return aObjBound; }
+ const Rectangle& GetTextRect() const { return aParaBound; }
+ const Point& GetTextOffset() const { return aTextOffset; }
+
+ const ULONG GetParaCount() const { return nParaCount; }
+
+ const Rectangle& GetParaRect( const ULONG nPara ) const;
+ BOOL GetParaCharCount( const ULONG nPara ) const;
+
+ ULONG GetCharacterCount() const { return aCharacterList.Count(); }
+ OutlinerCharacter* GetCharacter( ULONG nPos ) const { return (OutlinerCharacter*) aCharacterList.GetObject( nPos ); };
+ OutlinerCharacter* GetFirstCharacter() { return (OutlinerCharacter*) aCharacterList.First(); }
+ OutlinerCharacter* GetNextCharacter() { return (OutlinerCharacter*) aCharacterList.Next(); }
+
+ void SetExtraData( const long _nExtraData = 0L ) { nExtraData = _nExtraData; }
+ const long GetExtraData() const { return nExtraData; }
+};
+
+#endif
diff --git a/sd/source/ui/inc/packgdlg.hrc b/sd/source/ui/inc/packgdlg.hrc
new file mode 100644
index 000000000000..ac5e69bd2dee
--- /dev/null
+++ b/sd/source/ui/inc/packgdlg.hrc
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * $RCSfile: packgdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#define DLG_PACKNGO 939
+
+#define BTN_OK 1
+#define BTN_CANCEL 2
+#define BTN_HELP 3
+
+#define GRP_DOKU 4
+#define CBX_UNLINK 5
+#define GRP_STORE 6
+#define CBX_SPANNING 8
+#define LB_STOREMEDIUM 9
+
+#define FT_DOKU_DESCR 10
+#define FT_STORE_DESCR 11
+#define FT_STOREMEDIUM 12
+
+#define MTR_USERDEFINED 13
+
diff --git a/sd/source/ui/inc/paragr.hrc b/sd/source/ui/inc/paragr.hrc
new file mode 100644
index 000000000000..75358e754d10
--- /dev/null
+++ b/sd/source/ui/inc/paragr.hrc
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * $RCSfile: paragr.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TAB_PARAGRAPH 20620
+
diff --git a/sd/source/ui/inc/paragr.hxx b/sd/source/ui/inc/paragr.hxx
new file mode 100644
index 000000000000..25fde547a9b3
--- /dev/null
+++ b/sd/source/ui/inc/paragr.hxx
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * $RCSfile: paragr.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_PARAGR_HXX
+#define _SD_PARAGR_HXX
+
+
+#ifndef _SFXTABDLG_HXX //autogen
+#include <sfx2/tabdlg.hxx>
+#endif
+
+#include "paragr.hrc"
+
+/*************************************************************************
+|*
+|* Absatz-Tab-Dialog
+|*
+\************************************************************************/
+class SdParagraphDlg : public SfxTabDialog
+{
+private:
+ const SfxItemSet& rOutAttrs;
+
+public:
+ SdParagraphDlg( Window* pParent, const SfxItemSet* pAttr );
+ ~SdParagraphDlg() {};
+
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+};
+
+#endif // _SD_PARAGR_HXX
+
+
diff --git a/sd/source/ui/inc/pgjump.hxx b/sd/source/ui/inc/pgjump.hxx
new file mode 100644
index 000000000000..3076efac6909
--- /dev/null
+++ b/sd/source/ui/inc/pgjump.hxx
@@ -0,0 +1,77 @@
+/*************************************************************************
+ *
+ * $RCSfile: pgjump.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_PGJUMP_HXX
+#define _SD_PGJUMP_HXX
+
+enum PageJump
+{
+ PAGE_NONE,
+ PAGE_FIRST,
+ PAGE_PREVIOUS,
+ PAGE_NEXT,
+ PAGE_LAST
+};
+
+
+#endif // _SD_PGJUMP_HXX
+
diff --git a/sd/source/ui/inc/present.hrc b/sd/source/ui/inc/present.hrc
new file mode 100644
index 000000000000..6a0cc1431140
--- /dev/null
+++ b/sd/source/ui/inc/present.hrc
@@ -0,0 +1,94 @@
+/*************************************************************************
+ *
+ * $RCSfile: present.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include <sfx2/sfx.hrc>
+
+#define DLG_START_PRESENTATION RID_APP_START+3
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+
+#define GRP_RANGE 1
+#define RBT_ALL 1
+#define RBT_AT_DIA 2
+#define RBT_CUSTOMSHOW 3
+#define LB_DIAS 1
+#define LB_CUSTOMSHOW 2
+
+#define GRP_KIND 2
+#define RBT_STANDARD 4
+#define RBT_WINDOW 5
+#define RBT_AUTO 6
+#define FT_PAUSE 1
+#define TMF_PAUSE 1
+#define CBX_AUTOLOGO 1
+
+#define GRP_OPTIONS 3
+#define CBX_MANUEL 2
+#define CBX_MOUSEPOINTER 3
+#define CBX_PEN 4
+#define CBX_NAVIGATOR 5
+#define CBX_ANIMATION_ALLOWED 6
+#define CBX_CHANGE_PAGE 7
+#define CBX_ALWAYS_ON_TOP 8
+
+
+// #define CBX_ENDLESS 1
+// #define CBX_WINDOW_PRESENTATION 9
diff --git a/sd/source/ui/inc/present.hxx b/sd/source/ui/inc/present.hxx
new file mode 100644
index 000000000000..b24c5f0efdc9
--- /dev/null
+++ b/sd/source/ui/inc/present.hxx
@@ -0,0 +1,141 @@
+/*************************************************************************
+ *
+ * $RCSfile: present.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_PRESENT_HXX_
+#define _SD_PRESENT_HXX_
+
+#ifndef _LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+#ifndef _GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+#ifndef _FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+
+class SfxItemSet;
+class List;
+
+/*************************************************************************
+|* Dialog zum Festlegen von Optionen und Starten der Praesentation
+\************************************************************************/
+class SdStartPresentationDlg : public ModalDialog
+{
+private:
+
+ GroupBox aGrpRange;
+ RadioButton aRbtAll;
+ RadioButton aRbtAtDia;
+ RadioButton aRbtCustomshow;
+ ListBox aLbDias;
+ ListBox aLbCustomshow;
+
+ GroupBox aGrpKind;
+ RadioButton aRbtStandard;
+ RadioButton aRbtWindow;
+ RadioButton aRbtAuto;
+ // FixedText aFtPause;
+ TimeField aTmfPause;
+ CheckBox aCbxAutoLogo;
+
+ GroupBox aGrpOptions;
+ CheckBox aCbxManuel;
+ CheckBox aCbxMousepointer;
+ CheckBox aCbxPen;
+ CheckBox aCbxNavigator;
+ CheckBox aCbxAnimationAllowed;
+ CheckBox aCbxChangePage;
+ CheckBox aCbxAlwaysOnTop;
+
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+
+ List* pCustomShowList;
+ const SfxItemSet& rOutAttrs;
+
+ DECL_LINK( ChangeRangeHdl, void * );
+ DECL_LINK( ChangeMousepointerHdl, void * );
+ DECL_LINK( ClickWindowPresentationHdl, void * );
+ DECL_LINK( ChangePauseHdl, void * );
+
+public:
+ SdStartPresentationDlg( Window* pWindow,
+ const SfxItemSet& rInAttrs,
+ List& rPageNames,
+ List* pCSList );
+
+ void GetAttr( SfxItemSet& rOutAttrs );
+};
+
+#endif // _SD_PRESENT_HXX_
+
diff --git a/sd/source/ui/inc/preview.hrc b/sd/source/ui/inc/preview.hrc
new file mode 100644
index 000000000000..6737dc73f882
--- /dev/null
+++ b/sd/source/ui/inc/preview.hrc
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * $RCSfile: preview.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define FLT_WIN_PREVIEW 783
+#define CTL_PREVIEW 1
diff --git a/sd/source/ui/inc/printdlg.hrc b/sd/source/ui/inc/printdlg.hrc
new file mode 100644
index 000000000000..dc747282ea08
--- /dev/null
+++ b/sd/source/ui/inc/printdlg.hrc
@@ -0,0 +1,70 @@
+/*************************************************************************
+ *
+ * $RCSfile: printdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define DLG_PRINT_WARNINGS 828
+#define FI_INFO 1
+#define RBT_SCALE 1
+#define RBT_POSTER 2
+#define RBT_CUT 3
+#define GRP_OPTIONS 1
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+
diff --git a/sd/source/ui/inc/printdlg.hxx b/sd/source/ui/inc/printdlg.hxx
new file mode 100644
index 000000000000..a4d48862a2f1
--- /dev/null
+++ b/sd/source/ui/inc/printdlg.hxx
@@ -0,0 +1,112 @@
+/*************************************************************************
+ *
+ * $RCSfile: printdlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_PRINTDLG_HXX_
+#define _SD_PRINTDLG_HXX_
+
+
+#ifndef _SV_GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+
+#ifndef _SV_DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+
+#ifndef _STDCTRL_HXX //autogen
+#include <svtools/stdctrl.hxx>
+#endif
+
+
+/*************************************************************************
+|*
+|* SdPrintDlg::SdPrintDlg()
+|*
+|* Beschreibung Dialog zum Einstellen von Printoptionen
+|*
+*************************************************************************/
+
+class SdPrintDlg : public ModalDialog
+{
+private:
+ FixedInfo aFtInfo;
+ RadioButton aRbtScale;
+ RadioButton aRbtPoster;
+ RadioButton aRbtCut;
+ GroupBox aGrpOptions;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+
+public:
+
+ SdPrintDlg( Window* pWindow );
+
+ USHORT GetAttr();
+};
+
+#endif // _SD_PRINTDLG_HXX_
+
diff --git a/sd/source/ui/inc/prltempl.hrc b/sd/source/ui/inc/prltempl.hrc
new file mode 100644
index 000000000000..5b309e10724a
--- /dev/null
+++ b/sd/source/ui/inc/prltempl.hrc
@@ -0,0 +1,67 @@
+/*************************************************************************
+ *
+ * $RCSfile: prltempl.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include <sfx2/sfx.hrc>
+/* #define TAB_PRES_LAYOUT_TEMPLATE RID_APP_START+??? */
+#define TAB_PRES_LAYOUT_TEMPLATE 844
+#define TAB_PRES_LAYOUT_TEMPLATE_1 845
+#define TAB_PRES_LAYOUT_TEMPLATE_2 846
+#define TAB_PRES_LAYOUT_TEMPLATE_3 847
+#define TAB_CONTROL 1
diff --git a/sd/source/ui/inc/prltempl.hxx b/sd/source/ui/inc/prltempl.hxx
new file mode 100644
index 000000000000..0dee383625b9
--- /dev/null
+++ b/sd/source/ui/inc/prltempl.hxx
@@ -0,0 +1,137 @@
+/*************************************************************************
+ *
+ * $RCSfile: prltempl.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef SD_PRLTEMPL_HXX
+#define SD_PRLTEMPL_HXX
+
+#ifndef _SD_SDRESID_HXX
+#include "sdresid.hxx"
+#endif
+#ifndef _SFXTABDLG_HXX //autogen
+#include <sfx2/tabdlg.hxx>
+#endif
+#ifndef _SVX_TAB_AREA_HXX //autogen
+#include <svx/tabarea.hxx>
+#endif
+
+#include "prlayout.hxx" // fuer enum PresentationObjects
+
+
+class XColorTable;
+class XGradientList;
+class XHatchList;
+class XBitmapList;
+class XDashList;
+class XLineEndList;
+class SfxObjectShell;
+class SfxStyleSheetBase;
+
+/*************************************************************************
+|*
+|* Vorlagen-Tab-Dialog
+|*
+\************************************************************************/
+class SdPresLayoutTemplateDlg : public SfxTabDialog
+{
+private:
+ const SfxObjectShell* pDocShell;
+
+ XColorTable* pColorTab;
+ XGradientList* pGradientList;
+ XHatchList* pHatchingList;
+ XBitmapList* pBitmapList;
+ XDashList* pDashList;
+ XLineEndList* pLineEndList;
+
+ USHORT nPageType;
+ USHORT nDlgType;
+ USHORT nPos;
+
+ ChangeType nColorTableState;
+ ChangeType nBitmapListState;
+ ChangeType nGradientListState;
+ ChangeType nHatchingListState;
+ ChangeType nLineEndListState;
+ ChangeType nDashListState;
+
+ PresentationObjects ePO;
+
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+
+ // fuers Maping mit dem neuen SvxNumBulletItem
+ SfxItemSet aInputSet;
+ SfxItemSet* pOutSet;
+ const SfxItemSet* pOrgSet;
+
+ USHORT GetOutlineLevel() const;
+
+public:
+ SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool );
+ ~SdPresLayoutTemplateDlg();
+
+ const SfxItemSet* GetOutputItemSet();
+
+};
+
+
+#endif // SD_PRLTEMPL_HXX
+
diff --git a/sd/source/ui/inc/prntopts.hrc b/sd/source/ui/inc/prntopts.hrc
new file mode 100644
index 000000000000..5d0acc4ebbd4
--- /dev/null
+++ b/sd/source/ui/inc/prntopts.hrc
@@ -0,0 +1,87 @@
+/*************************************************************************
+ *
+ * $RCSfile: prntopts.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TP_PRINT_OPTIONS 549
+#define LB_PRINT 1
+#define CBX_PAGENAME 2
+#define CBX_HIDDEN_PAGES 1
+#define GRP_PRINT 1
+#define GRP_PAGE 2
+#define CBX_DATE 3
+#define CBX_TIME 4
+#define CBX_DRAW 6
+#define CBX_NOTES 7
+#define CBX_HANDOUTS 8
+#define CBX_OUTLINE 9
+#define GRP_WARNINGS 4
+#define CBX_PAPERBIN 10
+#define CBX_FRONT 12
+#define CBX_BACK 13
+#define RBT_DEFAULT 1
+#define RBT_PAGESIZE 2
+#define RBT_PAGETILE 3
+#define RBT_BOOKLET 4
+#define GRP_PRINT_EXT 3
+#define GRP_PAPERBIN 4
+
+#define RBT_COLOR 5
+#define RBT_GRAYSCALE 6
+#define RBT_BLACKWHITE 7
+#define GRP_OUTPUT 5
diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx
new file mode 100644
index 000000000000..68230679ba34
--- /dev/null
+++ b/sd/source/ui/inc/prntopts.hxx
@@ -0,0 +1,145 @@
+/*************************************************************************
+ *
+ * $RCSfile: prntopts.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_PRNTOPTS_HXX
+#define _SD_PRNTOPTS_HXX
+
+#ifndef _SV_GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+
+#ifndef _SFXTABDLG_HXX //autogen
+#include <sfx2/tabdlg.hxx>
+#endif
+
+
+/*
+enum PrintType
+{
+ PT_DRAWING,
+ PT_NOTES,
+ PT_HANDOUT,
+ PT_OUTLINE
+};
+*/
+class SdModule;
+class SdPrintOptions : public SfxTabPage
+{
+ friend class SdOptionsDlg;
+ friend class SdModule;
+
+private:
+ CheckBox aCbxDraw;
+ CheckBox aCbxNotes;
+ CheckBox aCbxHandout;
+ CheckBox aCbxOutline;
+ GroupBox aGrpPrint;
+
+ CheckBox aCbxPagename;
+ CheckBox aCbxDate;
+ CheckBox aCbxTime;
+ GroupBox aGrpPrintExt;
+
+ CheckBox aCbxHiddenPages;
+ RadioButton aRbtDefault;
+ RadioButton aRbtPagesize;
+ RadioButton aRbtPagetile;
+ RadioButton aRbtBooklet;
+ CheckBox aCbxFront;
+ CheckBox aCbxBack;
+ GroupBox aGrpPageoptions;
+
+/// Neu
+ RadioButton aRbtColor;
+ RadioButton aRbtGrayscale;
+ RadioButton aRbtBlackWhite;
+ GroupBox aGrpOutput;
+/// Neu
+
+ CheckBox aCbxPaperbin;
+// GroupBox aGrpPaperbin;
+
+ const SfxItemSet& rOutAttrs;
+
+ DECL_LINK( ClickCheckboxHdl, CheckBox * );
+ DECL_LINK( ClickBookletHdl, CheckBox * );
+
+public:
+ SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs,
+ BOOL bHide = FALSE );
+ ~SdPrintOptions();
+
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
+ static USHORT* GetRanges();
+
+ virtual BOOL FillItemSet( SfxItemSet& );
+ virtual void Reset( const SfxItemSet & );
+};
+
+
+
+#endif // _SD_PRNTOPTS_HXX
+
+
diff --git a/sd/source/ui/inc/pubdlg.hrc b/sd/source/ui/inc/pubdlg.hrc
new file mode 100644
index 000000000000..4ce9876099e7
--- /dev/null
+++ b/sd/source/ui/inc/pubdlg.hrc
@@ -0,0 +1,182 @@
+/*************************************************************************
+ *
+ * $RCSfile: pubdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:40 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#define PAGE1_BMP 1
+#define PAGE1_TITEL 2
+#define PAGE1_NEW_DESIGN 3
+#define PAGE1_OLD_DESIGN 4
+#define PAGE1_DESIGNS 5
+#define PAGE1_DEL_DESIGN 6
+
+//////////////////////////////
+
+#define PAGE2_BMP 20
+#define PAGE2_TITEL 21
+#define PAGE2_STANDARD 22
+#define PAGE2_FRAMES 23
+#define PAGE2_KIOSK 24
+#define PAGE2_WEBCAST 25
+
+#define PAGE2_NOFRAMES_FB 26
+#define PAGE2_FRAMES_FB 27
+#define PAGE2_KIOSK_FB 28
+#define PAGE2_WEBCAST_FB 29
+
+#define PAGE2_TITEL_HTML 30
+#define PAGE2_CONTENT 31
+#define PAGE2_NOTES 32
+
+#define PAGE2_TITEL_KIOSK 33
+#define PAGE2_CHG_DEFAULT 34
+#define PAGE2_CHG_AUTO 35
+#define PAGE2_DURATION_TXT 36
+#define PAGE2_DURATION_TMF 37
+#define PAGE2_ENDLESS 38
+
+#define PAGE2_TITEL_WEBCAST 40
+#define PAGE2_ASP 41
+#define PAGE2_PERL 42
+#define PAGE2_INDEX_TXT 43
+#define PAGE2_INDEX 44
+#define PAGE2_URL_TXT 45
+#define PAGE2_URL 46
+#define PAGE2_CGI_TXT 47
+#define PAGE2_CGI 48
+
+//////////////////////////////
+
+#define PAGE3_BMP 50
+#define PAGE3_TITEL_1 51
+#define PAGE3_GIF 52
+#define PAGE3_JPG 53
+#define PAGE3_QUALITY_TXT 54
+#define PAGE3_QUALITY 55
+#define PAGE3_TITEL_2 56
+#define PAGE3_RESOLUTION_1 57
+#define PAGE3_RESOLUTION_2 58
+#define PAGE3_RESOLUTION_3 59
+#define PAGE3_TITEL_3 60
+#define PAGE3_SLD_SOUND 61
+
+//////////////////////////////
+
+#define PAGE4_BMP 65
+#define PAGE4_TITEL_1 66
+#define PAGE4_AUTHOR_TXT 67
+#define PAGE4_AUTHOR 68
+#define PAGE4_EMAIL_TXT 69
+#define PAGE4_EMAIL_EDIT 70
+#define PAGE4_WWW_TXT 71
+#define PAGE4_WWW_EDIT 72
+#define PAGE4_TITEL_2 73
+#define PAGE4_MISC 74
+#define PAGE4_DOWNLOAD 75
+#define PAGE4_CREATED 76
+
+//////////////////////////////
+
+#define PAGE5_BMP 80
+#define PAGE5_TITEL 81
+#define PAGE5_TEXTONLY 82
+#define PAGE5_BUTTONS 83
+#define PAGE5_TITEL_2 84
+#define PAGE5_NOBACK 85
+#define PAGE5_BACKS 86
+
+//////////////////////////////
+
+#define PAGE6_BMP 100
+#define PAGE6_TITEL 101
+#define PAGE6_DEFAULT 102
+#define PAGE6_USER 103
+#define PAGE6_BACK 104
+#define PAGE6_TEXT 105
+#define PAGE6_LINK 106
+#define PAGE6_VLINK 107
+#define PAGE6_ALINK 108
+#define PAGE6_DOCCOLORS 109
+#define PAGE6_USECOLOR 110
+#define PAGE6_PREVIEW 111
+
+//////////////////////////////
+
+//#define PAGE6_PAGE_SND 128
+
+//////////////////////////////
+
+#define BUT_LAST 200
+#define BUT_NEXT 201
+#define BUT_FINISH 202
+#define BUT_CANCEL 203
+#define BUT_HELP 204
+
+//////////////////////////////
+
+#define DLG_PUBLISHING 739
+
+//////////////////////////////
+
+#define BTN_SAVE 1
+#define BTN_NOSAVE 2
+#define EDT_NAME 3
+#define DLG_DESIGNNAME 740
+
diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx
new file mode 100644
index 000000000000..71288ef928a2
--- /dev/null
+++ b/sd/source/ui/inc/pubdlg.hxx
@@ -0,0 +1,260 @@
+/*************************************************************************
+ *
+ * $RCSfile: pubdlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_PUBDLG_HXX
+#define _SD_PUBDLG_HXX
+
+#ifndef _GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+#ifndef _SD_RESLTN_HXX
+#include "resltn.hxx" // enum PublishingResolution
+#endif
+
+#ifndef INC_ASSCLASS
+#include "assclass.hxx"
+#endif
+
+#define NOOFPAGES 6
+
+enum HtmlPublishMode { PUBLISH_HTML, PUBLISH_FRAMES, PUBLISH_WEBCAST, PUBLISH_KIOSK };
+
+class SfxItemSet;
+
+class FixedText;
+class RadioButton;
+class ListBox;
+class ComboBox;
+class Edit;
+class MultiLineEdit;
+class ValueSet;
+class SdHtmlAttrPreview;
+class List;
+class SdPublishingDesign;
+
+// *********************************************************************
+// Html-Export Autopilot
+// *********************************************************************
+
+class SdPublishingDlg : public ModalDialog
+{
+private:
+ // page 1 controls
+ FixedBitmap* pPage1_Bmp;
+ GroupBox* pPage1_Titel;
+ RadioButton* pPage1_NewDesign;
+ RadioButton* pPage1_OldDesign;
+ ListBox* pPage1_Designs;
+ PushButton* pPage1_DelDesign;
+
+ // page 2 controls
+ FixedBitmap* pPage2_Bmp;
+ GroupBox* pPage2_Titel;
+ RadioButton* pPage2_Standard;
+ RadioButton* pPage2_Frames;
+ RadioButton* pPage2_Kiosk;
+ RadioButton* pPage2_WebCast;
+ FixedBitmap* pPage2_Standard_FB;
+ FixedBitmap* pPage2_Frames_FB;
+ FixedBitmap* pPage2_Kiosk_FB;
+ FixedBitmap* pPage2_WebCast_FB;
+
+ GroupBox* pPage2_Titel_Html;
+ CheckBox* pPage2_Content;
+ CheckBox* pPage2_Notes;
+
+ GroupBox* pPage2_Titel_WebCast;
+ RadioButton* pPage2_ASP;
+ RadioButton* pPage2_PERL;
+ FixedText* pPage2_URL_txt;
+ Edit* pPage2_URL;
+ FixedText* pPage2_CGI_txt;
+ Edit* pPage2_CGI;
+ FixedText* pPage2_Index_txt;
+ Edit* pPage2_Index;
+
+ GroupBox* pPage2_Titel_Kiosk;
+ RadioButton* pPage2_ChgDefault;
+ RadioButton* pPage2_ChgAuto;
+ FixedText* pPage2_Duration_txt;
+ TimeField* pPage2_Duration;
+ CheckBox* pPage2_Endless;
+
+ // page 3 controls
+ FixedBitmap* pPage3_Bmp;
+ GroupBox* pPage3_Titel1;
+ RadioButton* pPage3_Gif;
+ RadioButton* pPage3_Jpg;
+ FixedText* pPage3_Quality_txt;
+ ComboBox* pPage3_Quality;
+ GroupBox* pPage3_Titel2;
+ RadioButton* pPage3_Resolution_1;
+ RadioButton* pPage3_Resolution_2;
+ RadioButton* pPage3_Resolution_3;
+ GroupBox* pPage3_Titel3;
+ CheckBox* pPage3_SldSound;
+ // page 4 controls
+
+ FixedBitmap* pPage4_Bmp;
+ GroupBox* pPage4_Titel1;
+ FixedText* pPage4_Author_txt;
+ Edit* pPage4_Author;
+ FixedText* pPage4_Email_txt;
+ Edit* pPage4_Email;
+ FixedText* pPage4_WWW_txt;
+ Edit* pPage4_WWW;
+ FixedText* pPage4_Titel2;
+ MultiLineEdit* pPage4_Misc;
+ CheckBox* pPage4_Download;
+ CheckBox* pPage4_Created;
+
+ // page 5 controls
+
+ FixedBitmap* pPage5_Bmp;
+ GroupBox* pPage5_Titel;
+ CheckBox* pPage5_TextOnly;
+ ValueSet* pPage5_Buttons;
+
+ // page 6 controls
+
+ FixedBitmap* pPage6_Bmp;
+ GroupBox* pPage6_Titel;
+ RadioButton* pPage6_Default;
+ RadioButton* pPage6_User;
+ PushButton* pPage6_Back;
+ PushButton* pPage6_Text;
+ PushButton* pPage6_Link;
+ PushButton* pPage6_VLink;
+ PushButton* pPage6_ALink;
+ RadioButton* pPage6_DocColors;
+ SdHtmlAttrPreview* pPage6_Preview;
+
+// CheckBox* pPage6_Sound;
+
+ // standard controls
+ OKButton aFinishButton;
+ CancelButton aCancelButton;
+ HelpButton aHelpButton;
+ PushButton aNextPageButton;
+ PushButton aLastPageButton;
+
+ Assistent aAssistentFunc;
+
+ BOOL m_bImpress;
+ BOOL m_bButtonsDirty;
+
+ void SetDefaults();
+ void CreatePages();
+ void RemovePages();
+
+ Color m_aBackColor, m_aTextColor, m_aLinkColor;
+ Color m_aVLinkColor, m_aALinkColor;
+
+ void ChangePage();
+ void UpdatePage();
+
+ List* m_pDesignList;
+ BOOL m_bDesignListDirty;
+ SdPublishingDesign* m_pDesign;
+ BOOL Load();
+ BOOL Save();
+
+ void GetDesign( SdPublishingDesign* pDesign );
+ void SetDesign( SdPublishingDesign* pDesign );
+
+ void LoadPreviewButtons();
+
+ DECL_LINK( FinishHdl, OKButton * );
+ DECL_LINK( NextPageHdl, PushButton * );
+ DECL_LINK( LastPageHdl, PushButton * );
+
+ DECL_LINK( DesignHdl, RadioButton * );
+ DECL_LINK( DesignSelectHdl, ListBox * );
+ DECL_LINK( DesignDeleteHdl, PushButton * );
+ DECL_LINK( BaseHdl, RadioButton * );
+ DECL_LINK( ContentHdl, RadioButton * );
+ DECL_LINK( GfxFormatHdl, RadioButton * );
+ DECL_LINK( ResolutionHdl, RadioButton * );
+ DECL_LINK( ButtonsHdl, ValueSet* );
+ DECL_LINK( ColorHdl, PushButton * );
+ DECL_LINK( WebServerHdl, RadioButton * );
+ DECL_LINK( SlideChgHdl, RadioButton* );
+
+public:
+
+ SdPublishingDlg(Window* pWindow, DocumentType eDocType);
+ ~SdPublishingDlg();
+
+ void FillItemSet( SfxItemSet& aSet );
+};
+
+#endif // _SD_PUBDLG_HXX
+
diff --git a/sd/source/ui/inc/res_bmp.hrc b/sd/source/ui/inc/res_bmp.hrc
new file mode 100644
index 000000000000..392889707c97
--- /dev/null
+++ b/sd/source/ui/inc/res_bmp.hrc
@@ -0,0 +1,326 @@
+/*************************************************************************
+ *
+ * $RCSfile: res_bmp.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include "sfx2/sfx.hrc"
+#include "cfgids.hxx"
+#define RID_TIME_BUTTON RID_APP_START
+#define RID_ALIGNMENT RID_APP_START+1
+#define RID_ZOOM RID_APP_START+2
+#define RID_CONTROLS RID_APP_START+3
+#define RID_IMPRESS_DOCWINDOWICON RID_APP_START+4
+
+#define RID_ALIGNMENT_TBX RID_APP_START+5
+#define RID_ZOOM_TBX RID_APP_START+6
+#define RID_CHOOSE_MODE RID_APP_START+7
+#define RID_CHOOSE_MODE_TBX RID_APP_START+8
+
+#define RID_PREVIEW_BUTTON RID_APP_START+9
+
+#define RID_TEXT RID_APP_START+10
+#define RID_TEXT_TBX RID_APP_START+11
+#define RID_RECTANGLES RID_APP_START+12
+#define RID_RECTANGLES_TBX RID_APP_START+13
+#define RID_ELLIPSES RID_APP_START+14
+#define RID_ELLIPSES_TBX RID_APP_START+15
+#define RID_LINES RID_APP_START+16
+#define RID_LINES_TBX RID_APP_START+17
+#define RID_3D_OBJECTS RID_APP_START+18
+#define RID_3D_OBJECTS_TBX RID_APP_START+19
+#define RID_INSERT RID_APP_START+20
+#define RID_INSERT_TBX RID_APP_START+21
+#define RID_POSITION RID_APP_START+22
+#define RID_POSITION_TBX RID_APP_START+23
+#define RID_CONNECTORS RID_APP_START+24
+#define RID_CONNECTORS_TBX RID_APP_START+25
+#define RID_ARROWS RID_APP_START+26
+#define RID_ARROWS_TBX RID_APP_START+27
+#define RID_DRAW_DOCWINDOWICON RID_APP_START+28
+#define RID_GRAFFILTERS RID_APP_START+29
+#define RID_GRAFFILTERS_TBX RID_APP_START+30
+
+#define BMP_SW_PRESENTATION RID_APP_START
+#define BMP_SW_SLIDE RID_APP_START+1
+#define BMP_SW_DRAW RID_APP_START+2
+#define BMP_SW_OUTLINE RID_APP_START+3
+#define BMP_SW_NOTES RID_APP_START+4
+#define BMP_SW_HANDOUT RID_APP_START+5
+
+// Bitmaps fuer TabBar-Modusumschaltung-Buttons
+#define BMP_TAB_PAGEMODE RID_APP_START+6
+#define BMP_TAB_MASTERPAGE RID_APP_START+7
+#define BMP_TAB_LAYERMODE RID_APP_START+8
+
+#define BMP_FOIL_00 RID_APP_START+10
+#define BMP_FOIL_01 RID_APP_START+11
+#define BMP_FOIL_02 RID_APP_START+12
+#define BMP_FOIL_03 RID_APP_START+13
+#define BMP_FOIL_04 RID_APP_START+14
+#define BMP_FOIL_05 RID_APP_START+15
+#define BMP_FOIL_06 RID_APP_START+16
+#define BMP_FOIL_07 RID_APP_START+17
+#define BMP_FOIL_08 RID_APP_START+18
+#define BMP_FOIL_09 RID_APP_START+19
+#define BMP_FOIL_10 RID_APP_START+20
+#define BMP_FOIL_11 RID_APP_START+21
+#define BMP_FOIL_12 RID_APP_START+22
+#define BMP_FOIL_13 RID_APP_START+23
+#define BMP_FOIL_14 RID_APP_START+24
+#define BMP_FOIL_15 RID_APP_START+25
+#define BMP_FOIL_16 RID_APP_START+26
+#define BMP_FOIL_17 RID_APP_START+27
+#define BMP_FOIL_18 RID_APP_START+28
+#define BMP_FOIL_19 RID_APP_START+29
+#define BMP_FOIL_20 RID_APP_START+30
+#define BMP_FOILH_01 RID_APP_START+31
+#define BMP_FOILH_02 RID_APP_START+32
+#define BMP_FOILH_03 RID_APP_START+33
+#define BMP_FOILH_04 RID_APP_START+34
+#define BMP_FOILH_06 RID_APP_START+35
+#define BMP_FOILN_01 RID_APP_START+40
+
+#define BMP_FONTWORK_TOPHCIRC RID_APP_START+41
+
+// Bitmaps fuer Tree-ListBox im Effekte-TabDialog
+#define BMP_PAGE RID_APP_START+42
+#define BMP_PAGEOBJS RID_APP_START+43
+#define BMP_OBJECTS RID_APP_START+44
+#define BMP_DOC_OPEN RID_APP_START+45
+#define BMP_DOC_CLOSED RID_APP_START+46
+#define BMP_DOC_TEXT RID_APP_START+47
+#define BMP_OLE RID_APP_START+48
+#define BMP_PAGE_EXCLUDED RID_APP_START+49
+#define BMP_PAGEOBJS_EXCLUDED RID_APP_START+50
+#define BMP_EXPAND RID_APP_START+51
+#define BMP_COLLAPSE RID_APP_START+52
+#define BMP_GRAPHIC RID_APP_START+53
+
+// Bimaps fuer ValueSet im EffekteWindow
+#define BMP_EFFECT_FADE_FROM_UPPERLEFT RID_APP_START+54
+#define BMP_EFFECT_FADE_FROM_TOP RID_APP_START+55
+#define BMP_EFFECT_FADE_FROM_UPPERRIGHT RID_APP_START+56
+#define BMP_EFFECT_FADE_FROM_LEFT RID_APP_START+57
+#define BMP_EFFECT_FADE_FROM_RIGHT RID_APP_START+58
+#define BMP_EFFECT_FADE_FROM_LOWERLEFT RID_APP_START+59
+#define BMP_EFFECT_FADE_FROM_BOTTOM RID_APP_START+60
+#define BMP_EFFECT_FADE_FROM_LOWERRIGHT RID_APP_START+61
+
+#define BMP_EFFECT_DISCARD_FROM_TOP RID_APP_START+62
+#define BMP_EFFECT_DISCARD_FROM_LEFT RID_APP_START+63
+#define BMP_EFFECT_DISCARD_FROM_RIGHT RID_APP_START+64
+#define BMP_EFFECT_DISCARD_FROM_BOTTOM RID_APP_START+65
+
+#define BMP_EFFECT_FADE_TO_CENTER RID_APP_START+66
+#define BMP_EFFECT_FADE_FROM_CENTER RID_APP_START+67
+#define BMP_EFFECT_VERTICAL_STRIPES RID_APP_START+68
+#define BMP_EFFECT_HORIZONTAL_STRIPES RID_APP_START+69
+#define BMP_EFFECT_CLOCKWISE RID_APP_START+70
+#define BMP_EFFECT_COUNTERCLOCKWISE RID_APP_START+71
+
+#define BMP_EFFECT_OPEN_VERTICAL RID_APP_START+72
+#define BMP_EFFECT_OPEN_HORIZONTAL RID_APP_START+73
+#define BMP_EFFECT_CLOSE_VERTICAL RID_APP_START+74
+#define BMP_EFFECT_CLOSE_HORIZONTAL RID_APP_START+75
+
+#define BMP_EFFECT_WAVYLINE_FROM_TOP RID_APP_START+76
+#define BMP_EFFECT_WAVYLINE_FROM_LEFT RID_APP_START+77
+#define BMP_EFFECT_WAVYLINE_FROM_RIGHT RID_APP_START+78
+#define BMP_EFFECT_WAVYLINE_FROM_BOTTOM RID_APP_START+79
+
+#define BMP_EFFECT_SPIRALIN_LEFT RID_APP_START+80
+#define BMP_EFFECT_SPIRALIN_RIGHT RID_APP_START+81
+#define BMP_EFFECT_SPIRALOUT_LEFT RID_APP_START+82
+#define BMP_EFFECT_SPIRALOUT_RIGHT RID_APP_START+83
+
+#define BMP_EFFECT_LASER_FROM_UPPERLEFT RID_APP_START+84
+#define BMP_EFFECT_LASER_FROM_TOP RID_APP_START+85
+#define BMP_EFFECT_LASER_FROM_UPPERRIGHT RID_APP_START+86
+#define BMP_EFFECT_LASER_FROM_LEFT RID_APP_START+87
+#define BMP_EFFECT_LASER_FROM_RIGHT RID_APP_START+88
+#define BMP_EFFECT_LASER_FROM_LOWERLEFT RID_APP_START+89
+#define BMP_EFFECT_LASER_FROM_BOTTOM RID_APP_START+90
+#define BMP_EFFECT_LASER_FROM_LOWERRIGHT RID_APP_START+91
+
+#define BMP_EFFECT_VERTICAL_LINES RID_APP_START+92
+#define BMP_EFFECT_HORIZONTAL_LINES RID_APP_START+93
+#define BMP_EFFECT_DISSOLVE RID_APP_START+94
+#define BMP_EFFECT_RANDOM RID_APP_START+95
+#define BMP_EFFECT_PATH RID_APP_START+96
+
+#define BMP_EFFECT_ROLL_FROM_TOP RID_APP_START+97
+#define BMP_EFFECT_ROLL_FROM_LEFT RID_APP_START+98
+#define BMP_EFFECT_ROLL_FROM_RIGHT RID_APP_START+99
+#define BMP_EFFECT_ROLL_FROM_BOTTOM RID_APP_START+100
+
+#define BMP_EFFECT_STRETCH_FROM_TOP RID_APP_START+101
+#define BMP_EFFECT_STRETCH_FROM_LEFT RID_APP_START+102
+#define BMP_EFFECT_STRETCH_FROM_RIGHT RID_APP_START+103
+#define BMP_EFFECT_STRETCH_FROM_BOTTOM RID_APP_START+104
+
+#define BMP_EFFECT_NONE RID_APP_START+105
+#define BMP_TEXTEFFECT_DISCARD_FROM_TOP RID_APP_START+106
+#define BMP_TEXTEFFECT_FADE_FROM_CENTER RID_APP_START+107
+#define BMP_EFFECT_HIDE RID_APP_START+108
+#define BMP_EFFECT_APPEAR RID_APP_START+109
+
+#define BMP_FOIL_NONE RID_APP_START+120
+#define BMP_GROUP RID_APP_START+121
+
+#define BMP_PAGE_ON RID_APP_START+122
+#define BMP_PAGE_OFF RID_APP_START+123
+
+#define BMP_WAIT_ICON RID_APP_START+124
+
+#define IMG_EMBEDDED RID_APP_START+1
+#define IMG_LINK RID_APP_START+2
+#define IMG_HYPERLINK RID_APP_START+3
+#define IMG_EFFECT RID_APP_START+4
+#define IMG_EXTRAS RID_APP_START+5
+#define IMG_TEXT RID_APP_START+6
+#define IMG_ORDER RID_APP_START+7
+#define IMG_EFFECT_ACTIVE RID_APP_START+8
+#define IMG_TEXT_ACTIVE RID_APP_START+9
+
+
+/*
+ * ResourceIDs fuer Popup-Menues brauchen keinen Dummy-String !!!
+ */
+
+#define RID_DRAW_TEXTOBJ_POPUP RID_APP_START+43
+#define RID_DRAW_GEOMOBJ_POPUP RID_APP_START+44
+#define RID_DRAW_NOSEL_POPUP RID_APP_START+45
+#define RID_SLIDETABLE_POPUP RID_APP_START+46
+#define RID_BEZIER_POPUP RID_APP_START+47
+#define RID_DRAW_LINEOBJ_POPUP RID_APP_START+48
+#define RID_DRAW_MULTISELECTION_POPUP RID_APP_START+49
+#define RID_DRAW_PAGETAB_POPUP RID_APP_START+50
+#define RID_LAYERTAB_POPUP RID_APP_START+51
+#define RID_DRAW_GRAPHIC_POPUP RID_APP_START+52
+#define RID_DRAW_OLE2_POPUP RID_APP_START+53
+#define RID_DRAW_TEXTOBJ_INSIDE_POPUP RID_APP_START+54
+#define RID_SLIDE_NOSEL_POPUP RID_APP_START+55
+#define RID_OUTLINE_POPUP RID_APP_START+56
+#define RID_MASTERPAGE_POPUP RID_APP_START+57
+#define RID_DRAW_GROUPOBJ_POPUP RID_APP_START+58
+#define RID_DRAW_3DOBJ_POPUP RID_APP_START+59
+#define RID_DRAW_MEASUREOBJ_POPUP RID_APP_START+60
+#define RID_DRAW_EDGEOBJ_POPUP RID_APP_START+61
+#define RID_DRAW_BMP_CONVERT_POPUP RID_APP_START+62
+#define RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+63
+#define RID_DRAW_3DSCENE_POPUP RID_APP_START+64
+#define RID_DRAW_3DSCENE2_POPUP RID_APP_START+65
+
+// Draw (Graphic)
+#define RID_GRAPHIC_TEXTOBJ_POPUP RID_APP_START+70
+#define RID_GRAPHIC_GEOMOBJ_POPUP RID_APP_START+71
+#define RID_GRAPHIC_NOSEL_POPUP RID_APP_START+72
+#define RID_GRAPHIC_LINEOBJ_POPUP RID_APP_START+73
+#define RID_GRAPHIC_MULTISELECTION_POPUP RID_APP_START+74
+#define RID_GRAPHIC_PAGETAB_POPUP RID_APP_START+75
+#define RID_GRAPHIC_GRAPHIC_POPUP RID_APP_START+76
+#define RID_GRAPHIC_OLE2_POPUP RID_APP_START+77
+#define RID_GRAPHIC_GROUPOBJ_POPUP RID_APP_START+78
+#define RID_GRAPHIC_3DOBJ_POPUP RID_APP_START+79
+#define RID_GRAPHIC_MEASUREOBJ_POPUP RID_APP_START+80
+#define RID_GRAPHIC_EDGEOBJ_POPUP RID_APP_START+81
+#define RID_GRAPHIC_POLYLINEOBJ_POPUP RID_APP_START+82
+#define RID_GRAPHIC_3DSCENE_POPUP RID_APP_START+83
+#define RID_GRAPHIC_3DSCENE2_POPUP RID_APP_START+84
+
+/*
+ * Pointer (Mauszeiger)
+ */
+#define PTR_WATERCAN RID_APP_START+100
+#define PTR_PENCIL RID_APP_START+101
+
+
+/*
+ * Globale Dialog-IDs
+ */
+#define DLG_FONTWORK RID_APP_START+150
+
+/*
+ * ResourceIDs fuer Toolboxen nicht aendern, ohne die Strings in
+ * strings.hrc auf die selben IDs zu setzen (eine Toolbox und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ */
+
+// --> Jetzt in cfgids.hxx
+/*
+#define _RID_DRAW_TOOLBOX RID_APP_START+200
+#define _RID_SLIDE_TOOLBOX RID_APP_START+201
+#define _RID_DRAW_OBJ_TOOLBOX RID_APP_START+202
+#define _RID_SLIDE_OBJ_TOOLBOX RID_APP_START+203
+#define _RID_BEZIER_TOOLBOX RID_APP_START+204
+#define _RID_TEXT_TOOLBOX RID_APP_START+205
+#define _RID_OUTLINE_TOOLBOX RID_APP_START+206
+#define _RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+207
+#define _RID_GLUEPOINTS_TOOLBOX RID_APP_START+208
+*/
+
+
+#define RID_DRAW_SNAPOBJECT_POPUP RID_APP_START+390
+#define RID_DRAW_GLUEPOINT_POPUP RID_APP_START+392
+#define RID_DRAW_CONTROL_POPUP RID_APP_START+393
+#define RID_FORM_CONTROL_POPUP RID_APP_START+394
+
+#ifndef IMAGE_STDBTN_COLOR
+#define IMAGE_STDBTN_COLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; }
+#endif
+
diff --git a/sd/source/ui/inc/sdpopup.hxx b/sd/source/ui/inc/sdpopup.hxx
new file mode 100644
index 000000000000..7f0088d8be2e
--- /dev/null
+++ b/sd/source/ui/inc/sdpopup.hxx
@@ -0,0 +1,97 @@
+/*************************************************************************
+ *
+ * $RCSfile: sdpopup.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_SDPOPUP_HXX
+#define _SD_SDPOPUP_HXX
+
+
+#ifndef _SV_MENU_HXX //autogen
+#include <vcl/menu.hxx>
+#endif
+
+class SvxFieldData;
+
+/*************************************************************************
+|*
+|* PopupMenu zum Bearbeiten von Feldbefehlen
+|*
+\************************************************************************/
+
+class SdFieldPopup : public PopupMenu
+{
+private:
+ const SvxFieldData* pField;
+
+ void Fill();
+
+public:
+ SdFieldPopup( const SvxFieldData* pInField );
+ ~SdFieldPopup();
+
+ //virtual void Select();
+
+ SvxFieldData* GetField();
+};
+
+
+
+#endif // _SD_SDPOPUP_HXX
diff --git a/sd/source/ui/inc/sdpreslt.hrc b/sd/source/ui/inc/sdpreslt.hrc
new file mode 100644
index 000000000000..5802d0213a2a
--- /dev/null
+++ b/sd/source/ui/inc/sdpreslt.hrc
@@ -0,0 +1,70 @@
+/*************************************************************************
+ *
+ * $RCSfile: sdpreslt.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define DLG_PRESLT 868
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_LOAD 2
+#define BTN_HELP 1
+#define VS_LAYOUT 1
+#define FT_LAYOUT 1
+#define CBX_MASTER_PAGE 1
+#define CBX_CHECK_MASTERS 2
+
diff --git a/sd/source/ui/inc/sdpreslt.hxx b/sd/source/ui/inc/sdpreslt.hxx
new file mode 100644
index 000000000000..a8cf0d6a62f3
--- /dev/null
+++ b/sd/source/ui/inc/sdpreslt.hxx
@@ -0,0 +1,123 @@
+/*************************************************************************
+ *
+ * $RCSfile: sdpreslt.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_SDPRESLT_HXX_
+#define _SD_SDPRESLT_HXX_
+
+#ifndef _SV_DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _SV_FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _VALUESET_HXX //autogen
+#include <svtools/valueset.hxx>
+#endif
+
+class SfxItemSet;
+class SdViewShell;
+class SdDrawDocShell;
+
+
+
+class SdPresLayoutDlg : public ModalDialog
+{
+private:
+ SdDrawDocShell* pDocSh;
+ SdViewShell* pViewSh;
+ FixedText aFtLayout;
+ ValueSet aVS;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ CheckBox aCbxMasterPage;
+ CheckBox aCbxCheckMasters;
+ PushButton aBtnLoad;
+
+ const SfxItemSet& rOutAttrs;
+
+ List* pLayoutNames;
+
+ String aName; // Layoutname oder Dateiname
+ long nLayoutCount; // Anzahl, der im Dokument vorhandenen MasterPages
+ String aStrNone;
+
+ void FillValueSet();
+ void Reset();
+
+public:
+ SdPresLayoutDlg( SdDrawDocShell* pDocShell, SdViewShell* pViewShell, Window* pWindow,
+ const SfxItemSet& rInAttrs);
+
+ ~SdPresLayoutDlg();
+
+ void GetAttr(SfxItemSet& rOutAttrs);
+
+ DECL_LINK(ClickLayoutHdl, void *);
+ DECL_LINK(ClickLoadHdl, void *);
+};
+
+#endif // _SD_PRESLT_HXX_
+
diff --git a/sd/source/ui/inc/sdstring.hrc b/sd/source/ui/inc/sdstring.hrc
new file mode 100644
index 000000000000..cad9eaa3e327
--- /dev/null
+++ b/sd/source/ui/inc/sdstring.hrc
@@ -0,0 +1,89 @@
+/*************************************************************************
+ *
+ * $RCSfile: sdstring.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include <sfx2/sfx.hrc>
+#define SID_SD_STRING_START RID_APP_START+300
+
+#define STR_SOLID SID_SD_STRING_START+0
+
+#define STR_GRADIENT SID_SD_STRING_START+1
+#define STR_DESC_GRADIENT SID_SD_STRING_START+2
+#define STR_DEL_GRADIENT SID_SD_STRING_START+3
+#define STR_ASK_DEL_GRADIENT SID_SD_STRING_START+4
+#define STR_ASK_CHANGE_GRADIENT SID_SD_STRING_START+5
+#define STR_BITMAP SID_SD_STRING_START+6
+#define STR_DESC_NEW_BITMAP SID_SD_STRING_START+7
+#define STR_DESC_EXT_BITMAP SID_SD_STRING_START+8
+#define STR_DEL_BITMAP SID_SD_STRING_START+9
+#define STR_ASK_DEL_BITMAP SID_SD_STRING_START+10
+#define STR_ASK_CHANGE_BITMAP SID_SD_STRING_START+11
+
+#define STR_LINESTYLE SID_SD_STRING_START+12
+#define STR_DESC_LINESTYLE SID_SD_STRING_START+13
+#define STR_DEL_LINESTYLE SID_SD_STRING_START+14
+#define STR_ASK_DEL_LINESTYLE SID_SD_STRING_START+15
+#define STR_ASK_CHANGE_LINESTYLE SID_SD_STRING_START+16
+
+#define STR_INVISIBLE SID_SD_STRING_START+17
+#define STR_COLOR SID_SD_STRING_START+18
+#define STR_HATCH SID_SD_STRING_START+19
+#define STR_CHANGE SID_SD_STRING_START+20
+#define STR_ADD SID_SD_STRING_START+21
+
diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx
new file mode 100644
index 000000000000..dfb3b54daac3
--- /dev/null
+++ b/sd/source/ui/inc/sdtreelb.hxx
@@ -0,0 +1,155 @@
+/*************************************************************************
+ *
+ * $RCSfile: sdtreelb.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SDTREELB_HXX
+#define _SDTREELB_HXX
+
+#ifndef _SD_SDRESID_HXX
+#include "sdresid.hxx"
+#endif
+
+#ifndef _STRING_HXX //autogen
+#include <tools/string.hxx>
+#endif
+
+#ifndef _SVTREEBOX_HXX //autogen
+#include <svtools/svtreebx.hxx>
+#endif
+
+#ifndef _REF_HXX //autogen
+#include <tools/ref.hxx>
+#endif
+
+#ifndef SV_DECL_SDDRAWDOCSHELL_DEFINED
+#define SV_DECL_SDDRAWDOCSHELL_DEFINED
+SV_DECL_REF(SdDrawDocShell)
+#endif
+
+class SdDrawDocument;
+class SfxMedium;
+class SfxViewFrame;
+
+/*************************************************************************
+|*
+|* Effekte-Tab-Dialog
+|*
+\************************************************************************/
+
+class SdPageObjsTLB : public SvTreeListBox
+{
+private:
+ static BOOL bIsInDrag; // static, falls der Navigator im ExecuteDrag geloescht wird
+
+protected:
+ Window* pParent;
+ const SdDrawDocument* pDoc;
+ SdDrawDocument* pBookmarkDoc;
+ SfxMedium* pMedium;
+ SfxMedium* pOwnMedium;
+ Color aColor;
+ Image aImgOle;
+ Image aImgGraphic;
+ BOOL bOleSelected;
+ BOOL bGraphicSelected;
+ BOOL bDragEnabled;
+ String aDocName;
+ SdDrawDocShellRef xBookmarkDocShRef; // Zum Laden von Bookmarks
+ SdDrawDocShell* pDropDocSh;
+ SfxViewFrame* pFrame;
+
+ virtual void RequestingChilds( SvLBoxEntry* pParent );
+ void DoDrag();
+ DECL_STATIC_LINK(SdPageObjsTLB, ExecDragHdl, void*);
+
+public:
+ SdPageObjsTLB( Window* pParent, const SdResId& rSdResId, BOOL bEnableDrop = FALSE );
+ ~SdPageObjsTLB();
+
+ virtual void SelectHdl();
+ virtual void KeyInput( const KeyEvent& rKEvt );
+ virtual void Command(const CommandEvent& rCEvt );
+ virtual BOOL QueryDrop(DropEvent& rEvt);
+ virtual BOOL Drop(const DropEvent& rEvt);
+
+ void SetViewFrame( SfxViewFrame* pViewFrame ) { pFrame = pViewFrame; }
+
+ void Fill( const SdDrawDocument*, BOOL bAllPages,
+ const String& rDocName );
+ void Fill( const SdDrawDocument*, SfxMedium* pSfxMedium,
+ const String& rDocName );
+ BOOL IsEqualToDoc( const SdDrawDocument* pInDoc = NULL );
+ BOOL HasSelectedChilds( const String& rName );
+ BOOL SelectEntry( const String& rName );
+ String GetSelectEntry();
+ List* GetSelectEntryList( USHORT nDepth );
+ List* GetBookmarkList( USHORT nType );
+ SdDrawDocument* GetBookmarkDoc(SfxMedium* pMedium = NULL);
+ SdDrawDocShell* GetDropDocSh() { return(pDropDocSh); }
+ void CloseBookmarkDoc();
+ BOOL IsOleSelected() const { return( bOleSelected ); }
+ BOOL IsGraphicSelected() const { return( bGraphicSelected ); }
+
+ static BOOL IsInDrag() { return bIsInDrag; }
+};
+
+#endif // _SDTREELB_HXX
+
diff --git a/sd/source/ui/inc/sdundogr.hxx b/sd/source/ui/inc/sdundogr.hxx
new file mode 100644
index 000000000000..97abb0d67425
--- /dev/null
+++ b/sd/source/ui/inc/sdundogr.hxx
@@ -0,0 +1,90 @@
+/*************************************************************************
+ *
+ * $RCSfile: sdundogr.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_SDUNDOGR_HXX
+#define _SD_SDUNDOGR_HXX
+
+#ifndef _CONTNR_HXX //autogen
+#include <tools/contnr.hxx>
+#endif
+#include "sdundo.hxx"
+
+class SdUndoGroup : public SdUndoAction
+{
+ Container aCtn;
+public:
+ TYPEINFO();
+ SdUndoGroup(SdDrawDocument* pSdDrawDocument)
+ : SdUndoAction(pSdDrawDocument),
+ aCtn(16, 16, 16) {}
+ virtual ~SdUndoGroup();
+
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+
+ void AddAction(SdUndoAction* pAction);
+ SdUndoAction* GetAction(ULONG nAction) const;
+ ULONG Count() const { return aCtn.Count(); }
+
+};
+
+#endif // _SD_SDUNDOGR_HXX
diff --git a/sd/source/ui/inc/showview.hxx b/sd/source/ui/inc/showview.hxx
new file mode 100644
index 000000000000..3ee44d0052a9
--- /dev/null
+++ b/sd/source/ui/inc/showview.hxx
@@ -0,0 +1,114 @@
+/*************************************************************************
+ *
+ * $RCSfile: showview.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_SHOWVIEW_HXX
+#define _SD_SHOWVIEW_HXX
+
+#ifndef _SVX_FMVIEW_HXX
+#include <svx/fmview.hxx>
+#endif
+
+class SdDrawDocument;
+class SdViewShell;
+
+/*************************************************************************
+|*
+|* Beschreibung ShowView ist die View fuer die Diashow
+|*
+\************************************************************************/
+
+class ShowView : public FmFormView
+{
+ SdDrawDocument* pDrDoc;
+ SdViewShell* pViewSh;
+ Window* pWindowForPlugIns;
+ USHORT nAllowInvalidateSmph;
+ BOOL bAllowMasterPageCaching;
+
+ public:
+ // wenn waehrend des Zeichnens Plugins 'connected'
+ // werden sollen, muss pWWin ein Zeiger auf das Fenster
+ // sein, das das Plugin benutzen soll
+ ShowView(SdDrawDocument* pDoc, OutputDevice* pOut,
+ SdViewShell* pViewShell, Window* pWin = NULL);
+ ~ShowView();
+
+ SdDrawDocument& GetDoc() const { return *pDrDoc; }
+
+ void SetAllowInvalidate(BOOL bFlag);
+ BOOL IsInvalidateAllowed() const;
+
+ void SetAllowMasterPageCaching(BOOL bAllow)
+ { bAllowMasterPageCaching = bAllow; }
+ BOOL IsMasterPageCachingAllowed() const
+ { return(bAllowMasterPageCaching); }
+
+ virtual void InitRedraw(OutputDevice* pOutDev, const Region& rReg);
+ virtual void InvalidateOneWin(Window& rWin);
+ virtual void InvalidateOneWin(Window& rWin, const Rectangle& rRect);
+
+ virtual void DoConnect(SdrOle2Obj* pOleObj);
+
+};
+
+#endif // _SD_SHOWVIEW_HXX
+
+
diff --git a/sd/source/ui/inc/sprite.hxx b/sd/source/ui/inc/sprite.hxx
new file mode 100644
index 000000000000..82fbb1967eed
--- /dev/null
+++ b/sd/source/ui/inc/sprite.hxx
@@ -0,0 +1,126 @@
+/*************************************************************************
+ *
+ * $RCSfile: sprite.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SPRITE_HXX
+#define _SPRITE_HXX
+
+#ifndef _SV_VIRDEV_HXX //autogen
+#include <vcl/virdev.hxx>
+#endif
+#ifndef _SV_REGION_HXX //autogen
+#include <vcl/region.hxx>
+#endif
+#ifndef _SV_MAPMOD_HXX //autogen
+#include <vcl/mapmod.hxx>
+#endif
+#ifndef _SV_IMAGE_HXX //autogen
+#include <vcl/image.hxx>
+#endif
+#ifndef _SV_BITMAPEX_HXX //autogen
+#include <vcl/bitmapex.hxx>
+#endif
+
+// ----------
+// - Sprite -
+// ----------
+
+class SdMetaFile;
+class Marker;
+
+class Sprite
+{
+protected:
+
+ MapMode aOldMap;
+ Region aOldClip;
+ Rectangle aOldRect;
+ Point aPt;
+ Size aSz;
+ Point aLayerOffsetPix;
+ VirtualDevice* pPaintDev;
+ VirtualDevice* pBottomLayer;
+ BitmapEx* pActBmpEx;
+ BitmapEx* pTopLayer;
+ SdMetaFile** ppTopMtf;
+ Marker* pObjStartMarker;
+ Marker* pObjEndMarker;
+ List* pListOfBmpEx;
+ ULONG nLastTime;
+ BOOL bClipRegion;
+
+ void ImpDrawSprite( OutputDevice* pOut );
+
+public:
+
+ Sprite( List* pListOfBmpEx );
+ ~Sprite();
+
+ BOOL StartMoving( OutputDevice* pOut,
+ OutputDevice* pBottomLayer = NULL,
+ BitmapEx* pTopLayer = NULL,
+ SdMetaFile** ppTopMtf = NULL,
+ Marker* pObjStartMarker = NULL,
+ Marker* pObjEndMarker = NULL );
+ void MoveTo( OutputDevice* pOut, const Point& rPt );
+ void EndMoving( OutputDevice* pOut );
+};
+
+#endif // _SPRITE_HXX
diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc
new file mode 100644
index 000000000000..cdd66e1ffb8b
--- /dev/null
+++ b/sd/source/ui/inc/strings.hrc
@@ -0,0 +1,688 @@
+/*************************************************************************
+ *
+ * $RCSfile: strings.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include "sfx2/sfx.hrc"
+#ifndef _SD_CFGID_HXX
+#include "cfgids.hxx"
+#endif
+
+#define STR_DEFAULTVIEW (RID_APP_START)
+#define STR_SPECIALVIEW (RID_APP_START+1)
+#define STR_DIAVIEW (RID_APP_START+2)
+#define STR_NULL (RID_APP_START+3)
+#define STR_SOLID (RID_APP_START+4)
+#define STR_DOT (RID_APP_START+5)
+#define STR_DASH (RID_APP_START+6)
+#define STR_DASHDOT (RID_APP_START+7)
+#define STR_BLACK (RID_APP_START+8)
+#define STR_BLUE (RID_APP_START+9)
+#define STR_RED (RID_APP_START+10)
+#define STR_GREEN (RID_APP_START+11)
+#define STR_CYAN (RID_APP_START+12)
+#define STR_MAGENTA (RID_APP_START+13)
+#define STR_YELLOW (RID_APP_START+14)
+#define STR_WHITE (RID_APP_START+15)
+#define STR_BROWN (RID_APP_START+16)
+#define STR_GRAY (RID_APP_START+17)
+#define STR_LIGHTGRAY (RID_APP_START+18)
+#define STR_LIGHTBLUE (RID_APP_START+19)
+#define STR_LIGHTGREEN (RID_APP_START+20)
+#define STR_LIGHTRED (RID_APP_START+21)
+#define STR_LIGHTMAGENTA (RID_APP_START+22)
+#define STR_LIGHTCYAN (RID_APP_START+23)
+#define STR_BRUSH_SOLID (RID_APP_START+24)
+#define STR_HORZ (RID_APP_START+25)
+#define STR_VERT (RID_APP_START+26)
+#define STR_CROSS (RID_APP_START+27)
+#define STR_DIAGCROSS (RID_APP_START+28)
+#define STR_UPDIAG (RID_APP_START+29)
+#define STR_DOWNDIAG (RID_APP_START+30)
+#define STR_25 (RID_APP_START+31)
+#define STR_50 (RID_APP_START+32)
+#define STR_75 (RID_APP_START+33)
+#define STR_NO_BRUSH (RID_APP_START+34)
+#define STR_INSERTPAGE (RID_APP_START+35)
+#define STR_MODIFYPAGE (RID_APP_START+36)
+#define STR_INSERTLAYER (RID_APP_START+37)
+#define STR_MODIFYLAYER (RID_APP_START+38)
+#define STR_NO_EFFECT (RID_APP_START+39)
+#define STR_UNDO_SLIDE_PARAMS (RID_APP_START+40)
+#define STR_UNDO_SLIDE_MOVE (RID_APP_START+41)
+#define STR_UNDO_REPLACE (RID_APP_START+42)
+
+/*
+ * Dummy-Strings, diese ResourceIDs duerfen nicht an andere Strings vergeben
+ * werden, da sie fuer Popup-Menues benutzt werden (ein Popup-Menue und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ * siehe auch: res_bmp.hrc, popup.src
+ */
+
+#define STR_DRAW_TEXTOBJ_POPUP (RID_APP_START+43)
+#define STR_DRAW_GEOMOBJ_POPUP (RID_APP_START+44)
+#define STR_DRAW_NOSEL_POPUP (RID_APP_START+45)
+#define STR_SLIDETABLE_POPUP (RID_APP_START+46)
+#define STR_BEZIER_POPUP (RID_APP_START+47)
+#define STR_DRAW_LINEOBJ_POPUP (RID_APP_START+48)
+#define STR_DRAW_MULTISELECTION_POPUP (RID_APP_START+49)
+#define STR_PAGETAB_POPUP (RID_APP_START+50)
+#define STR_LAYERTAB_POPUP (RID_APP_START+51)
+#define STR_DRAW_GRAPHIC_POPUP (RID_APP_START+52)
+#define STR_DRAW_OLE2_POPUP (RID_APP_START+53)
+#define STR_DRAW_TEXTOBJ_INSIDE_POPUP (RID_APP_START+54)
+#define STR_SLIDE_NOSEL_POPUP (RID_APP_START+55)
+#define STR_OUTLINE_POPUP (RID_APP_START+56)
+#define STR_MASTERPAGE_POPUP (RID_APP_START+57)
+#define STR_DRAW_GROUPOBJ_POPUP (RID_APP_START+58)
+
+#define STR_UNDO_CUT (RID_APP_START+59)
+#define STR_ALIGN_LEFT (RID_APP_START+60)
+#define STR_ALIGN_CENTER (RID_APP_START+61)
+#define STR_ALIGN_RIGHT (RID_APP_START+62)
+#define STR_ALIGN_UP (RID_APP_START+63)
+#define STR_ALIGN_MIDDLE (RID_APP_START+64)
+#define STR_ALIGN_DOWN (RID_APP_START+65)
+#define STR_UNDO_DRAGDROP (RID_APP_START+66)
+#define STR_INSERTGRAPHIC (RID_APP_START+67)
+#define STR_FORMAT_STRING (RID_APP_START+68)
+#define STR_FORMAT_RTF (RID_APP_START+69)
+
+/*
+ * Ueberblendeffekte: sollten nach hinten offen bleiben,
+ * da FadeEffectLB mit variabler Anzahl arbeitet
+ * (Jetzt ueber STR_EFFECT_...)
+ */
+#define STR_DRAGTYPE_URL (RID_APP_START+70)
+#define STR_DRAGTYPE_EMBEDDED (RID_APP_START+71)
+#define STR_DRAGTYPE_LINK (RID_APP_START+72)
+#define STR_GLUE_ESCDIR_SMART (RID_APP_START+73)
+#define STR_GLUE_ESCDIR_LEFT (RID_APP_START+74)
+#define STR_GLUE_ESCDIR_RIGHT (RID_APP_START+75)
+#define STR_GLUE_ESCDIR_TOP (RID_APP_START+76)
+#define STR_GLUE_ESCDIR_BOTTOM (RID_APP_START+77)
+#define STR_GLUE_ESCDIR_LO (RID_APP_START+78)
+#define STR_GLUE_ESCDIR_LU (RID_APP_START+79)
+#define STR_GLUE_ESCDIR_RO (RID_APP_START+80)
+#define STR_GLUE_ESCDIR_RU (RID_APP_START+81)
+#define STR_GLUE_ESCDIR_HORZ (RID_APP_START+82)
+#define STR_GLUE_ESCDIR_VERT (RID_APP_START+83)
+#define STR_GLUE_ESCDIR_ALL (RID_APP_START+84)
+
+#define STR_CANT_PERFORM_IN_LIVEMODE (RID_APP_START+85)
+#define STR_PUBLISH_BACK (RID_APP_START+86)
+#define STR_PUBLISH_NEXT (RID_APP_START+87)
+#define STR_PUBLISH_OUTLINE (RID_APP_START+88)
+#define STR_UNDO_COLORRESOLUTION (RID_APP_START+89)
+
+/* Von 90 - 100 fuer Popups freihalten */
+#define STR_DRAW_3DOBJ_POPUP (RID_APP_START+90)
+#define STR_DRAW_MEASUREOBJ_POPUP (RID_APP_START+91)
+#define STR_ASK_DELETE_ALL_PICTURES (RID_APP_START+92)
+#define STR_WARN_PAGE_EXISTS (RID_APP_START+93)
+#define STR_WARN_OBJECT_EXISTS (RID_APP_START+94)
+
+/* tab_line.cxx */
+#define STR_LINESTYLE (RID_APP_START+102)
+#define STR_DESC_LINESTYLE (RID_APP_START+103)
+#define STR_DEL_LINESTYLE (RID_APP_START+104)
+#define STR_ASK_DEL_LINESTYLE (RID_APP_START+105)
+
+/* dlg_ctrl.cxx */
+#define STR_INVISIBLE (RID_APP_START+106)
+#define STR_COLOR (RID_APP_START+107)
+#define STR_HATCH (RID_APP_START+108)
+
+#define STR_AREA (RID_APP_START+109)
+#define STR_LINE (RID_APP_START+110)
+#define STR_EFFECT (RID_APP_START+111)
+#define STR_SLOW (RID_APP_START+112)
+#define STR_MEDIUM (RID_APP_START+113)
+#define STR_FAST (RID_APP_START+114)
+#define STR_CHANGE (RID_APP_START+115)
+#define STR_AUTO (RID_APP_START+116)
+#define STR_MANUEL (RID_APP_START+117)
+// siehe auch 520 (STR_SEMIAUTO)
+
+#define STR_BASIC_IDE (RID_APP_START+118)
+
+// Strings fuer Bezier-Popupeintrag Umwandlung Kurve/Linie (ESO)
+#define STR_BEZ_CONV_LINE (RID_APP_START+119)
+#define STR_BEZ_CONV_CURVE (RID_APP_START+120)
+
+#define STR_SLIDE_MODE (RID_APP_START+121)
+#define STR_DRAW_MODE (RID_APP_START+122)
+#define STR_OUTLINE_MODE (RID_APP_START+123)
+#define STR_PRESENTATION_LAYOUT (RID_APP_START+124)
+
+// String-Beschreibungen der Undoaktionen in fuedibez.cxx
+#define STR_UNDO_BEZCONV (RID_APP_START+125)
+#define STR_UNDO_BEZSMOOTH (RID_APP_START+126)
+#define STR_UNDO_BEZCLOSE (RID_APP_START+127)
+
+#define STR_UNDO_3D_DIALOG (RID_APP_START+128)
+#define STR_END_SPELLING_OBJ (RID_APP_START+129)
+#define STR_MASTERPAGEMODE (RID_APP_START+130)
+#define STR_PAGEMODE (RID_APP_START+131)
+#define STR_LAYERMODE (RID_APP_START+132)
+#define STR_OPEN_OBJECT (RID_APP_START+133)
+#define STR_CLOSE_OBJECT (RID_APP_START+134)
+#define STR_NOTES_MODE (RID_APP_START+135)
+#define STR_HANDOUT_MODE (RID_APP_START+136)
+
+#define STR_LINEEND (RID_APP_START+137)
+#define STR_DESC_LINEEND (RID_APP_START+138)
+#define STR_WARN_NAME_DUPLICATE (RID_APP_START+139)
+#define STR_UNDO_COPYOBJECTS (RID_APP_START+140)
+#define STR_DESC_NAMEGROUP (RID_APP_START+141)
+#define STR_UNDEFINED_NAME (RID_APP_START+142)
+
+#define STR_SNAPDLG_SETLINE (RID_APP_START+144)
+#define STR_SNAPDLG_SETPOINT (RID_APP_START+145)
+#define STR_POPUP_EDIT_SNAPLINE (RID_APP_START+146)
+#define STR_POPUP_EDIT_SNAPPOINT (RID_APP_START+147)
+// weiter bei 160
+
+#define STR_UNDO_FORMTEXT (RID_APP_START+148)
+
+#define STR_IMPRESS (RID_APP_START+149)
+#define STR_WINDOWS_BITMAP (RID_APP_START+150)
+#define STR_WINDOWS_METAFILE (RID_APP_START+151)
+#define STR_OS2_METAFILE (RID_APP_START+152)
+#define STR_MAC_PICTURE (RID_APP_START+153)
+#define STR_IMPRESS_DOCUMENT (RID_APP_START+154)
+#define STR_OTHER_FORMAT (RID_APP_START+155)
+#define STR_DELETED (RID_APP_START+156)
+#define STR_BREAK_ACTION (RID_APP_START+157)
+#define STR_LAYER (RID_APP_START+158)
+// #define (RID_APP_START+159)
+
+#define STR_POPUP_DELETE_SNAPLINE (RID_APP_START+160)
+#define STR_POPUP_DELETE_SNAPPOINT (RID_APP_START+161)
+
+#define STR_SCALE_OBJS_TO_PAGE (RID_APP_START+162)
+
+#define STR_EYEDROPPER (RID_APP_START+163)
+
+#define STR_UNDO_MORPHING (RID_APP_START+164)
+
+#define STR_SIMPRESS (RID_APP_START+165)
+
+#define STR_FORMAT_HTML (RID_APP_START+166)
+
+#define STR_IMPRESS_DOCUMENT_FULLTYPE_31 (RID_APP_START+167)
+#define STR_IMPRESS_DOCUMENT_FULLTYPE_40 (RID_APP_START+168)
+#define STR_IMPRESS_DOCUMENT_FULLTYPE_50 (RID_APP_START+169)
+
+#define STR_UNDO_VECTORIZE (RID_APP_START+170)
+
+
+
+/*
+ * ResourceIDs fuer Toolboxen nicht aendern, ohne die Strings in
+ * strings.hrc auf die selben IDs zu setzen (eine Toolbox und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ */
+
+#define STR_PLUGIN_TOOLBOX RID_PLUGINTOOLBOX
+#define STR_DRAW_DEFAULTTOOLBOX RID_DRAW_DEFAULTTOOLBOX
+#define STR_DRAW_TOOLBOX RID_DRAW_TOOLBOX
+#define STR_SLIDE_TOOLBOX RID_SLIDE_TOOLBOX
+#define STR_DRAW_OBJ_TOOLBOX RID_DRAW_OBJ_TOOLBOX
+#define STR_SLIDE_OBJ_TOOLBOX RID_SLIDE_OBJ_TOOLBOX
+#define STR_BEZIER_TOOLBOX RID_BEZIER_TOOLBOX
+#define STR_DRAW_TEXT_TOOLBOX RID_DRAW_TEXT_TOOLBOX
+#define STR_OUTLINE_TOOLBOX RID_OUTLINE_TOOLBOX
+#define STR_DRAW_POLYLINEOBJ_POPUP RID_DRAW_POLYLINEOBJ_POPUP
+#define STR_GLUEPOINTS_TOOLBOX RID_GLUEPOINTS_TOOLBOX
+#define STR_DRAW_OPTIONS_TOOLBOX RID_DRAW_OPTIONS_TOOLBOX
+#define STR_DRAW_COMMONTASK_TOOLBOX RID_DRAW_COMMONTASK_TOOLBOX
+
+#define STR_GRAPHIC_TOOLBOX RID_GRAPHIC_TOOLBOX
+#define STR_GRAPHIC_OPTIONS_TOOLBOX RID_GRAPHIC_OPTIONS_TOOLBOX
+#define STR_GRAPHIC_OBJ_TOOLBOX RID_GRAPHIC_OBJ_TOOLBOX
+#define STR_GRAPHIC_TEXT_TOOLBOX RID_GRAPHIC_TEXT_TOOLBOX
+
+#define STR_DRAW_GRAF_TOOLBOX RID_DRAW_GRAF_TOOLBOX
+
+#define STR_UNDO_ANIMATION_ORDER (RID_APP_START+200)
+
+// IDs fuer Praesentationsfolien
+#define STR_AUTOLAYOUT_NONE (RID_APP_START+210)
+#define STR_AUTOLAYOUT_ONLY_TITLE (RID_APP_START+211)
+#define STR_AUTOLAYOUT_TITLE (RID_APP_START+212)
+#define STR_AUTOLAYOUT_OBJ (RID_APP_START+213)
+#define STR_AUTOLAYOUT_ENUM (RID_APP_START+214)
+#define STR_AUTOLAYOUT_CHART (RID_APP_START+215)
+#define STR_AUTOLAYOUT_ORG (RID_APP_START+216)
+#define STR_AUTOLAYOUT_TAB (RID_APP_START+217)
+#define STR_AUTOLAYOUT_CLIPTEXT (RID_APP_START+218)
+#define STR_AUTOLAYOUT_2TEXT (RID_APP_START+219)
+#define STR_AUTOLAYOUT_TEXTCHART (RID_APP_START+220)
+#define STR_AUTOLAYOUT_TEXTCLIP (RID_APP_START+221)
+#define STR_AUTOLAYOUT_CHARTTEXT (RID_APP_START+222)
+#define STR_AUTOLAYOUT_TEXTOBJ (RID_APP_START+223)
+#define STR_AUTOLAYOUT_TEXT2OBJ (RID_APP_START+224)
+#define STR_AUTOLAYOUT_OBJTEXT (RID_APP_START+225)
+#define STR_AUTOLAYOUT_OBJOVERTEXT (RID_APP_START+226)
+#define STR_AUTOLAYOUT_2OBJTEXT (RID_APP_START+227)
+#define STR_AUTOLAYOUT_2OBJOVERTEXT (RID_APP_START+228)
+#define STR_AUTOLAYOUT_TEXTOVEROBJ (RID_APP_START+229)
+#define STR_AUTOLAYOUT_4OBJ (RID_APP_START+230)
+#define STR_AUTOLAYOUT_HANDOUT1 (RID_APP_START+231)
+#define STR_AUTOLAYOUT_HANDOUT2 (RID_APP_START+232)
+#define STR_AUTOLAYOUT_HANDOUT3 (RID_APP_START+233)
+#define STR_AUTOLAYOUT_HANDOUT4 (RID_APP_START+234)
+#define STR_AUTOLAYOUT_HANDOUT6 (RID_APP_START+235)
+#define STR_AUTOLAYOUT_NOTES (RID_APP_START+236)
+
+// fuer weitere Layouts...
+
+#define STR_TRANSFORM (RID_APP_START+240)
+
+#define STR_UNDO_ANIMATION (RID_APP_START+241)
+
+
+#define STR_EXPORT_ALL (RID_APP_START+242)
+#define STR_EXPORT_UNKNOWN_FORMAT (RID_APP_START+243)
+#define STR_EXPORT_HTML_NAME (RID_APP_START+244)
+#define STR_EXPORT_HTML_FILTER (RID_APP_START+245)
+#define STR_EXPORT_IMP_GROUP (RID_APP_START+246)
+#define STR_EXPORT_EXP_GROUP (RID_APP_START+247)
+#define STR_EXPORT_PATH_NOT_FOUND1 (RID_APP_START+248)
+#define STR_EXPORT_PATH_NOT_FOUND2 (RID_APP_START+249)
+#define STR_EXPORT_GRFILTER_OPENERROR (RID_APP_START+250)
+#define STR_EXPORT_GRFILTER_IOERROR (RID_APP_START+251)
+#define STR_EXPORT_GRFILTER_FORMATERROR (RID_APP_START+252)
+#define STR_EXPORT_GRFILTER_VERSIONERROR (RID_APP_START+253)
+#define STR_EXPORT_GRFILTER_FILTERERROR (RID_APP_START+254)
+#define STR_EXPORT_GRFILTER_TOOBIG (RID_APP_START+255)
+#define STR_EXPORT_PROPERTIES (RID_APP_START+256)
+#define STR_EXPORT_STANDARD (RID_APP_START+257)
+#define STR_EXPORT_LINK (RID_APP_START+258)
+#define STR_EXPORT_PREVIEW (RID_APP_START+259)
+#define STR_EXPORT_IMPORTGRAPHIC_COUNT (RID_APP_START+260)
+#define STR_EXPORT_DIALOG_TITLE (RID_APP_START+261)
+#define STR_TWAIN_NO_SOURCE_UNX (RID_APP_START+262)
+#define STR_EXPORT_MODULES_PATH (RID_APP_START+263)
+#define STR_DEMO_EXPORT_LIMIT (RID_APP_START+264)
+#define STR_UNDO_DELETEPAGES (RID_APP_START+265)
+#define STR_UNDO_INSERTPAGES (RID_APP_START+266)
+#define STR_ASK_DELETE_PAGE (RID_APP_START+267)
+#define STR_ASK_DELETE_LAYER (RID_APP_START+268)
+#define STR_UNDO_CHANGE_TITLE_AND_LAYOUT (RID_APP_START+269)
+#define STR_WAV_FILE (RID_APP_START+270)
+#define STR_MIDI_FILE (RID_APP_START+271)
+#define STR_SD_PAGE (RID_APP_START+272)
+#define STR_INSERT_AS_TEXTOBJECT (RID_APP_START+273)
+#define STR_ALL_FILES (RID_APP_START+274)
+#define STR_UNDO_INSERT_TEXTFRAME (RID_APP_START+275)
+#define STR_OPEN_DOCUMENT (RID_APP_START+276)
+#define STR_SAVE_DOCUMENT (RID_APP_START+277)
+#define STR_ACTION_NOTPOSSIBLE (RID_APP_START+278)
+#define STR_DLG_INSERT_PAGES_FROM_FILE (RID_APP_START+279)
+#define STR_DLG_INSERT_PAGES_FROM_OUTLINE (RID_APP_START+280)
+#define STR_SCALE_OBJECTS (RID_APP_START+281)
+#define STR_CREATE_PAGES (RID_APP_START+282)
+
+#define STR_UNDO_CHANGE_PAGEFORMAT (RID_APP_START+283)
+#define STR_UNDO_CHANGE_PAGEBORDER (RID_APP_START+284)
+
+#define STR_EDIT_OBJ (RID_APP_START+288)
+
+#define STR_WRITE_DATA_ERROR (RID_APP_START+289)
+#define STR_READ_DATA_ERROR (RID_APP_START+290)
+
+#define STR_SOUNDFILE1 (RID_APP_START+291)
+#define STR_SOUNDFILE2 (RID_APP_START+292)
+#define STR_SOUNDFILE3 (RID_APP_START+293)
+#define STR_SOUNDFILE4 (RID_APP_START+294)
+#define STR_SOUNDFILE5 (RID_APP_START+295)
+
+#define STR_WARN_DEL_PAGE (RID_APP_START+296)
+#define STR_WARN_DEL_SEL_PAGES (RID_APP_START+297)
+
+#define STR_DEL_SHAPE (RID_APP_START+298)
+#define STR_WARN_DEL_SHAPE (RID_APP_START+299)
+
+
+/******************************************************************************
+* Ab (RID_APP_START+300 beginnen die Ids in sdstring.hrc!
+******************************************************************************/
+
+#define STR_MODIFY_SHAPE (RID_APP_START+330)
+#define STR_WARN_MODIFY_SHAPE (RID_APP_START+331)
+#define STR_DELETE_PAGES (RID_APP_START+332)
+#define STR_WARN_PRINTFORMAT_FAILURE (RID_APP_START+333)
+#define STR_REMOVE_LINK (RID_APP_START+334)
+
+#define STR_IMPORT_GRFILTER_OPENERROR (RID_APP_START+335)
+#define STR_IMPORT_GRFILTER_IOERROR (RID_APP_START+336)
+#define STR_IMPORT_GRFILTER_FORMATERROR (RID_APP_START+337)
+#define STR_IMPORT_GRFILTER_VERSIONERROR (RID_APP_START+338)
+#define STR_IMPORT_GRFILTER_FILTERERROR (RID_APP_START+339)
+#define STR_IMPORT_GRFILTER_TOOBIG (RID_APP_START+340)
+
+#define STR_OBJECTS (RID_APP_START+341)
+#define STR_END_SEARCHING (RID_APP_START+342)
+#define STR_END_SPELLING (RID_APP_START+343)
+#define STR_NOLANGUAGE (RID_APP_START+344)
+#define STR_LAYER_LOCKED (RID_APP_START+345)
+#define STR_CLPBRD_CLEAR (RID_APP_START+346)
+#define STR_ASK_FOR_CONVERT_TO_BEZIER (RID_APP_START+347)
+#define STR_TEMPLATE (RID_APP_START+348)
+#define STR_UNDO_CHANGE_PRES_OBJECT (RID_APP_START+349)
+#define STR_UNDO_MODIFY_PAGE (RID_APP_START+350)
+#define STR_STATSTR_PRINT (RID_APP_START+351)
+#define STR_UNDO_INSERT_FILE (RID_APP_START+352)
+#define STR_UNDO_INSERT_SPECCHAR (RID_APP_START+353)
+#define STR_UNDO_SET_PRESLAYOUT (RID_APP_START+354)
+#define STR_STRING_NOTFOUND (RID_APP_START+355)
+#define STR_PLAY (RID_APP_START+356)
+#define STR_STOP (RID_APP_START+357)
+#define STR_CANT_READ_OLD_FORMAT_ERROR (RID_APP_START+358)
+#define STR_UNDO_ORIGINALSIZE (RID_APP_START+359)
+#define STR_EXPORT_EMPTYGRAPHIC (RID_APP_START+360)
+#define STR_PRINT_DRAWING (RID_APP_START+361)
+#define STR_PRINT_NOTES (RID_APP_START+362)
+#define STR_PRINT_HANDOUT (RID_APP_START+363)
+#define STR_PRINT_OUTLINE (RID_APP_START+364)
+#define STR_WARN_SCALE_FAIL (RID_APP_START+365)
+
+// Strings fuer Klick-Effekte (Reihenfolge beibehalten)
+#define STR_CLICK_ACTION_NONE (RID_APP_START+366)
+#define STR_CLICK_ACTION_PREVPAGE (RID_APP_START+367)
+#define STR_CLICK_ACTION_NEXTPAGE (RID_APP_START+368)
+#define STR_CLICK_ACTION_FIRSTPAGE (RID_APP_START+369)
+#define STR_CLICK_ACTION_LASTPAGE (RID_APP_START+370)
+#define STR_CLICK_ACTION_BOOKMARK (RID_APP_START+371)
+#define STR_CLICK_ACTION_DOCUMENT (RID_APP_START+372)
+#define STR_CLICK_ACTION_VANISH (RID_APP_START+373)
+#define STR_CLICK_ACTION_INVISIBLE (RID_APP_START+374)
+#define STR_CLICK_ACTION_SOUND (RID_APP_START+375)
+#define STR_CLICK_ACTION_VERB (RID_APP_START+376)
+#define STR_CLICK_ACTION_PROGRAM (RID_APP_START+377)
+#define STR_CLICK_ACTION_MACRO (RID_APP_START+378)
+// Mind. bis 380 freihalten
+
+#define STR_EFFECTDLG_SOUND (RID_APP_START+380)
+#define STR_EFFECTDLG_OBJECT (RID_APP_START+381)
+#define STR_EFFECTDLG_PAGE_OBJECT (RID_APP_START+382)
+#define STR_EFFECTDLG_DOCUMENT (RID_APP_START+383)
+#define STR_EFFECTDLG_PROGRAM (RID_APP_START+384)
+#define STR_EFFECTDLG_MACRO (RID_APP_START+385)
+
+/* Fortsetzung von RID_APP_START+43 bis RID_APP_START+58:
+ * Dummy-Strings, diese ResourceIDs duerfen nicht an andere Strings vergeben
+ * werden, da sie fuer Popup-Menues benutzt werden (ein Popup-Menue und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ * siehe auch: res_bmp.hrc, popup.src
+ */
+
+#define STR_DRAW_SNAPOBJECT_POPUP (RID_APP_START+390)
+#define STR_DRAW_FILTERPROGRESS (RID_APP_START+391)
+#define STR_DRAW_GLUEPOINT_POPUP (RID_APP_START+392)
+#define STR_DRAW_CONTROL_POPUP (RID_APP_START+393)
+
+
+#define STR_EFFECT_NONE (RID_APP_START+400)
+#define STR_EFFECT_FADE_FROM_LEFT (RID_APP_START+401)
+#define STR_EFFECT_FADE_FROM_TOP (RID_APP_START+402)
+#define STR_EFFECT_FADE_FROM_RIGHT (RID_APP_START+403)
+#define STR_EFFECT_FADE_FROM_BOTTOM (RID_APP_START+404)
+#define STR_EFFECT_FADE_TO_CENTER (RID_APP_START+405)
+#define STR_EFFECT_FADE_FROM_CENTER (RID_APP_START+406)
+#define STR_EFFECT_DISCARD_FROM_LEFT (RID_APP_START+407)
+#define STR_EFFECT_DISCARD_FROM_TOP (RID_APP_START+408)
+#define STR_EFFECT_DISCARD_FROM_RIGHT (RID_APP_START+409)
+#define STR_EFFECT_DISCARD_FROM_BOTTOM (RID_APP_START+410)
+#define STR_EFFECT_VERTICAL_STRIPES (RID_APP_START+411)
+#define STR_EFFECT_HORIZONTAL_STRIPES (RID_APP_START+412)
+#define STR_EFFECT_CLOCKWISE (RID_APP_START+413)
+#define STR_EFFECT_COUNTERCLOCKWISE (RID_APP_START+414)
+#define STR_EFFECT_FADE_FROM_UPPERLEFT (RID_APP_START+415)
+#define STR_EFFECT_FADE_FROM_UPPERRIGHT (RID_APP_START+416)
+#define STR_EFFECT_FADE_FROM_LOWERLEFT (RID_APP_START+417)
+#define STR_EFFECT_FADE_FROM_LOWERRIGHT (RID_APP_START+418)
+#define STR_EFFECT_CLOSE_VERTICAL (RID_APP_START+419)
+#define STR_EFFECT_CLOSE_HORIZONTAL (RID_APP_START+420)
+#define STR_EFFECT_OPEN_VERTICAL (RID_APP_START+421)
+#define STR_EFFECT_OPEN_HORIZONTAL (RID_APP_START+422)
+#define STR_EFFECT_PATH (RID_APP_START+423)
+#define STR_EFFECT_MOVE_TO_LEFT (RID_APP_START+424)
+#define STR_EFFECT_MOVE_TO_TOP (RID_APP_START+425)
+#define STR_EFFECT_MOVE_TO_RIGHT (RID_APP_START+426)
+#define STR_EFFECT_MOVE_TO_BOTTOM (RID_APP_START+427)
+#define STR_EFFECT_SPIRALIN_LEFT (RID_APP_START+428)
+#define STR_EFFECT_SPIRALIN_RIGHT (RID_APP_START+429)
+#define STR_EFFECT_SPIRALOUT_LEFT (RID_APP_START+430)
+// Weiter bei 450
+
+
+#define STR_GENERAL_PUBLISHING_ERROR (RID_APP_START+431)
+#define STR_INSERT_TEXT (RID_APP_START+432)
+#define STR_SLIDE_SINGULAR (RID_APP_START+433)
+#define STR_SLIDE_PLURAL (RID_APP_START+434)
+#define STR_AU_FILE (RID_APP_START+435)
+#define STR_VOC_FILE (RID_APP_START+436)
+#define STR_AIFF_FILE (RID_APP_START+437)
+#define STR_SVX_FILE (RID_APP_START+438)
+
+/* Stringdefinitionen fuer die Chartbeschriftung
+*/
+#define STR_CHART_MAINTITLE (RID_APP_START+440)
+#define STR_CHART_SUBTITLE (RID_APP_START+441)
+#define STR_CHART_TITLE_X (RID_APP_START+442)
+#define STR_CHART_TITLE_Y (RID_APP_START+443)
+#define STR_CHART_TITLE_Z (RID_APP_START+444)
+#define STR_CHART_NAME_COLUMN (RID_APP_START+445)
+#define STR_CHART_NAME_ROW (RID_APP_START+446)
+
+#define STR_RESOLUTION (RID_APP_START+447)
+#define STR_LOAD_PRESENTATION_LAYOUT (RID_APP_START+448)
+
+#define STR_EFFECT_SPIRALOUT_RIGHT (RID_APP_START+450)
+#define STR_EFFECT_DISSOLVE (RID_APP_START+451)
+#define STR_EFFECT_ROLL_FROM_LEFT (RID_APP_START+452)
+#define STR_EFFECT_ROLL_FROM_TOP (RID_APP_START+453)
+#define STR_EFFECT_ROLL_FROM_RIGHT (RID_APP_START+454)
+#define STR_EFFECT_ROLL_FROM_BOTTOM (RID_APP_START+455)
+#define STR_EFFECT_WAVYLINE_FROM_LEFT (RID_APP_START+456)
+#define STR_EFFECT_WAVYLINE_FROM_RIGHT (RID_APP_START+457)
+#define STR_EFFECT_WAVYLINE_FROM_TOP (RID_APP_START+458)
+#define STR_EFFECT_WAVYLINE_FROM_BOTTOM (RID_APP_START+459)
+#define STR_EFFECT_VERTICAL_LINES (RID_APP_START+460)
+#define STR_EFFECT_HORIZONTAL_LINES (RID_APP_START+461)
+#define STR_EFFECT_RANDOM (RID_APP_START+462)
+#define STR_EFFECT_STRETCH_FROM_LEFT (RID_APP_START+463)
+#define STR_EFFECT_STRETCH_FROM_TOP (RID_APP_START+464)
+#define STR_EFFECT_STRETCH_FROM_RIGHT (RID_APP_START+465)
+#define STR_EFFECT_STRETCH_FROM_BOTTOM (RID_APP_START+466)
+#define STR_EFFECT_LASER_FROM_LEFT (RID_APP_START+467)
+#define STR_EFFECT_LASER_FROM_TOP (RID_APP_START+468)
+#define STR_EFFECT_LASER_FROM_RIGHT (RID_APP_START+469)
+#define STR_EFFECT_LASER_FROM_BOTTOM (RID_APP_START+470)
+#define STR_EFFECT_LASER_FROM_UPPERLEFT (RID_APP_START+471)
+#define STR_EFFECT_LASER_FROM_UPPERRIGHT (RID_APP_START+472)
+#define STR_EFFECT_LASER_FROM_LOWERLEFT (RID_APP_START+473)
+#define STR_EFFECT_LASER_FROM_LOWERRIGHT (RID_APP_START+474)
+#define STR_CLICK_ACTION_STOPPRESENTATION (RID_APP_START+475)
+#define STR_EFFECT_HIDE (RID_APP_START+476)
+#define STR_EFFECT_APPEAR (RID_APP_START+477)
+
+#define STR_EFFECT_FAVOURITES (RID_APP_START+479)
+#define STR_EFFECT_FADEFROM (RID_APP_START+480)
+#define STR_EFFECT_DISCARD (RID_APP_START+481)
+#define STR_EFFECT_FADE (RID_APP_START+482)
+#define STR_EFFECT_OPEN_CLOSE (RID_APP_START+483)
+#define STR_EFFECT_WAVYLINE (RID_APP_START+484)
+#define STR_EFFECT_SPIRAL (RID_APP_START+485)
+#define STR_EFFECT_LASER (RID_APP_START+486)
+#define STR_EFFECT_EXTRA (RID_APP_START+487)
+
+#define STR_VIEWTYPE_EFFECT (RID_APP_START+488)
+#define STR_VIEWTYPE_EXTRAS (RID_APP_START+489)
+#define STR_VIEWTYPE_TEXT (RID_APP_START+490)
+#define STR_VIEWTYPE_ORDER (RID_APP_START+491)
+
+#define STR_UNDO_EXPAND_PAGE (RID_APP_START+493)
+#define STR_UNDO_SUMMARY_PAGE (RID_APP_START+494)
+
+#define STR_ASK_GALLERY_INSERT (RID_APP_START+495)
+
+#define STR_EFFECT_ROLL (RID_APP_START+496)
+#define STR_EFFECT_STRETCH (RID_APP_START+497)
+
+#define STR_GRAPHIC (RID_APP_START+498)
+#define STR_GRAPHIC_DOCUMENT (RID_APP_START+499)
+#define STR_GRAPHIC_DOCUMENT_FULLTYPE_50 (RID_APP_START+500)
+
+#define STR_TWAIN_NO_SOURCE (RID_APP_START+501)
+
+#define STR_FIX (RID_APP_START+502)
+#define STR_VAR (RID_APP_START+503)
+#define STR_STANDARD_NORMAL (RID_APP_START+504)
+#define STR_STANDARD_SMALL (RID_APP_START+505)
+#define STR_STANDARD_BIG (RID_APP_START+506)
+#define STR_FILEFORMAT_NAME_EXT (RID_APP_START+507)
+#define STR_FILEFORMAT_FULLPATH (RID_APP_START+508)
+#define STR_FILEFORMAT_PATH (RID_APP_START+509)
+#define STR_FILEFORMAT_NAME (RID_APP_START+510)
+
+#define STR_RELEASE_GRAPHICLINK (RID_APP_START+511)
+
+#define STR_NEW_CUSTOMSHOW (RID_APP_START+512)
+#define STR_COPY_CUSTOMSHOW (RID_APP_START+513)
+
+#define STR_VIEWTYPE_VIEW (RID_APP_START+514)
+#define STR_VIEWTYPE_GEO (RID_APP_START+515)
+#define STR_VIEWTYPE_TEXTURE (RID_APP_START+516)
+#define STR_VIEWTYPE_MATERIAL (RID_APP_START+517)
+#define STR_VIEWTYPE_DUMMY (RID_APP_START+518)
+
+#define STR_START_PRESENTATION (RID_APP_START+519)
+
+#define STR_SEMIAUTO (RID_APP_START+520)
+#define STR_BREAK_METAFILE (RID_APP_START+521)
+#define STR_BREAK_FAIL (RID_APP_START+522)
+
+#define STR_PUBDLG_SAMENAME (RID_APP_START+523)
+
+#define STR_HTMLATTR_TEXT (RID_APP_START+524)
+#define STR_HTMLATTR_LINK (RID_APP_START+525)
+#define STR_HTMLATTR_VLINK (RID_APP_START+526)
+#define STR_HTMLATTR_ALINK (RID_APP_START+527)
+
+#define STR_HTMLEXP_NOTES (RID_APP_START+528)
+#define STR_HTMLEXP_CONTENTS (RID_APP_START+529)
+#define STR_HTMLEXP_CLICKSTART (RID_APP_START+530)
+#define STR_HTMLEXP_AUTHOR (RID_APP_START+531)
+#define STR_HTMLEXP_EMAIL (RID_APP_START+532)
+#define STR_HTMLEXP_HOMEPAGE (RID_APP_START+533)
+#define STR_HTMLEXP_INFO (RID_APP_START+534)
+#define STR_HTMLEXP_CREATED (RID_APP_START+535)
+#define STR_HTMLEXP_DOWNLOAD (RID_APP_START+536)
+#define STR_HTMLEXP_NOFRAMES (RID_APP_START+537)
+#define STR_HTMLEXP_FIRSTPAGE (RID_APP_START+538)
+#define STR_HTMLEXP_LASTPAGE (RID_APP_START+539)
+#define STR_HTMLEXP_SETTEXT (RID_APP_START+540)
+#define STR_HTMLEXP_SETGRAPHIC (RID_APP_START+541)
+#define STR_HTMLEXP_OUTLINE (RID_APP_START+542)
+#define STR_HTMLEXP_NOOUTLINE (RID_APP_START+543)
+
+#define STR_PRES_SOFTEND (RID_APP_START+550)
+#define STR_PRES_PAUSE (RID_APP_START+551)
+
+#define STR_WIZARD_ORIGINAL (RID_APP_START+552)
+#define STR_WIZARD_POSITION (RID_APP_START+553)
+
+#define STR_ISLOADING (RID_APP_START+554)
+
+#define STR_WEBVIEW_SAVE (RID_APP_START+555)
+
+#define STR_UNDO_APPLY_3D_FAVOURITE (RID_APP_START+556)
+
+#define STR_WARN_DEL_SEL_PAGE (RID_APP_START+557)
+
+#define STR_ERROR_OBJNOCREATE_PLUGIN (RID_APP_START+563)
+
+#define STR_WARNING_NOSOUNDFILE (RID_APP_START+565)
+
+#define STR_UNDO_GRAFFILTER (RID_APP_START+570)
+
+#define STR_UNDO_CONVERT_TO_METAFILE (RID_APP_START+571)
+#define STR_UNDO_CONVERT_TO_BITMAP (RID_APP_START+572)
+
+#define STR_PACKNGO_FILEDLG_TITLE (RID_APP_START+576)
+#define STR_PACKNGO_FILTER (RID_APP_START+577)
+
+#define STR_HTMLEXP_ERROR_CREATE_FILE (RID_APP_START+578)
+#define STR_HTMLEXP_ERROR_OPEN_FILE (RID_APP_START+579)
+#define STR_HTMLEXP_ERROR_COPY_FILE (RID_APP_START+580)
+#define STR_HTMLEXP_ERROR_GALLERY (RID_APP_START+581)
+
+#define STR_UNDO_CONVERT_TO_CONTOUR (RID_APP_START+582)
+
+#define STR_PAGE_BACKGROUND_TXT (RID_APP_START+583)
+#define STR_PAGE_BACKGROUND_TITLE (RID_APP_START+584)
+
+/******************************************************************************
+* Ab (RID_APP_START+700 beginnen die Ids in glob.hrc!
+******************************************************************************/
+
+
diff --git a/sd/source/ui/inc/tabtempl.hrc b/sd/source/ui/inc/tabtempl.hrc
new file mode 100644
index 000000000000..0789384a5e37
--- /dev/null
+++ b/sd/source/ui/inc/tabtempl.hrc
@@ -0,0 +1,64 @@
+/*************************************************************************
+ *
+ * $RCSfile: tabtempl.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#include <sfx2/sfx.hrc>
+/* #define TAB_TEMPLATE RID_APP_START+??? */
+#define TAB_TEMPLATE 637
+#define TAB_CONTROL 1
diff --git a/sd/source/ui/inc/tabtempl.hxx b/sd/source/ui/inc/tabtempl.hxx
new file mode 100644
index 000000000000..a924cd14519a
--- /dev/null
+++ b/sd/source/ui/inc/tabtempl.hxx
@@ -0,0 +1,124 @@
+/*************************************************************************
+ *
+ * $RCSfile: tabtempl.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef SD_TABTEMPL_HXX
+#define SD_TABTEMPL_HXX
+
+#ifndef _SVX_TAB_AREA_HXX //autogen
+#include <svx/tabarea.hxx>
+#endif
+#ifndef _SFX_STYLEDLG_HXX //autogen
+#include <sfx2/styledlg.hxx>
+#endif
+class SdrModel;
+class SfxObjectShell;
+class SdrView;
+class XColorTable;
+class XGradientList;
+class XBitmapList;
+class XDashList;
+class XHatchList;
+class XLineEndList;
+
+
+/*************************************************************************
+|*
+|* Vorlagen-Tab-Dialog
+|*
+\************************************************************************/
+class SdTabTemplateDlg : public SfxStyleDialog
+{
+private:
+ const SfxObjectShell& rDocShell;
+ SdrView* pSdrView;
+
+ XColorTable* pColorTab;
+ XGradientList* pGradientList;
+ XHatchList* pHatchingList;
+ XBitmapList* pBitmapList;
+ XDashList* pDashList;
+ XLineEndList* pLineEndList;
+
+ USHORT nPageType;
+ USHORT nDlgType;
+ USHORT nPos;
+ ChangeType nColorTableState;
+ ChangeType nBitmapListState;
+ ChangeType nGradientListState;
+ ChangeType nHatchingListState;
+
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+ virtual const SfxItemSet* GetRefreshedSet();
+
+public:
+ SdTabTemplateDlg( Window* pParent,
+ const SfxObjectShell* pDocShell,
+ SfxStyleSheetBase& rStyleBase,
+ SdrModel* pModel,
+ SdrView* pView );
+ ~SdTabTemplateDlg();
+
+};
+
+
+#endif // SD_TABTEMPL_HXX
+
diff --git a/sd/source/ui/inc/tbx_ww.hrc b/sd/source/ui/inc/tbx_ww.hrc
new file mode 100644
index 000000000000..4b716e1985b2
--- /dev/null
+++ b/sd/source/ui/inc/tbx_ww.hrc
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ * $RCSfile: tbx_ww.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TBX_ALIGNMENT 1
+#define TBX_ZOOM 1
+#define TBX_CONTROLS 1
diff --git a/sd/source/ui/inc/tbx_ww.hxx b/sd/source/ui/inc/tbx_ww.hxx
new file mode 100644
index 000000000000..126fc54183f7
--- /dev/null
+++ b/sd/source/ui/inc/tbx_ww.hxx
@@ -0,0 +1,124 @@
+/*************************************************************************
+ *
+ * $RCSfile: tbx_ww.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_TBX_WW_HXX
+#define _SD_TBX_WW_HXX
+
+#ifndef _SDRESID_HXX
+#include <sdresid.hxx>
+#endif
+
+#ifndef _SFXTBXMGR_HXX //autogen
+#include <sfx2/tbxmgr.hxx>
+#endif
+
+#ifndef _SFXTBXCTRL_HXX //autogen
+#include <sfx2/tbxctrl.hxx>
+#endif
+
+//------------------------------------------------------------------------
+
+class SdPopupWindowTbx : public SfxPopupWindow
+{
+private:
+ SfxToolBoxManager aTbx;
+ SdResId aSdResIdWin;
+ SdResId aSdResIdTbx;
+ WindowAlign eTbxAlign;
+ Link aSelectLink;
+
+ DECL_LINK( TbxSelectHdl, void * );
+
+public:
+ SdPopupWindowTbx( USHORT nId, WindowAlign eAlign,
+ SdResId aRIdWin, SdResId aRIdTbx, SfxBindings& rBindings );
+ ~SdPopupWindowTbx();
+
+ virtual SfxPopupWindow* Clone() const;
+
+ virtual void PopupModeEnd();
+
+ void StartSelection() { aTbx.GetToolBox().StartSelection(); }
+ void Update();
+};
+
+//------------------------------------------------------------------------
+
+class SdTbxControl : public SfxToolBoxControl
+{
+private:
+ BOOL IsCheckable( USHORT nSId );
+
+public:
+ SFX_DECL_TOOLBOX_CONTROL();
+
+ SdTbxControl(USHORT nId, ToolBox& rTbx, SfxBindings& rBind );
+ ~SdTbxControl() {}
+
+ virtual SfxPopupWindowType GetPopupWindowType() const;
+ virtual SfxPopupWindow* CreatePopupWindow();
+ virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ const SfxPoolItem* pState );
+};
+
+#endif // _SD_TBX_WW_HXX
+
diff --git a/sd/source/ui/inc/tpoption.hrc b/sd/source/ui/inc/tpoption.hrc
new file mode 100644
index 000000000000..ccd1aabc0ed9
--- /dev/null
+++ b/sd/source/ui/inc/tpoption.hrc
@@ -0,0 +1,113 @@
+/*************************************************************************
+ *
+ * $RCSfile: tpoption.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#define TP_OPTIONS_LAYOUT 596
+#define TP_OPTIONS_CONTENTS 597
+#define TP_OPTIONS_SNAP 598
+#define TP_OPTIONS_MISC 599
+#define GRP_OTHER 1
+//#define GRP_MOVEMENT 2
+#define GRP_METRIC 2
+#define GRP_PROGRAMSTART 3
+#define GRP_DISPLAY 4
+#define GRP_VIEW_SUBSTITUTE 5
+#define GRP_TEXT 6
+#define GRP_TABSTOP 7
+#define CBX_COPY 13
+#define CBX_RULER 14
+#define CBX_HELPLINES 1
+#define CBX_MOVE_OUTLINE 15
+#define CBX_OUTLINEMODE 11
+#define CBX_HAIRLINEMODE 12
+#define CBX_MARKED_HIT_MOVES_ALWAYS 19
+#define CBX_CROOK_NO_CONTORTION 21
+#define CBX_SLANT_BUT_SHEAR 22
+#define CBX_EXTERN_GRAPHIC 10
+#define CBX_HANDLES_BEZIER 2
+#define GRP_SNAP 1
+#define GRP_ORTHO 2
+#define FT_SNAP_AREA 1
+#define FI_ORTHO 2
+#define FI_SNAP 3
+#define FT_BEZ_ANGLE 4
+//#define FT_METRIC 5
+#define LB_METRIC 1
+#define MTR_FLD_SNAP_AREA 1
+#define MTR_FLD_ANGLE 2
+#define MTR_FLD_BEZ_ANGLE 3
+#define MTR_FLD_TABSTOP 4
+#define CBX_ROTATE 8
+#define CBX_ORTHO 6
+#define CBX_BIGORTHO 7
+#define CBX_SNAPGRID 1
+#define CBX_SNAP_HELPLINES 2
+#define CBX_SNAP_GRID 1
+#define CBX_SNAP_BORDER 3
+#define CBX_SNAP_FRAME 4
+#define CBX_SNAP_POINTS 5
+#define CBX_START_WITH_TEMPLATE 6
+#define CBX_START_WITH_LAYOUT 7
+#define CBX_PICKTHROUGH 9
+#define CBX_NOTEXT 23
+#define CBX_QUICKEDIT 24
+#define CBX_MASTERPAGE_CACHE 25
+
+#define CBX_START_WITH_ACTUAL_PAGE 26
+#define GRP_START_WITH_ACTUAL_PAGE 8
diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx
new file mode 100644
index 000000000000..d20660db9bc3
--- /dev/null
+++ b/sd/source/ui/inc/tpoption.hxx
@@ -0,0 +1,239 @@
+/*************************************************************************
+ *
+ * $RCSfile: tpoption.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_TPOPTION_HXX
+#define _SD_TPOPTION_HXX
+
+
+#ifndef _LSTBOX_HXX //autogen
+#include <vcl/lstbox.hxx>
+#endif
+#ifndef _GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+#ifndef _BUTTON_HXX //autogen
+#include <vcl/button.hxx>
+#endif
+#ifndef _STDCTRL_HXX //autogen
+#include <svtools/stdctrl.hxx>
+#endif
+#ifndef _SFXTABDLG_HXX //autogen
+#include <sfx2/tabdlg.hxx>
+#endif
+
+/*************************************************************************
+|*
+|* Optionen-Tab-Page: Snap
+|*
+\************************************************************************/
+class SdTpOptionsSnap : public SfxTabPage
+{
+private:
+ FixedInfo aFiOrtho;
+ CheckBox aCbxSnapGrid;
+ CheckBox aCbxSnapHelplines;
+ CheckBox aCbxSnapBorder;
+ CheckBox aCbxSnapFrame;
+ CheckBox aCbxSnapPoints;
+ FixedText aFtSnapArea;
+ MetricField aMtrFldSnapArea;
+ GroupBox aGrpSnap;
+ FixedInfo aFiSnap;
+ CheckBox aCbxOrtho;
+ CheckBox aCbxBigOrtho;
+ CheckBox aCbxRotate;
+ MetricField aMtrFldAngle;
+ FixedText aFtBezAngle;
+ MetricField aMtrFldBezAngle;
+ GroupBox aGrpOrtho;
+
+ const SfxItemSet& rOutAttrs;
+ const SfxItemSet* pExampleSet;
+
+ DECL_LINK( ClickRotateHdl, void * );
+
+public:
+ SdTpOptionsSnap( Window* pParent, const SfxItemSet& rInAttrs );
+ ~SdTpOptionsSnap();
+
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
+ virtual BOOL FillItemSet( SfxItemSet& );
+ virtual void Reset( const SfxItemSet & );
+
+ virtual void ActivatePage( const SfxItemSet& rSet );
+ virtual int DeactivatePage( SfxItemSet* pSet );
+};
+
+/*************************************************************************
+|*
+|* Optionen-Tab-Page: Layout
+|*
+\************************************************************************/
+class SdTpOptionsLayout : public SfxTabPage
+{
+private:
+ CheckBox aCbxRuler;
+ CheckBox aCbxDragStripes;
+ CheckBox aCbxHandlesBezier;
+ CheckBox aCbxMoveOutline;
+ //CheckBox aCbxHelplines;
+ GroupBox aGrpDisplay;
+
+ ListBox aLbMetric;
+ GroupBox aGrpMetric;
+
+ MetricField aMtrFldTabstop;
+ GroupBox aGrpTabstop;
+
+ const SfxItemSet& rOutAttrs;
+
+ DECL_LINK( SelectMetricHdl_Impl, ListBox * );
+
+protected:
+ virtual void ActivatePage( const SfxItemSet& rSet );
+ virtual int DeactivatePage( SfxItemSet* pSet );
+
+public:
+ SdTpOptionsLayout( Window* pParent, const SfxItemSet& rInAttrs );
+ ~SdTpOptionsLayout();
+
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
+ virtual BOOL FillItemSet( SfxItemSet& );
+ virtual void Reset( const SfxItemSet & );
+};
+
+/*************************************************************************
+|*
+|* Optionen-Tab-Page: Contents (Inhalte)
+|*
+\************************************************************************/
+class SdTpOptionsContents : public SfxTabPage
+{
+private:
+ CheckBox aCbxExternGraphic;
+ CheckBox aCbxOutlineMode;
+ CheckBox aCbxNoText;
+ CheckBox aCbxHairlineMode;
+ GroupBox aGrpViewSubstitute;
+
+ const SfxItemSet& rOutAttrs;
+
+public:
+ SdTpOptionsContents( Window* pParent, const SfxItemSet& rInAttrs );
+ ~SdTpOptionsContents();
+
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
+ virtual BOOL FillItemSet( SfxItemSet& );
+ virtual void Reset( const SfxItemSet & );
+};
+
+/*************************************************************************
+|*
+|* Optionen-Tab-Page: View
+|*
+\************************************************************************/
+class SdModule;
+class SdTpOptionsMisc : public SfxTabPage
+{
+ friend class SdOptionsDlg;
+ friend class SdModule;
+
+private:
+ CheckBox aCbxQuickEdit;
+ CheckBox aCbxPickThrough;
+ GroupBox aGrpText;
+
+ // Template und Layout laufen z.Z. synchron!
+ CheckBox aCbxStartWithTemplate;
+// CheckBox aCbxStartWithLayout;
+ GroupBox aGrpProgramStart;
+
+ CheckBox aCbxMasterPageCache;
+ GroupBox aGrpDisplay;
+
+ CheckBox aCbxCopy;
+ CheckBox aCbxMarkedHitMovesAlways;
+ CheckBox aCbxCrookNoContortion;
+ GroupBox aGrpOther;
+
+ CheckBox aCbxStartWithActualPage;
+ GroupBox aGrpStartWithActualPage;
+
+ const SfxItemSet& rOutAttrs;
+
+public:
+ SdTpOptionsMisc( Window* pParent, const SfxItemSet& rInAttrs );
+ ~SdTpOptionsMisc();
+
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
+ virtual BOOL FillItemSet( SfxItemSet& );
+ virtual void Reset( const SfxItemSet & );
+};
+
+
+#endif // _SD_TPOPTION_HXX
+
diff --git a/sd/source/ui/inc/unchss.hxx b/sd/source/ui/inc/unchss.hxx
new file mode 100644
index 000000000000..44c679ffc94f
--- /dev/null
+++ b/sd/source/ui/inc/unchss.hxx
@@ -0,0 +1,97 @@
+/*************************************************************************
+ *
+ * $RCSfile: unchss.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNCHSS_HXX
+#define _SD_UNCHSS_HXX
+
+#include "sdundo.hxx"
+
+class SfxItemSet;
+class SfxStyleSheet;
+class SdDrawDocument;
+
+class StyleSheetUndoAction : public SdUndoAction
+{
+ SfxStyleSheet* pStyleSheet;
+
+ SfxItemSet* pNewSet;
+ SfxItemSet* pOldSet;
+ String aComment;
+
+public:
+ TYPEINFO();
+ StyleSheetUndoAction(SdDrawDocument* pTheDoc,
+ SfxStyleSheet* pTheStyleSheet,
+ const SfxItemSet* pTheNewItemSet);
+
+ virtual ~StyleSheetUndoAction();
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+
+ virtual String GetComment() const;
+
+ // erst mal kein Repeat, da kein Kontext erreichbar
+ virtual BOOL CanRepeat(SfxRepeatTarget&) const { return FALSE; }
+};
+
+#endif // _SD_UNCHSS_HXX
+
diff --git a/sd/source/ui/inc/undopage.hxx b/sd/source/ui/inc/undopage.hxx
new file mode 100644
index 000000000000..eb9e3eaac4f0
--- /dev/null
+++ b/sd/source/ui/inc/undopage.hxx
@@ -0,0 +1,206 @@
+/*************************************************************************
+ *
+ * $RCSfile: undopage.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNDOPAGE_HXX
+#define _SD_UNDOPAGE_HXX
+
+#ifndef _GEN_HXX //autogen
+#include <tools/gen.hxx>
+#endif
+#ifndef _SV_PRNTYPES_HXX //autogen
+#include <vcl/prntypes.hxx>
+#endif
+
+#include "sdundo.hxx"
+
+class SdDrawDocument;
+class SdPage;
+
+/************************************************************************/
+
+class SdPageFormatUndoAction : public SdUndoAction
+{
+ SdPage* pPage;
+
+ Size aOldSize;
+ INT32 nOldLeft;
+ INT32 nOldRight;
+ INT32 nOldUpper;
+ INT32 nOldLower;
+ BOOL bOldScale;
+ Orientation eOldOrientation;
+
+ Size aNewSize;
+ INT32 nNewLeft;
+ INT32 nNewRight;
+ INT32 nNewUpper;
+ INT32 nNewLower;
+ BOOL bNewScale;
+ Orientation eNewOrientation;
+
+public:
+ TYPEINFO();
+ SdPageFormatUndoAction( SdDrawDocument* pDoc,
+ SdPage* pThePage,
+ const Size& rOldSz,
+ INT32 nOldLft,
+ INT32 nOldRgt,
+ INT32 nOldUpr,
+ INT32 nOldLwr,
+ BOOL bOldScl,
+ Orientation eOldOrient,
+
+ const Size& rNewSz,
+ INT32 nNewLft,
+ INT32 nNewRgt,
+ INT32 nNewUpr,
+ INT32 nNewLwr,
+ BOOL bNewScl,
+ Orientation eNewOrient ) :
+ SdUndoAction(pDoc),
+ pPage (pThePage),
+ aOldSize (rOldSz),
+ nOldLeft (nOldLft),
+ nOldRight (nOldRgt),
+ nOldUpper (nOldUpr),
+ nOldLower (nOldLwr),
+ bOldScale (bOldScl),
+ eOldOrientation(eOldOrient),
+
+ aNewSize (rNewSz),
+ nNewLeft (nNewLft),
+ nNewRight (nNewRgt),
+ nNewUpper (nNewUpr),
+ nNewLower (nNewLwr),
+ bNewScale (bNewScl),
+ eNewOrientation(eNewOrient)
+ {}
+ virtual ~SdPageFormatUndoAction();
+
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+};
+
+/************************************************************************/
+
+class SdPageLRUndoAction : public SdUndoAction
+{
+ SdPage* pPage;
+
+ INT32 nOldLeft;
+ INT32 nOldRight;
+ INT32 nNewLeft;
+ INT32 nNewRight;
+
+public:
+ TYPEINFO();
+ SdPageLRUndoAction( SdDrawDocument* pDoc, SdPage* pThePage,
+ INT32 nOldLft, INT32 nOldRgt,
+ INT32 nNewLft, INT32 nNewRgt ) :
+ SdUndoAction(pDoc),
+ pPage (pThePage),
+ nOldLeft (nOldLft),
+ nOldRight (nOldRgt),
+ nNewLeft (nNewLft),
+ nNewRight (nNewRgt)
+ {}
+ virtual ~SdPageLRUndoAction();
+
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+};
+
+/************************************************************************/
+
+class SdPageULUndoAction : public SdUndoAction
+{
+ SdPage* pPage;
+
+ INT32 nOldUpper;
+ INT32 nOldLower;
+ INT32 nNewUpper;
+ INT32 nNewLower;
+
+public:
+ TYPEINFO();
+ SdPageULUndoAction( SdDrawDocument* pDoc, SdPage* pThePage,
+ INT32 nOldUpr, INT32 nOldLwr,
+ INT32 nNewUpr, INT32 nNewLwr ) :
+ SdUndoAction(pDoc),
+ pPage (pThePage),
+ nOldUpper (nOldUpr),
+ nOldLower (nOldLwr),
+ nNewUpper (nNewUpr),
+ nNewLower (nNewLwr)
+ {}
+ virtual ~SdPageULUndoAction();
+
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+};
+
+
+
+#endif // _SD_UNDOPAGE_HXX
+
diff --git a/sd/source/ui/inc/unmodpg.hxx b/sd/source/ui/inc/unmodpg.hxx
new file mode 100644
index 000000000000..0232a7594cdd
--- /dev/null
+++ b/sd/source/ui/inc/unmodpg.hxx
@@ -0,0 +1,106 @@
+/*************************************************************************
+ *
+ * $RCSfile: unmodpg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNMODPG_HXX
+#define _SD_UNMODPG_HXX
+
+#include "sdundo.hxx"
+#include "pres.hxx"
+
+class SdDrawDocument;
+class SdPage;
+
+class ModifyPageUndoAction : public SdUndoAction
+{
+ SdPage* pPage;
+ String aOldName;
+ String aNewName;
+ AutoLayout eOldAutoLayout;
+ AutoLayout eNewAutoLayout;
+ BOOL bOldBckgrndVisible;
+ BOOL bNewBckgrndVisible;
+ BOOL bOldBckgrndObjsVisible;
+ BOOL bNewBckgrndObjsVisible;
+
+ String aComment;
+
+public:
+ TYPEINFO();
+ ModifyPageUndoAction(SdDrawDocument* pTheDoc,
+ SdPage* pThePage,
+ String aTheNewName,
+ AutoLayout eTheNewAutoLayout,
+ BOOL bTheNewBckgrndVisible,
+ BOOL bTheNewBckgrndObjsVisible);
+
+ virtual ~ModifyPageUndoAction();
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+
+ virtual String GetComment() const;
+
+ // erst mal kein Repeat, da kein Kontext erreichbar
+ virtual BOOL CanRepeat(SfxRepeatTarget&) const { return FALSE; }
+};
+
+#endif // _SD_UNMODPG_HXX
+
diff --git a/sd/source/ui/inc/unmovss.hxx b/sd/source/ui/inc/unmovss.hxx
new file mode 100644
index 000000000000..8cfa097c55c1
--- /dev/null
+++ b/sd/source/ui/inc/unmovss.hxx
@@ -0,0 +1,94 @@
+/*************************************************************************
+ *
+ * $RCSfile: unmovss.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNMOVSS_HXX
+#define _SD_UNMOVSS_HXX
+
+#include "sdundo.hxx"
+
+class List;
+class SdDrawDocument;
+
+class SdMoveStyleSheetsUndoAction : public SdUndoAction
+{
+ List* pStyles;
+ List* pListOfChildLists;
+ BOOL bMySheets;
+
+public:
+ TYPEINFO();
+ SdMoveStyleSheetsUndoAction(SdDrawDocument* pTheDoc,
+ List* pTheStyles,
+ BOOL bInserted);
+
+ virtual ~SdMoveStyleSheetsUndoAction();
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+
+ virtual String GetComment() const;
+
+ // erst mal kein Repeat, da kein Kontext erreichbar
+ virtual BOOL CanRepeat(SfxRepeatTarget&) const { return FALSE; }
+};
+
+#endif // _SD_UNMOVSS_HXX
+
diff --git a/sd/source/ui/inc/unoaprms.hxx b/sd/source/ui/inc/unoaprms.hxx
new file mode 100644
index 000000000000..cf7cc6270df2
--- /dev/null
+++ b/sd/source/ui/inc/unoaprms.hxx
@@ -0,0 +1,203 @@
+/*************************************************************************
+ *
+ * $RCSfile: unoaprms.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNOAPRMS_HXX
+#define _SD_UNOAPRMS_HXX
+
+#ifndef _COM_SUN_STAR_PRESENTATION_ANIMATIONEFFECT_HPP_
+#include <com/sun/star/presentation/AnimationEffect.hpp>
+#endif
+#ifndef _COM_SUN_STAR_PRESENTATION_ANIMATIONSPEED_HPP_
+#include <com/sun/star/presentation/AnimationSpeed.hpp>
+#endif
+#ifndef _COM_SUN_STAR_PRESENTATION_CLICKACTION_HPP_
+#include <com/sun/star/presentation/ClickAction.hpp>
+#endif
+
+#ifndef _SD_SDUNDO_HXX
+#include "sdundo.hxx"
+#endif
+#ifndef _SD_ANMDEF_HXX
+#include "anmdef.hxx"
+#endif
+
+#ifndef _SVDOPATH_HXX //autogen
+#include <svx/svdopath.hxx>
+#endif
+
+#ifndef _SV_COLOR_HXX //autogen
+#include <vcl/color.hxx>
+#endif
+
+
+class SdDrawDocument;
+class SdrObject;
+
+class SdAnimationPrmsUndoAction : public SdUndoAction
+{
+ SdrObject* pObject;
+ BOOL bOldActive;
+ BOOL bNewActive;
+ BOOL bOldDimPrevious;
+ BOOL bNewDimPrevious;
+ BOOL bOldDimHide;
+ BOOL bNewDimHide;
+ BOOL bOldSoundOn;
+ BOOL bNewSoundOn;
+ BOOL bOldSecondSoundOn;
+ BOOL bNewSecondSoundOn;
+ BOOL bOldPlayFull;
+ BOOL bNewPlayFull;
+ BOOL bOldSecondPlayFull;
+ BOOL bNewSecondPlayFull;
+ ::com::sun::star::presentation::AnimationEffect eOldEffect;
+ ::com::sun::star::presentation::AnimationEffect eNewEffect;
+ ::com::sun::star::presentation::AnimationEffect eOldTextEffect;
+ ::com::sun::star::presentation::AnimationEffect eNewTextEffect;
+ ::com::sun::star::presentation::AnimationSpeed eOldSpeed;
+ ::com::sun::star::presentation::AnimationSpeed eNewSpeed;
+ ::com::sun::star::presentation::AnimationEffect eOldSecondEffect;
+ ::com::sun::star::presentation::AnimationEffect eNewSecondEffect;
+ ::com::sun::star::presentation::AnimationSpeed eOldSecondSpeed;
+ ::com::sun::star::presentation::AnimationSpeed eNewSecondSpeed;
+ Color aOldDimColor;
+ Color aNewDimColor;
+ Color aOldBlueScreen;
+ Color aNewBlueScreen;
+ String aOldSoundFile;
+ String aNewSoundFile;
+ SdrPathObj* pOldPathObj;
+ SdrPathObj* pNewPathObj;
+ ::com::sun::star::presentation::ClickAction eOldClickAction;
+ ::com::sun::star::presentation::ClickAction eNewClickAction;
+ String aOldBookmark;
+ String aNewBookmark;
+ BOOL bOldInvisibleInPres;
+ BOOL bNewInvisibleInPres;
+ USHORT nOldVerb;
+ USHORT nNewVerb;
+ ULONG nOldPresOrder;
+ ULONG nNewPresOrder;
+
+ BOOL bInfoCreated;
+
+public:
+ TYPEINFO();
+ SdAnimationPrmsUndoAction(SdDrawDocument* pTheDoc, SdrObject* pObj,
+ BOOL bCreated):
+ SdUndoAction (pTheDoc),
+ pObject (pObj),
+ bInfoCreated (bCreated)
+ {}
+
+ SdAnimationPrmsUndoAction( SdDrawDocument* pTheDoc, SdrObject* pObj );
+
+ void SetActive(BOOL bTheOldActive, BOOL bTheNewActive)
+ { bOldActive = bTheOldActive; bNewActive = bTheNewActive; }
+ void SetEffect(::com::sun::star::presentation::AnimationEffect eTheOldEffect, ::com::sun::star::presentation::AnimationEffect eTheNewEffect)
+ { eOldEffect = eTheOldEffect; eNewEffect = eTheNewEffect; }
+ void SetTextEffect(::com::sun::star::presentation::AnimationEffect eTheOldEffect, ::com::sun::star::presentation::AnimationEffect eTheNewEffect)
+ { eOldTextEffect = eTheOldEffect; eNewTextEffect = eTheNewEffect; }
+ void SetSpeed(::com::sun::star::presentation::AnimationSpeed eTheOldSpeed, ::com::sun::star::presentation::AnimationSpeed eTheNewSpeed)
+ { eOldSpeed = eTheOldSpeed; eNewSpeed = eTheNewSpeed; }
+ void SetDim(BOOL bTheOldDim, BOOL bTheNewDim)
+ { bOldDimPrevious = bTheOldDim; bNewDimPrevious = bTheNewDim; }
+ void SetDimColor(Color aTheOldDimColor, Color aTheNewDimColor)
+ { aOldDimColor = aTheOldDimColor; aNewDimColor = aTheNewDimColor; }
+ void SetDimHide(BOOL bTheOldDimHide, BOOL bTheNewDimHide)
+ { bOldDimHide = bTheOldDimHide; bNewDimHide = bTheNewDimHide; }
+ void SetSoundOn(BOOL bTheOldSoundOn, BOOL bTheNewSoundOn)
+ { bOldSoundOn = bTheOldSoundOn; bNewSoundOn = bTheNewSoundOn; }
+ void SetSound(String aTheOldSound, String aTheNewSound)
+ { aOldSoundFile = aTheOldSound; aNewSoundFile = aTheNewSound; }
+ void SetBlueScreen(Color aTheOldBlueScreen, Color aTheNewBlueScreen)
+ { aOldBlueScreen = aTheOldBlueScreen; aNewBlueScreen = aTheNewBlueScreen; }
+ void SetPlayFull(BOOL bTheOldPlayFull, BOOL bTheNewPlayFull)
+ { bOldPlayFull = bTheOldPlayFull; bNewPlayFull = bTheNewPlayFull; }
+ void SetPathObj(SdrPathObj* pTheOldPath, SdrPathObj* pTheNewPath)
+ { pOldPathObj = pTheOldPath; pNewPathObj = pTheNewPath; }
+ void SetClickAction(::com::sun::star::presentation::ClickAction eTheOldAction, ::com::sun::star::presentation::ClickAction eTheNewAction)
+ { eOldClickAction = eTheOldAction; eNewClickAction = eTheNewAction; }
+ void SetBookmark(String aTheOldBookmark, String aTheNewBookmark)
+ { aOldBookmark = aTheOldBookmark; aNewBookmark = aTheNewBookmark; }
+ void SetInvisibleInPres(BOOL bTheOldInvisibleInPres, BOOL bTheNewInvisibleInPres)
+ { bOldInvisibleInPres = bTheOldInvisibleInPres; bNewInvisibleInPres = bTheNewInvisibleInPres; }
+ void SetVerb(USHORT nTheOldVerb, USHORT nTheNewVerb)
+ { nOldVerb = nTheOldVerb; nNewVerb = nTheNewVerb; }
+ void SetSecondEffect(::com::sun::star::presentation::AnimationEffect eTheOldEffect, ::com::sun::star::presentation::AnimationEffect eTheNewEffect)
+ { eOldSecondEffect = eTheOldEffect; eNewSecondEffect = eTheNewEffect; }
+ void SetSecondSpeed(::com::sun::star::presentation::AnimationSpeed eTheOldSpeed, ::com::sun::star::presentation::AnimationSpeed eTheNewSpeed)
+ { eOldSecondSpeed = eTheOldSpeed; eNewSecondSpeed = eTheNewSpeed; }
+ void SetSecondSoundOn(BOOL bTheOldSoundOn, BOOL bTheNewSoundOn)
+ { bOldSecondSoundOn = bTheOldSoundOn; bNewSecondSoundOn = bTheNewSoundOn; }
+ void SetSecondPlayFull(BOOL bTheOldPlayFull, BOOL bTheNewPlayFull)
+ { bOldSecondPlayFull = bTheOldPlayFull; bNewSecondPlayFull = bTheNewPlayFull; }
+ void SetPresOrder(ULONG nTheOldPresOrder, ULONG nTheNewPresOrder)
+ { nOldPresOrder = nTheOldPresOrder; nNewPresOrder = nTheNewPresOrder; }
+
+ virtual ~SdAnimationPrmsUndoAction();
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+};
+
+#endif // _SD_UNOAPRMS_HXX
+
diff --git a/sd/source/ui/inc/unokywds.hxx b/sd/source/ui/inc/unokywds.hxx
new file mode 100644
index 000000000000..102df3f15d30
--- /dev/null
+++ b/sd/source/ui/inc/unokywds.hxx
@@ -0,0 +1,143 @@
+/*************************************************************************
+ *
+ * $RCSfile: unokywds.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNOKYWDS_HXX_
+#define _SD_UNOKYWDS_HXX_
+
+#ifndef _SOLAR_H
+#include <tools/solar.h>
+#endif
+
+// SdUnoStyleFamilies
+extern char __FAR_DATA sUNO_SdUnoStyleFamilies[];
+extern char __FAR_DATA sUNO_Graphic_Style_Family_Name[];
+
+// SdUnoPseudoStyleFamily
+extern char __FAR_DATA sUNO_SdUnoPseudoStyleFamily[];
+extern char __FAR_DATA sUNO_PseudoSheet_Title[];
+extern char __FAR_DATA sUNO_PseudoSheet_SubTitle[];
+extern char __FAR_DATA sUNO_PseudoSheet_Background[];
+extern char __FAR_DATA sUNO_PseudoSheet_Background_Objects[];
+extern char __FAR_DATA sUNO_PseudoSheet_Notes[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline1[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline2[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline3[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline4[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline5[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline6[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline7[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline8[];
+extern char __FAR_DATA sUNO_PseudoSheet_Outline9[];
+
+// SdUnoGraphicStyleFamily
+extern char __FAR_DATA sUNO_SdUnoGraphicStyleFamily[];
+extern char __FAR_DATA sUNO_StyleName_standard[];
+extern char __FAR_DATA sUNO_StyleName_objwitharrow[];
+extern char __FAR_DATA sUNO_StyleName_objwithshadow[];
+extern char __FAR_DATA sUNO_StyleName_objwithoutfill[];
+extern char __FAR_DATA sUNO_StyleName_text[];
+extern char __FAR_DATA sUNO_StyleName_textbody[];
+extern char __FAR_DATA sUNO_StyleName_textbodyjust[];
+extern char __FAR_DATA sUNO_StyleName_textbodyindent[];
+extern char __FAR_DATA sUNO_StyleName_title[];
+extern char __FAR_DATA sUNO_StyleName_title1[];
+extern char __FAR_DATA sUNO_StyleName_title2[];
+extern char __FAR_DATA sUNO_StyleName_headline[];
+extern char __FAR_DATA sUNO_StyleName_headline1[];
+extern char __FAR_DATA sUNO_StyleName_headline2[];
+extern char __FAR_DATA sUNO_StyleName_measure[];
+
+// sUNO_SdUnoGraphicStyle
+extern char __FAR_DATA sUNO_SdUnoGraphicStyle[];
+
+// SdUnoPseudoStyle
+extern char __FAR_DATA sUNO_SdUnoPseudoStyle[];
+
+// SdUnoPageBackground
+extern char __FAR_DATA sUNO_SdUnoPageBackground[];
+
+// SdLayerManager
+extern char __FAR_DATA sUNO_SdLayerManager[];
+
+// SdLayer
+extern char __FAR_DATA sUNO_SdLayer[];
+
+// SdXShape
+extern char __FAR_DATA sUNO_shape_style[];
+
+// service names
+extern char __FAR_DATA sUNO_Service_StyleFamily[];
+extern char __FAR_DATA sUNO_Service_StyleFamilies[];
+extern char __FAR_DATA sUNO_Service_Style[];
+extern char __FAR_DATA sUNO_Service_AreaShapeDescriptor[];
+extern char __FAR_DATA sUNO_Service_LineShapeDescriptor[];
+extern char __FAR_DATA sUNO_Service_ParagraphProperties[];
+extern char __FAR_DATA sUNO_Service_CharacterProperties[];
+extern char __FAR_DATA sUNO_Service_Text[];
+extern char __FAR_DATA sUNO_Service_PageBackground[];
+extern char __FAR_DATA sUNO_Service_DrawingLayer[];
+extern char __FAR_DATA sUNO_Service_DrawingLayerManager[];
+
+// properties
+extern char __FAR_DATA sUNO_Prop_Background[];
+
+#endif
+
diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx
new file mode 100644
index 000000000000..1a811cba9cba
--- /dev/null
+++ b/sd/source/ui/inc/unomodel.hxx
@@ -0,0 +1,330 @@
+/*************************************************************************
+ *
+ * $RCSfile: unomodel.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#ifndef _UNOMODEL_HXX
+#define _UNOMODEL_HXX
+
+#ifndef _COM_SUN_STAR_STYLE_XSTYLEFAMILIESSUPPLIER_HPP_
+#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DOCUMENT_XLINKTARGETSUPPLIER_HPP_
+#include <com/sun/star/document/XLinkTargetSupplier.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XDRAWPAGESSUPPLIER_HPP_
+#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XDRAWPAGESUMMARIZER_HPP_
+#include <com/sun/star/drawing/XDrawPageSummarizer.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XDRAWPAGEDUPLICATOR_HPP_
+#include <com/sun/star/drawing/XDrawPageDuplicator.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XLAYERSUPPLIER_HPP_
+#include <com/sun/star/drawing/XLayerSupplier.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XMASTERPAGESSUPPLIER_HPP_
+#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
+#endif
+#ifndef _COM_SUN_STAR_PRESENTATION_XPRESENTATIONSUPPLIER_HPP_
+#include <com/sun/star/presentation/XPresentationSupplier.hpp>
+#endif
+#ifndef _COM_SUN_STAR_PRESENTATION_XCUSTOMPRESENTATIONSUPPLIER_HPP_
+#include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XLAYERMANAGER_HPP_
+#include <com/sun/star/drawing/XLayerManager.hpp>
+#endif
+#ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HPP_
+#include <com/sun/star/container/XNameContainer.hpp>
+#endif
+#ifndef _COM_SUN_STAR_PRESENTATION_XPRESENTATION_HPP_
+#include <com/sun/star/presentation/XPresentation.hpp>
+#endif
+#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XDRAWPAGES_HPP_
+#include <com/sun/star/drawing/XDrawPages.hpp>
+#endif
+
+#ifndef _SFXLSTNER_HXX //autogen
+#include <svtools/lstner.hxx>
+#endif
+
+#ifndef _SFX_SFXBASEMODEL_HXX_
+#include <sfx2/sfxbasemodel.hxx>
+#endif
+
+#ifndef _SVX_FMDMOD_HXX
+#include <svx/fmdmod.hxx>
+#endif
+
+#include <svx/unoipset.hxx>
+
+#include <unotools/servicehelper.hxx>
+
+class SdDrawDocShell;
+class SdDrawDocument;
+class SdPage;
+class List;
+class SdXCustomPresentations;
+
+/***********************************************************************
+* *
+***********************************************************************/
+class SdXImpressDocument : public SfxBaseModel, // implements SfxListener, OWEAKOBJECT & other
+ public SvxFmMSFactory,
+ public ::com::sun::star::drawing::XDrawPageDuplicator,
+ public ::com::sun::star::drawing::XLayerSupplier,
+ public ::com::sun::star::drawing::XMasterPagesSupplier,
+ public ::com::sun::star::drawing::XDrawPagesSupplier,
+ public ::com::sun::star::presentation::XPresentationSupplier,
+ public ::com::sun::star::presentation::XCustomPresentationSupplier,
+ public ::com::sun::star::document::XLinkTargetSupplier,
+ public ::com::sun::star::beans::XPropertySet,
+ public ::com::sun::star::style::XStyleFamiliesSupplier,
+ public ::com::sun::star::lang::XServiceInfo
+{
+ friend class SdDrawPagesAccess;
+ friend class SdMasterPagesAccess;
+ friend class SdLayerManager;
+
+private:
+ SdDrawDocShell* pDocShell;
+ SdDrawDocument* pDoc;
+
+ SdPage* InsertSdPage( sal_uInt16 nPage, sal_Bool bDuplicate = sal_False ) throw();
+
+ sal_Bool mbImpressDoc;
+
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::drawing::XDrawPages > mxDrawPagesAccess;
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::drawing::XDrawPages > mxMasterPagesAccess;
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::container::XNameAccess > mxLayerManager;
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::container::XNameContainer > mxCustomPresentationAccess;
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::presentation::XPresentation > mxPresentation;
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::container::XNameAccess > mxStyleFamilies;
+
+ SvxItemPropertySet aPropSet;
+
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence;
+
+public:
+ SdXImpressDocument( SdDrawDocShell* pShell ) throw();
+ virtual ~SdXImpressDocument() throw();
+
+ // intern
+ virtual int operator==( const SdXImpressDocument& rModel ) const { return pDoc == rModel.pDoc; }
+ virtual int operator!=( const SdXImpressDocument& rModel ) const { return pDoc != rModel.pDoc; }
+
+ SdDrawDocShell* GetDocShell() const { return pDocShell; }
+ SdDrawDocument* GetDoc() const { return pDoc; }
+ sal_Bool IsImpressDocument() const { return mbImpressDoc; }
+
+ void SetModified( sal_Bool bModified = sal_True ) throw();
+
+ // SfxListener
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+
+ // uno helper
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > CreateXDrawPage( SdPage* pPage ) throw();
+
+ UNO3_GETIMPLEMENTATION_DECL(SdXImpressDocument)
+
+ // XInterface
+ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL acquire() throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL release() throw(::com::sun::star::uno::RuntimeException);
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XDrawPageDuplicator
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > SAL_CALL duplicate( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xPage ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XDrawPagesSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPages > SAL_CALL getDrawPages( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XMasterPagesSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPages > SAL_CALL getMasterPages( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XLayerManagerSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getLayerManager( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XCustomPresentationSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > SAL_CALL getCustomPresentations( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XPresentationSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::presentation::XPresentation > SAL_CALL getPresentation( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XMultiServiceFactory ( SvxFmMSFactory )
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance( const ::rtl::OUString& aServiceSpecifier ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableServiceNames( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
+
+ // XPropertySet
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+
+ // XLinkTargetSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getLinks( ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XStyleFamiliesSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getStyleFamilies( ) throw(::com::sun::star::uno::RuntimeException);
+};
+
+/***********************************************************************
+* *
+***********************************************************************/
+
+#include <cppuhelper/implbase1.hxx>
+
+class SdDrawPagesAccess : public ::cppu::WeakImplHelper1< ::com::sun::star::drawing::XDrawPages >
+{
+private:
+ SdXImpressDocument& rModel;
+
+public:
+ SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw();
+ virtual ~SdDrawPagesAccess() throw();
+
+ // XDrawPages
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL remove( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xPage ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XIndexAccess
+ virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException) ;
+ virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) throw(::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+
+ // XElementAccess
+ virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
+};
+
+/***********************************************************************
+* *
+***********************************************************************/
+class SdMasterPagesAccess : public ::cppu::WeakImplHelper1< ::com::sun::star::drawing::XDrawPages >
+{
+private:
+ SdXImpressDocument& rModel;
+
+public:
+ SdMasterPagesAccess( SdXImpressDocument& rMyModel ) throw();
+ virtual ~SdMasterPagesAccess() throw();
+
+ // XDrawPages
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL remove( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xPage ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XIndexAccess
+ virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException) ;
+ virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) throw(::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+
+ // XElementAccess
+ virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
+};
+
+/***********************************************************************
+* *
+***********************************************************************/
+#include <cppuhelper/implbase2.hxx>
+
+class SdDocLinkTargets : public ::cppu::WeakImplHelper2< ::com::sun::star::container::XNameAccess,
+ ::com::sun::star::lang::XServiceInfo >
+{
+private:
+ SdXImpressDocument& rModel;
+
+public:
+ SdDocLinkTargets( SdXImpressDocument& rMyModel ) throw();
+ virtual ~SdDocLinkTargets() throw();
+
+ // XNameAccess
+ virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XElementAccess
+ virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
+
+ // intern
+ SdPage* FindPage( const ::rtl::OUString& rName ) const throw();
+};
+
+#endif
+
+
diff --git a/sd/source/ui/inc/unoprnms.hxx b/sd/source/ui/inc/unoprnms.hxx
new file mode 100644
index 000000000000..63f01cafeeaf
--- /dev/null
+++ b/sd/source/ui/inc/unoprnms.hxx
@@ -0,0 +1,132 @@
+/*************************************************************************
+ *
+ * $RCSfile: unoprnms.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#ifndef _SD_UNOPRNMS_HXX
+#define _SD_UNOPRNMS_HXX
+
+#define UNO_NAME_MODEL_LANGUAGE "CharLocale"
+#define UNO_NAME_MODEL_TABSTOP "TabStop"
+
+#define UNO_NAME_PAGE_BACKGROUND "Background"
+#define UNO_NAME_PAGE_LEFT "BorderLeft"
+#define UNO_NAME_PAGE_RIGHT "BorderRight"
+#define UNO_NAME_PAGE_TOP "BorderTop"
+#define UNO_NAME_PAGE_BOTTOM "BorderBottom"
+#define UNO_NAME_PAGE_CHANGE "Change"
+#define UNO_NAME_PAGE_DURATION "Duration"
+#define UNO_NAME_PAGE_EFFECT "Effect"
+#define UNO_NAME_PAGE_HEIGHT "Height"
+#define UNO_NAME_PAGE_LAYOUT "Layout"
+#define UNO_NAME_PAGE_NUMBER "Number"
+#define UNO_NAME_PAGE_OBJECTS "Objects"
+#define UNO_NAME_PAGE_ORIENTATION "Orientation"
+#define UNO_NAME_PAGE_SPEED "Speed"
+#define UNO_NAME_PAGE_WIDTH "Width"
+#define UNO_NAME_PAGE_PREVIEW "Preview"
+
+#define UNO_NAME_OBJ_BOOKMARK "Bookmark"
+#define UNO_NAME_OBJ_DIMCOLOR "DimColor"
+#define UNO_NAME_OBJ_DIMHIDE "DimHide"
+#define UNO_NAME_OBJ_DIMPREV "DimPrevious"
+#define UNO_NAME_OBJ_EFFECT "Effect"
+#define UNO_NAME_OBJ_ISEMPTYPRESOBJ "IsEmptyPresentationObject"
+#define UNO_NAME_OBJ_ISPRESOBJ "IsPresentationObject"
+#define UNO_NAME_OBJ_CLICKACTION "OnClick"
+#define UNO_NAME_OBJ_PLAYFULL "PlayFull"
+#define UNO_NAME_OBJ_PRESORDER "PresentationOrder"
+#define UNO_NAME_OBJ_SOUNDFILE "Sound"
+#define UNO_NAME_OBJ_SOUNDON "SoundOn"
+#define UNO_NAME_OBJ_SPEED "Speed"
+#define UNO_NAME_OBJ_TEXTEFFECT "TextEffect"
+#define UNO_NAME_OBJ_BLUESCREEN "TransparentColor"
+#define UNO_NAME_OBJ_VERB "Verb"
+#define UNO_NAME_OBJ_STYLE "Style"
+#define UNO_NAME_OBJ_MASTERDEPENDENT "IsPlaceholderDependent"
+
+#define UNO_NAME_LAYER_LOCKED "IsLocked"
+#define UNO_NAME_LAYER_PRINTABLE "IsPrintable"
+#define UNO_NAME_LAYER_VISIBLE "IsVisible"
+#define UNO_NAME_LAYER_NAME "Name"
+
+#define UNO_NAME_SHOW_ALLOWANIM "AllowAnimations"
+#define UNO_NAME_SHOW_CUSTOMSHOW "CustomShow"
+#define UNO_NAME_SHOW_FIRSTPAGE "FirstPage"
+#define UNO_NAME_SHOW_ONTOP "IsAlwaysOnTop"
+#define UNO_NAME_SHOW_AUTOMATIC "IsAutomatic"
+#define UNO_NAME_SHOW_ENDLESS "IsEndless"
+#define UNO_NAME_SHOW_FULLSCREEN "IsFullScreen"
+#define UNO_NAME_SHOW_LIVEMODUS "IsLivePresentation"
+#define UNO_NAME_SHOW_MOUSEVISIBLE "IsMouseVisible"
+#define UNO_NAME_SHOW_PAGERANGE "PageRange"
+#define UNO_NAME_SHOW_PAUSE "Pause"
+#define UNO_NAME_SHOW_STARTWITHNAV "StartWithNavigator"
+#define UNO_NAME_SHOW_USEPEN "UsePen"
+
+#define UNO_NAME_SEARCH_BACKWARDS "SearchBackwards"
+#define UNO_NAME_SEARCH_CASE "SearchCaseSensitive"
+#define UNO_NAME_SEARCH_WORDS "SearchWords"
+
+#define UNO_NAME_LINKDISPLAYNAME "LinkDisplayName"
+#define UNO_NAME_LINKDISPLAYBITMAP "LinkDisplayBitmap"
+
+#define UNO_NAME_STYLE_FAMILY "Family"
+#endif
+
+
diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx
new file mode 100644
index 000000000000..0298e4d1e1f4
--- /dev/null
+++ b/sd/source/ui/inc/unosrch.hxx
@@ -0,0 +1,206 @@
+/*************************************************************************
+ *
+ * $RCSfile: unosrch.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _COM_SUN_STAR_DRAWING_XSHAPE_HPP_
+#include <com/sun/star/drawing/XShape.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XDRAWPAGE_HPP_
+#include <com/sun/star/drawing/XDrawPage.hpp>
+#endif
+#ifndef _COM_SUN_STAR_TEXT_XTEXTRANGE_HPP_
+#include <com/sun/star/text/XTextRange.hpp>
+#endif
+#ifndef _COM_SUN_STAR_DRAWING_XSHAPES_HPP_
+#include <com/sun/star/drawing/XShapes.hpp>
+#endif
+#ifndef _COM_SUN_STAR_UTIL_XREPLACEABLE_HPP_
+#include <com/sun/star/util/XReplaceable.hpp>
+#endif
+#ifndef _COM_SUN_STAR_UTIL_XSEARCHABLE_HPP_
+#include <com/sun/star/util/XSearchable.hpp>
+#endif
+#ifndef _COM_SUN_STAR_UTIL_XSEARCHDESCRIPTOR_HPP_
+#include <com/sun/star/util/XSearchDescriptor.hpp>
+#endif
+#ifndef _COM_SUN_STAR_UTIL_XREPLACEDESCRIPTOR_HPP_
+#include <com/sun/star/util/XReplaceDescriptor.hpp>
+#endif
+#ifndef _COM_SUN_STAR_LANG_XUNOTUNNEL_HPP_
+#include <com/sun/star/lang/XUnoTunnel.hpp>
+#endif
+
+#include <unotools/servicehelper.hxx>
+
+#ifndef _MyEDITDATA_HXX //autogen
+#include <svx/editdata.hxx>
+#endif
+
+#ifndef _SVX_UNOIPSET_HXX_
+#include <svx/unoipset.hxx>
+#endif
+
+class SdrObject;
+class SvxItemPropertySet;
+class SdUnoSearchReplaceDescriptor;
+
+/** this class implements a search or replace operation on a given page or a given sdrobj */
+class SdUnoSearchReplaceShape : public ::com::sun::star::util::XReplaceable
+{
+protected:
+ ::com::sun::star::drawing::XShape* mpShape;
+ ::com::sun::star::drawing::XDrawPage* mpPage;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > Search( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > xText, SdUnoSearchReplaceDescriptor* pDescr ) throw();
+ sal_Bool Search( const ::rtl::OUString& rText, sal_Int32& nStartPos, sal_Int32& nEndPos, SdUnoSearchReplaceDescriptor* pDescr ) throw();
+ ESelection GetSelection( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > xTextRange ) throw();
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > GetShape( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > xTextRange ) throw();
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > GetNextShape( ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > xShapes, ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xCurrentShape ) throw();
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > GetCurrentShape() const throw();
+
+public:
+ SdUnoSearchReplaceShape( ::com::sun::star::drawing::XDrawPage* xPage ) throw(); // danger, these c'tors are only usable if
+ SdUnoSearchReplaceShape( ::com::sun::star::drawing::XShape* xShape ) throw(); // the given shape or page is derived from
+ virtual ~SdUnoSearchReplaceShape() throw(); // this class!!!
+
+ // XReplaceable
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XReplaceDescriptor > SAL_CALL createReplaceDescriptor( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Int32 SAL_CALL replaceAll( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XSearchDescriptor >& xDesc ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XSearchable
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XSearchDescriptor > SAL_CALL createSearchDescriptor( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL findAll( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XSearchDescriptor >& xDesc ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL findFirst( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XSearchDescriptor >& xDesc ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL findNext( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xStartAt, const ::com::sun::star::uno::Reference< ::com::sun::star::util::XSearchDescriptor >& xDesc ) throw(::com::sun::star::uno::RuntimeException);
+};
+
+/* ================================================================= */
+
+/** this class holds the parameters and status of a search or replace operation performed
+ by class SdUnoSearchReplaceShape */
+
+#include <cppuhelper/implbase2.hxx>
+
+class SdUnoSearchReplaceDescriptor : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XUnoTunnel, ::com::sun::star::util::XReplaceDescriptor > // public ::com::sun::star::util::XSearchDescriptor, ::com::sun::star::beans::XPropertySet
+{
+protected:
+ SvxItemPropertySet* mpPropSet;
+
+ sal_Bool mbBackwards;
+ sal_Bool mbCaseSensitive;
+ sal_Bool mbWords;
+
+ sal_Bool mbReplace;
+
+ ::rtl::OUString maSearchStr;
+ ::rtl::OUString maReplaceStr;
+
+public:
+ SdUnoSearchReplaceDescriptor( sal_Bool bReplace ) throw();
+ virtual ~SdUnoSearchReplaceDescriptor() throw();
+
+ sal_Bool IsBackwards() const throw() { return mbBackwards; }
+ sal_Bool IsCaseSensitive() const throw() { return mbCaseSensitive; }
+ sal_Bool IsWords() const throw() { return mbWords; }
+
+ UNO3_GETIMPLEMENTATION_DECL( SdUnoSearchReplaceDescriptor )
+
+ // XSearchDescriptor
+ virtual ::rtl::OUString SAL_CALL getSearchString( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setSearchString( const ::rtl::OUString& aString ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XReplaceDescriptor
+ virtual ::rtl::OUString SAL_CALL getReplaceString( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setReplaceString( const ::rtl::OUString& aReplaceString ) throw(::com::sun::star::uno::RuntimeException);
+
+ // XPropertySet
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+};
+
+/* ================================================================= */
+
+#include <cppuhelper/implbase1.hxx>
+
+/** this class holds a sequence that is a result from a find all and
+ lets people access it through the XIndexAccess Interface. */
+class SdUnoFindAllAccess : public ::cppu::WeakImplHelper1< ::com::sun::star::container::XIndexAccess > // public ::com::sun::star::container::XElementAccess
+{
+protected:
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > maSequence;
+
+public:
+ SdUnoFindAllAccess( ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > >& rSequence ) throw();
+ virtual ~SdUnoFindAllAccess() throw();
+
+ // XIndexAccess
+ virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException) ;
+ virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) throw(::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+
+ // XElementAccess
+ virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
+};
+
diff --git a/sd/source/ui/inc/unprlout.hxx b/sd/source/ui/inc/unprlout.hxx
new file mode 100644
index 000000000000..dc35fb46e978
--- /dev/null
+++ b/sd/source/ui/inc/unprlout.hxx
@@ -0,0 +1,103 @@
+/*************************************************************************
+ *
+ * $RCSfile: unprlout.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNPRLOUT_HXX
+#define _SD_UNPRLOUT_HXX
+
+#include "sdundo.hxx"
+#include "pres.hxx" // enum AutoLayout
+
+class SdDrawDocument;
+class SdPage;
+
+class SdPresentationLayoutUndoAction : public SdUndoAction
+{
+ String aOldLayoutName;
+ String aNewLayoutName;
+ AutoLayout eOldAutoLayout;
+ AutoLayout eNewAutoLayout;
+ BOOL bSetAutoLayout; // TRUE: AutoLayout aendern
+ SdPage* pPage;
+ String aComment;
+
+public:
+ TYPEINFO();
+ SdPresentationLayoutUndoAction(SdDrawDocument* pTheDoc,
+ String aTheOldLayoutName,
+ String aTheNewLayoutName,
+ AutoLayout eTheOldAutoLayout,
+ AutoLayout eTheNewAutoLayout,
+ BOOL bSet,
+ SdPage* pThePage);
+
+ virtual ~SdPresentationLayoutUndoAction();
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+
+ virtual String GetComment() const;
+
+ // erst mal kein Repeat, da kein Kontext erreichbar
+ virtual BOOL CanRepeat(SfxRepeatTarget&) const { return FALSE; }
+};
+
+#endif // _SD_UNPRLOUT_HXX
+
diff --git a/sd/source/ui/inc/unslsel.hxx b/sd/source/ui/inc/unslsel.hxx
new file mode 100644
index 000000000000..b6a3be6971e7
--- /dev/null
+++ b/sd/source/ui/inc/unslsel.hxx
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * $RCSfile: unslsel.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_UNSLSEL_HXX
+#define _SD_UNSLSEL_HXX
+
+#include "sdundo.hxx"
+
+class SlideSelectionUndoAction : public SdUndoAction
+{
+ Container* pOldOrder;
+ Container* pNewOrder;
+
+public:
+ TYPEINFO();
+ SlideSelectionUndoAction(SdDrawDocument* pTheDoc,
+ Container* pOld, Container* pNew)
+ : SdUndoAction(pTheDoc),
+ pOldOrder(pOld),
+ pNewOrder(pNew) {}
+ virtual ~SlideSelectionUndoAction() {}
+ virtual void Undo();
+ virtual void Redo();
+ virtual void Repeat();
+};
+
+#endif // _SD_UNSLSEL_HXX
diff --git a/sd/source/ui/inc/vectdlg.hrc b/sd/source/ui/inc/vectdlg.hrc
new file mode 100644
index 000000000000..c58cc87cb8c2
--- /dev/null
+++ b/sd/source/ui/inc/vectdlg.hrc
@@ -0,0 +1,87 @@
+/*************************************************************************
+ *
+ * $RCSfile: vectdlg.hrc,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#define DLG_VECTORIZE 654
+
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+
+#define BTN_PREVIEW 1
+
+#define GRP_SETTINGS 1
+#define GRP_PRGS 2
+
+#define CTL_BMP 1
+#define CTL_WMF 2
+#define WND_PRGS 3
+
+#define FT_LAYERS 1
+#define FT_REDUCE 3
+#define FT_FILLHOLES 4
+#define FT_ORIGINAL 5
+#define FT_VECTORIZED 6
+
+#define NM_LAYERS 1
+#define MT_REDUCE 3
+#define MT_FILLHOLES 4
+
+#define CB_FILLHOLES 1
diff --git a/sd/source/ui/inc/vectdlg.hxx b/sd/source/ui/inc/vectdlg.hxx
new file mode 100644
index 000000000000..6c752efd5b6e
--- /dev/null
+++ b/sd/source/ui/inc/vectdlg.hxx
@@ -0,0 +1,155 @@
+/*************************************************************************
+ *
+ * $RCSfile: vectdlg.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+
+#ifndef _SD_VECTDLG_HXX
+#define _SD_VECTDLG_HXX
+
+#ifndef _SV_BUTTON_HXX //autogen
+#include <vcl/imagebtn.hxx>
+#endif
+#ifndef _SV_GROUP_HXX //autogen
+#include <vcl/group.hxx>
+#endif
+#ifndef _SV_FIXED_HXX //autogen
+#include <vcl/fixed.hxx>
+#endif
+#ifndef _SV_FIELD_HXX //autogen
+#include <vcl/field.hxx>
+#endif
+#ifndef _SV_DIALOG_HXX //autogen
+#include <vcl/dialog.hxx>
+#endif
+#ifndef _SV_GDIMTF_HXX //autogen
+#include <vcl/gdimtf.hxx>
+#endif
+#ifndef _GRAPHCTL_HXX //autogen
+#include <svx/graphctl.hxx>
+#endif
+#ifndef _PRGSBAR_HXX
+#include <svtools/prgsbar.hxx>
+#endif
+
+class SdDrawDocShell;
+
+/******************************************************************************
+|*
+|* SdVectorizeDlg
+|*
+\******************************************************************************/
+
+class SdVectorizeDlg : public ModalDialog
+{
+ SdDrawDocShell * pDocSh;
+ GroupBox aGrpSettings;
+ FixedText aFtLayers;
+ NumericField aNmLayers;
+ FixedText aFtReduce;
+ MetricField aMtReduce;
+ CheckBox aCbFillHoles;
+ FixedText aFtFillHoles;
+ MetricField aMtFillHoles;
+
+ FixedText aFtOriginal;
+ GraphCtrl aBmpWin;
+
+ FixedText aFtVectorized;
+ GraphCtrl aMtfWin;
+
+ GroupBox aGrpPrgs;
+ ProgressBar aPrgs;
+
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ PushButton aBtnPreview;
+
+ Bitmap aBmp;
+ Bitmap aPreviewBmp;
+ GDIMetaFile aMtf;
+
+ void LoadSettings();
+ void SaveSettings() const;
+ void InitPreviewBmp();
+ void UpdatePreviewMtf();
+
+ Rectangle GetRect( const Size& rDispSize, const Size& rBmpSize ) const;
+ Bitmap GetPreparedBitmap( Bitmap& rBmp, Fraction& rScale );
+ void Calculate( Bitmap& rBmp, GDIMetaFile& rMtf );
+ void AddTile( BitmapReadAccess* pRAcc, GDIMetaFile& rMtf,
+ long nPosX, long nPosY, long nWidth, long nHeight );
+
+ DECL_LINK( ProgressHdl, void* );
+ DECL_LINK( ClickPreviewHdl, PushButton* );
+ DECL_LINK( ClickOKHdl, OKButton* );
+ DECL_LINK( ToggleHdl, CheckBox* );
+ DECL_LINK( ModifyHdl, void* );
+
+public:
+
+ SdVectorizeDlg( Window* pParent, const Bitmap& rBmp, SdDrawDocShell* pDocShell );
+ ~SdVectorizeDlg();
+
+ const GDIMetaFile& GetGDIMetaFile() const { return aMtf; }
+};
+
+#endif
+
diff --git a/sd/source/ui/inc/zoomlist.hxx b/sd/source/ui/inc/zoomlist.hxx
new file mode 100644
index 000000000000..a51eb49edcd6
--- /dev/null
+++ b/sd/source/ui/inc/zoomlist.hxx
@@ -0,0 +1,93 @@
+/*************************************************************************
+ *
+ * $RCSfile: zoomlist.hxx,v $
+ *
+ * $Revision: 1.1.1.1 $
+ *
+ * last change: $Author: hr $ $Date: 2000-09-18 16:48:42 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _SD_ZOOMLIST_HXX
+#define _SD_ZOOMLIST_HXX
+
+
+#ifndef _GEN_HXX //autogen
+#include <tools/gen.hxx>
+#endif
+
+#ifndef _LIST_HXX //autogen
+#include <tools/list.hxx>
+#endif
+
+class ZoomList : public List
+{
+private:
+ ULONG nCurPos;
+
+public:
+ ZoomList();
+ virtual ~ZoomList();
+
+ void InsertZoomRect(const Rectangle& rRect);
+ Rectangle GetCurrentZoomRect() const;
+ Rectangle GetNextZoomRect();
+ Rectangle GetPreviousZoomRect();
+ BOOL IsNextPossible() const;
+ BOOL IsPreviousPossible() const;
+};
+
+#endif // _SD_ZOOMLIST_HXX
+
+