Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 :
21 : #ifndef _SD_PRESENT_HXX_
22 : #define _SD_PRESENT_HXX_
23 :
24 : #include <vcl/lstbox.hxx>
25 : #include <vcl/fixed.hxx>
26 : #include <vcl/button.hxx>
27 : #include <vcl/dialog.hxx>
28 : #include <vcl/field.hxx>
29 :
30 : class SfxItemSet;
31 : class List;
32 : class SdCustomShowList;
33 :
34 : /*************************************************************************
35 : |* Dialog zum Festlegen von Optionen und Starten der Praesentation
36 : \************************************************************************/
37 0 : class SdStartPresentationDlg : public ModalDialog
38 : {
39 : private:
40 :
41 : FixedLine aGrpRange;
42 : RadioButton aRbtAll;
43 : RadioButton aRbtAtDia;
44 : RadioButton aRbtCustomshow;
45 : ListBox aLbDias;
46 : ListBox aLbCustomshow;
47 :
48 : FixedLine aGrpKind;
49 : RadioButton aRbtStandard;
50 : RadioButton aRbtWindow;
51 : RadioButton aRbtAuto;
52 : TimeField aTmfPause;
53 : CheckBox aCbxAutoLogo;
54 :
55 : FixedLine aGrpOptions;
56 : CheckBox aCbxManuel;
57 : CheckBox aCbxMousepointer;
58 : CheckBox aCbxPen;
59 : CheckBox aCbxNavigator;
60 : CheckBox aCbxAnimationAllowed;
61 : CheckBox aCbxChangePage;
62 : CheckBox aCbxAlwaysOnTop;
63 :
64 : FixedLine maGrpMonitor;
65 : FixedText maFtMonitor;
66 : ListBox maLBMonitor;
67 :
68 : OKButton aBtnOK;
69 : CancelButton aBtnCancel;
70 : HelpButton aBtnHelp;
71 :
72 : SdCustomShowList* pCustomShowList;
73 : const SfxItemSet& rOutAttrs;
74 : sal_Int32 mnMonitors;
75 :
76 : String msExternalMonitor;
77 : String msMonitor;
78 : String msAllMonitors;
79 :
80 : DECL_LINK( ChangeRangeHdl, void * );
81 : DECL_LINK( ClickWindowPresentationHdl, void * );
82 : DECL_LINK( ChangePauseHdl, void * );
83 :
84 : void InitMonitorSettings();
85 :
86 : public:
87 : SdStartPresentationDlg( Window* pWindow,
88 : const SfxItemSet& rInAttrs,
89 : const std::vector<String> &rPageNames,
90 : SdCustomShowList* pCSList );
91 :
92 : void GetAttr( SfxItemSet& rOutAttrs );
93 : };
94 :
95 : #endif // _SD_PRESENT_HXX_
96 :
97 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|