Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : :
29 : :
30 : : #ifndef _SD_PRESENT_HXX_
31 : : #define _SD_PRESENT_HXX_
32 : :
33 : : #include <vcl/lstbox.hxx>
34 : : #include <vcl/fixed.hxx>
35 : : #include <vcl/button.hxx>
36 : : #include <vcl/dialog.hxx>
37 : : #include <vcl/field.hxx>
38 : :
39 : : class SfxItemSet;
40 : : class List;
41 : : class SdCustomShowList;
42 : :
43 : : /*************************************************************************
44 : : |* Dialog zum Festlegen von Optionen und Starten der Praesentation
45 : : \************************************************************************/
46 : 0 : class SdStartPresentationDlg : public ModalDialog
47 : : {
48 : : private:
49 : :
50 : : FixedLine aGrpRange;
51 : : RadioButton aRbtAll;
52 : : RadioButton aRbtAtDia;
53 : : RadioButton aRbtCustomshow;
54 : : ListBox aLbDias;
55 : : ListBox aLbCustomshow;
56 : :
57 : : FixedLine aGrpKind;
58 : : RadioButton aRbtStandard;
59 : : RadioButton aRbtWindow;
60 : : RadioButton aRbtAuto;
61 : : TimeField aTmfPause;
62 : : CheckBox aCbxAutoLogo;
63 : :
64 : : FixedLine aGrpOptions;
65 : : CheckBox aCbxManuel;
66 : : CheckBox aCbxMousepointer;
67 : : CheckBox aCbxPen;
68 : : CheckBox aCbxNavigator;
69 : : CheckBox aCbxAnimationAllowed;
70 : : CheckBox aCbxChangePage;
71 : : CheckBox aCbxAlwaysOnTop;
72 : :
73 : : FixedLine maGrpMonitor;
74 : : FixedText maFtMonitor;
75 : : ListBox maLBMonitor;
76 : :
77 : : OKButton aBtnOK;
78 : : CancelButton aBtnCancel;
79 : : HelpButton aBtnHelp;
80 : :
81 : : SdCustomShowList* pCustomShowList;
82 : : const SfxItemSet& rOutAttrs;
83 : : sal_Int32 mnMonitors;
84 : :
85 : : String msExternalMonitor;
86 : : String msMonitor;
87 : : String msAllMonitors;
88 : :
89 : : DECL_LINK( ChangeRangeHdl, void * );
90 : : DECL_LINK( ClickWindowPresentationHdl, void * );
91 : : DECL_LINK( ChangePauseHdl, void * );
92 : :
93 : : void InitMonitorSettings();
94 : :
95 : : public:
96 : : SdStartPresentationDlg( Window* pWindow,
97 : : const SfxItemSet& rInAttrs,
98 : : const std::vector<String> &rPageNames,
99 : : SdCustomShowList* pCSList );
100 : :
101 : : void GetAttr( SfxItemSet& rOutAttrs );
102 : : };
103 : :
104 : : #endif // _SD_PRESENT_HXX_
105 : :
106 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|