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 :
10 : #include <sal/config.h>
11 :
12 : #include <rtl/ref.hxx>
13 : #include <vcl/dialog.hxx>
14 : #include <vcl/layout.hxx>
15 :
16 : #include <datastream.hxx>
17 :
18 : class ScDocShell;
19 : class SvtURLBox;
20 : class ScRange;
21 :
22 : namespace sc {
23 :
24 0 : class DataStreamDlg : public ModalDialog
25 : {
26 : ScDocShell *mpDocShell;
27 :
28 : SvtURLBox* m_pCbUrl;
29 : PushButton* m_pBtnBrowse;
30 : RadioButton* m_pRBDirectData;
31 : RadioButton* m_pRBScriptData;
32 : RadioButton* m_pRBValuesInLine;
33 : RadioButton* m_pRBAddressValue;
34 : CheckBox* m_pCBRefreshOnEmpty;
35 : RadioButton* m_pRBDataDown;
36 : RadioButton* m_pRBRangeDown;
37 : RadioButton* m_pRBNoMove;
38 : RadioButton* m_pRBMaxLimit;
39 : RadioButton* m_pRBUnlimited;
40 : Edit* m_pEdRange;
41 : Edit* m_pEdLimit;
42 : OKButton* m_pBtnOk;
43 : VclFrame* m_pVclFrameLimit;
44 : VclFrame* m_pVclFrameMove;
45 :
46 : DECL_LINK(UpdateHdl, void *);
47 : DECL_LINK(BrowseHdl, void *);
48 :
49 : void UpdateEnable();
50 : ScRange GetStartRange();
51 :
52 : public:
53 : DataStreamDlg(ScDocShell *pDocShell, Window* pParent);
54 :
55 : void Init( const DataStream& rStrm );
56 :
57 : void StartStream();
58 : };
59 :
60 : }
61 :
62 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|