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>
35 #include <vcl/fixed.hxx>
36 #ifndef _BUTTON_HXX //autogen
37 #include <vcl/button.hxx>
39 #ifndef _BUTTON_HXX //autogen
40 #include <vcl/button.hxx>
42 #ifndef _DIALOG_HXX //autogen
43 #include <vcl/dialog.hxx>
45 #ifndef _FIELD_HXX //autogen
46 #include <vcl/field.hxx>
52 /*************************************************************************
53 |* Dialog zum Festlegen von Optionen und Starten der Praesentation
54 \************************************************************************/
55 class SdStartPresentationDlg
: public ModalDialog
61 RadioButton aRbtAtDia
;
62 RadioButton aRbtCustomshow
;
64 ListBox aLbCustomshow
;
67 RadioButton aRbtStandard
;
68 RadioButton aRbtWindow
;
71 CheckBox aCbxAutoLogo
;
73 FixedLine aGrpOptions
;
75 CheckBox aCbxMousepointer
;
77 CheckBox aCbxNavigator
;
78 CheckBox aCbxAnimationAllowed
;
79 CheckBox aCbxChangePage
;
80 CheckBox aCbxAlwaysOnTop
;
82 FixedLine maGrpMonitor
;
83 FixedText maFtMonitor
;
87 CancelButton aBtnCancel
;
90 List
* pCustomShowList
;
91 const SfxItemSet
& rOutAttrs
;
94 String msPrimaryMonitor
;
98 DECL_LINK( ChangeRangeHdl
, void * );
99 DECL_LINK( ClickWindowPresentationHdl
, void * );
100 DECL_LINK( ChangePauseHdl
, void * );
102 void InitMonitorSettings();
105 SdStartPresentationDlg( Window
* pWindow
,
106 const SfxItemSet
& rInAttrs
,
110 void GetAttr( SfxItemSet
& rOutAttrs
);
113 #endif // _SD_PRESENT_HXX_