xref: /trunk/main/sd/source/ui/inc/present.hxx (revision 67e470da)
1*c45d927aSAndrew Rist /**************************************************************
2*c45d927aSAndrew Rist  *
3*c45d927aSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*c45d927aSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*c45d927aSAndrew Rist  * distributed with this work for additional information
6*c45d927aSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*c45d927aSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*c45d927aSAndrew Rist  * "License"); you may not use this file except in compliance
9*c45d927aSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*c45d927aSAndrew Rist  *
11*c45d927aSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*c45d927aSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*c45d927aSAndrew Rist  * software distributed under the License is distributed on an
15*c45d927aSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*c45d927aSAndrew Rist  * KIND, either express or implied.  See the License for the
17*c45d927aSAndrew Rist  * specific language governing permissions and limitations
18*c45d927aSAndrew Rist  * under the License.
19*c45d927aSAndrew Rist  *
20*c45d927aSAndrew Rist  *************************************************************/
21*c45d927aSAndrew Rist 
22*c45d927aSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir 
25cdf0e10cSrcweir #ifndef _SD_PRESENT_HXX_
26cdf0e10cSrcweir #define _SD_PRESENT_HXX_
27cdf0e10cSrcweir 
28cdf0e10cSrcweir #ifndef _LSTBOX_HXX //autogen
29cdf0e10cSrcweir #include <vcl/lstbox.hxx>
30cdf0e10cSrcweir #endif
31cdf0e10cSrcweir #include <vcl/fixed.hxx>
32cdf0e10cSrcweir #ifndef _BUTTON_HXX //autogen
33cdf0e10cSrcweir #include <vcl/button.hxx>
34cdf0e10cSrcweir #endif
35cdf0e10cSrcweir #ifndef _BUTTON_HXX //autogen
36cdf0e10cSrcweir #include <vcl/button.hxx>
37cdf0e10cSrcweir #endif
38cdf0e10cSrcweir #ifndef _DIALOG_HXX //autogen
39cdf0e10cSrcweir #include <vcl/dialog.hxx>
40cdf0e10cSrcweir #endif
41cdf0e10cSrcweir #ifndef _FIELD_HXX //autogen
42cdf0e10cSrcweir #include <vcl/field.hxx>
43cdf0e10cSrcweir #endif
44cdf0e10cSrcweir 
45cdf0e10cSrcweir class SfxItemSet;
46cdf0e10cSrcweir class List;
47cdf0e10cSrcweir 
48cdf0e10cSrcweir /*************************************************************************
49cdf0e10cSrcweir |* Dialog zum Festlegen von Optionen und Starten der Praesentation
50cdf0e10cSrcweir \************************************************************************/
51cdf0e10cSrcweir class SdStartPresentationDlg : public ModalDialog
52cdf0e10cSrcweir {
53cdf0e10cSrcweir private:
54cdf0e10cSrcweir 
55cdf0e10cSrcweir 	FixedLine			aGrpRange;
56cdf0e10cSrcweir 	RadioButton			aRbtAll;
57cdf0e10cSrcweir 	RadioButton			aRbtAtDia;
58cdf0e10cSrcweir 	RadioButton			aRbtCustomshow;
59cdf0e10cSrcweir 	ListBox				aLbDias;
60cdf0e10cSrcweir 	ListBox				aLbCustomshow;
61cdf0e10cSrcweir 
62cdf0e10cSrcweir 	FixedLine			aGrpKind;
63cdf0e10cSrcweir 	RadioButton			aRbtStandard;
64cdf0e10cSrcweir 	RadioButton			aRbtWindow;
65cdf0e10cSrcweir 	RadioButton			aRbtAuto;
66cdf0e10cSrcweir 	TimeField			aTmfPause;
67cdf0e10cSrcweir 	CheckBox			aCbxAutoLogo;
68cdf0e10cSrcweir 
69cdf0e10cSrcweir 	FixedLine			aGrpOptions;
70cdf0e10cSrcweir 	CheckBox			aCbxManuel;
71cdf0e10cSrcweir 	CheckBox			aCbxMousepointer;
72cdf0e10cSrcweir 	CheckBox			aCbxPen;
73cdf0e10cSrcweir 	CheckBox			aCbxNavigator;
74cdf0e10cSrcweir 	CheckBox            aCbxAnimationAllowed;
75cdf0e10cSrcweir 	CheckBox            aCbxChangePage;
76cdf0e10cSrcweir 	CheckBox			aCbxAlwaysOnTop;
77cdf0e10cSrcweir 
78cdf0e10cSrcweir 	FixedLine			maGrpMonitor;
79cdf0e10cSrcweir 	FixedText			maFtMonitor;
80cdf0e10cSrcweir 	ListBox				maLBMonitor;
81cdf0e10cSrcweir 
82cdf0e10cSrcweir 	OKButton			aBtnOK;
83cdf0e10cSrcweir 	CancelButton		aBtnCancel;
84cdf0e10cSrcweir 	HelpButton			aBtnHelp;
85cdf0e10cSrcweir 
86cdf0e10cSrcweir 	List*				pCustomShowList;
87cdf0e10cSrcweir 	const SfxItemSet&	rOutAttrs;
88cdf0e10cSrcweir 	sal_Int32			mnMonitors;
89cdf0e10cSrcweir 
90cdf0e10cSrcweir 	String				msPrimaryMonitor;
91cdf0e10cSrcweir 	String				msMonitor;
92cdf0e10cSrcweir 	String				msAllMonitors;
93cdf0e10cSrcweir 
94cdf0e10cSrcweir 						DECL_LINK( ChangeRangeHdl, void * );
95cdf0e10cSrcweir 						DECL_LINK( ClickWindowPresentationHdl, void * );
96cdf0e10cSrcweir 						DECL_LINK( ChangePauseHdl, void * );
97cdf0e10cSrcweir 
98cdf0e10cSrcweir 	void				InitMonitorSettings();
99cdf0e10cSrcweir 
100cdf0e10cSrcweir public:
101cdf0e10cSrcweir 						SdStartPresentationDlg( Window* pWindow,
102cdf0e10cSrcweir 								const SfxItemSet& rInAttrs,
103cdf0e10cSrcweir 								List& rPageNames,
104cdf0e10cSrcweir 								List* pCSList );
105cdf0e10cSrcweir 
106cdf0e10cSrcweir 	void				GetAttr( SfxItemSet& rOutAttrs );
107cdf0e10cSrcweir };
108cdf0e10cSrcweir 
109cdf0e10cSrcweir #endif // _SD_PRESENT_HXX_
110cdf0e10cSrcweir 
111