CWS-TOOLING: integrate CWS os150
[LibreOffice.git] / sd / source / ui / inc / present.hxx
blob8350bc114de5a86c7da55345551f44f00042420e
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
29 #ifndef _SD_PRESENT_HXX_
30 #define _SD_PRESENT_HXX_
32 #ifndef _LSTBOX_HXX //autogen
33 #include <vcl/lstbox.hxx>
34 #endif
35 #include <vcl/fixed.hxx>
36 #ifndef _BUTTON_HXX //autogen
37 #include <vcl/button.hxx>
38 #endif
39 #ifndef _BUTTON_HXX //autogen
40 #include <vcl/button.hxx>
41 #endif
42 #ifndef _DIALOG_HXX //autogen
43 #include <vcl/dialog.hxx>
44 #endif
45 #ifndef _FIELD_HXX //autogen
46 #include <vcl/field.hxx>
47 #endif
49 class SfxItemSet;
50 class List;
52 /*************************************************************************
53 |* Dialog zum Festlegen von Optionen und Starten der Praesentation
54 \************************************************************************/
55 class SdStartPresentationDlg : public ModalDialog
57 private:
59 FixedLine aGrpRange;
60 RadioButton aRbtAll;
61 RadioButton aRbtAtDia;
62 RadioButton aRbtCustomshow;
63 ListBox aLbDias;
64 ListBox aLbCustomshow;
66 FixedLine aGrpKind;
67 RadioButton aRbtStandard;
68 RadioButton aRbtWindow;
69 RadioButton aRbtAuto;
70 TimeField aTmfPause;
71 CheckBox aCbxAutoLogo;
73 FixedLine aGrpOptions;
74 CheckBox aCbxManuel;
75 CheckBox aCbxMousepointer;
76 CheckBox aCbxPen;
77 CheckBox aCbxNavigator;
78 CheckBox aCbxAnimationAllowed;
79 CheckBox aCbxChangePage;
80 CheckBox aCbxAlwaysOnTop;
82 FixedLine maGrpMonitor;
83 FixedText maFtMonitor;
84 ListBox maLBMonitor;
86 OKButton aBtnOK;
87 CancelButton aBtnCancel;
88 HelpButton aBtnHelp;
90 List* pCustomShowList;
91 const SfxItemSet& rOutAttrs;
92 sal_Int32 mnMonitors;
94 String msPrimaryMonitor;
95 String msMonitor;
96 String msAllMonitors;
98 DECL_LINK( ChangeRangeHdl, void * );
99 DECL_LINK( ClickWindowPresentationHdl, void * );
100 DECL_LINK( ChangePauseHdl, void * );
102 void InitMonitorSettings();
104 public:
105 SdStartPresentationDlg( Window* pWindow,
106 const SfxItemSet& rInAttrs,
107 List& rPageNames,
108 List* pCSList );
110 void GetAttr( SfxItemSet& rOutAttrs );
113 #endif // _SD_PRESENT_HXX_