1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX
13 #include <sal/config.h>
15 #include <rtl/ref.hxx>
16 #include <vcl/dialog.hxx>
17 #include <vcl/layout.hxx>
19 #include "datastream.hxx"
27 class DataStreamDlg
: public ModalDialog
29 ScDocShell
*mpDocShell
;
31 VclPtr
<SvtURLBox
> m_pCbUrl
;
32 VclPtr
<PushButton
> m_pBtnBrowse
;
33 VclPtr
<RadioButton
> m_pRBDirectData
;
34 VclPtr
<RadioButton
> m_pRBScriptData
;
35 VclPtr
<RadioButton
> m_pRBValuesInLine
;
36 VclPtr
<RadioButton
> m_pRBAddressValue
;
37 VclPtr
<CheckBox
> m_pCBRefreshOnEmpty
;
38 VclPtr
<RadioButton
> m_pRBDataDown
;
39 VclPtr
<RadioButton
> m_pRBRangeDown
;
40 VclPtr
<RadioButton
> m_pRBNoMove
;
41 VclPtr
<RadioButton
> m_pRBMaxLimit
;
42 VclPtr
<RadioButton
> m_pRBUnlimited
;
43 VclPtr
<Edit
> m_pEdRange
;
44 VclPtr
<Edit
> m_pEdLimit
;
45 VclPtr
<OKButton
> m_pBtnOk
;
46 VclPtr
<VclFrame
> m_pVclFrameLimit
;
47 VclPtr
<VclFrame
> m_pVclFrameMove
;
49 DECL_LINK(UpdateHdl
, void *);
50 DECL_LINK(BrowseHdl
, void *);
53 ScRange
GetStartRange();
56 DataStreamDlg(ScDocShell
*pDocShell
, vcl::Window
* pParent
);
57 virtual ~DataStreamDlg();
58 virtual void dispose() SAL_OVERRIDE
;
60 void Init( const DataStream
& rStrm
);
67 #endif // INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */