Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / ui / inc / datastreamdlg.hxx
blob851afefe509938de72cbdfc1c7c3071494e0b7a7
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #include <sal/config.h>
12 #include <rtl/ref.hxx>
13 #include <vcl/dialog.hxx>
14 #include <vcl/layout.hxx>
16 #include <datastream.hxx>
18 class ScDocShell;
19 class SvtURLBox;
20 class ScRange;
22 namespace sc {
24 class DataStreamDlg : public ModalDialog
26 ScDocShell *mpDocShell;
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;
46 DECL_LINK(UpdateHdl, void *);
47 DECL_LINK(BrowseHdl, void *);
49 void UpdateEnable();
50 ScRange GetStartRange();
52 public:
53 DataStreamDlg(ScDocShell *pDocShell, Window* pParent);
55 void Init( const DataStream& rStrm );
57 void StartStream();
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */