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 #include <sal/config.h>
12 #include <rtl/ref.hxx>
13 #include <vcl/dialog.hxx>
14 #include <vcl/layout.hxx>
16 #include <datastream.hxx>
24 class DataStreamDlg
: public ModalDialog
26 ScDocShell
*mpDocShell
;
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
;
43 VclFrame
* m_pVclFrameLimit
;
44 VclFrame
* m_pVclFrameMove
;
46 DECL_LINK(UpdateHdl
, void *);
47 DECL_LINK(BrowseHdl
, void *);
50 ScRange
GetStartRange();
53 DataStreamDlg(ScDocShell
*pDocShell
, Window
* pParent
);
55 void Init( const DataStream
& rStrm
);
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */