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