LibreOffice Module sc (master) 1
datastreamdlg.hxx
Go to the documentation of this file.
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#pragma once
11
12#include <sal/config.h>
13
14#include <vcl/weld.hxx>
15
16class ScDocShell;
17class SvtURLBox;
18class ScRange;
19
20namespace sc
21{
22class DataStream;
23
25{
27
28 std::unique_ptr<SvtURLBox> m_xCbUrl;
29 std::unique_ptr<weld::Button> m_xBtnBrowse;
30 std::unique_ptr<weld::RadioButton> m_xRBValuesInLine;
31 std::unique_ptr<weld::RadioButton> m_xRBAddressValue;
32 std::unique_ptr<weld::CheckButton> m_xCBRefreshOnEmpty;
33 std::unique_ptr<weld::RadioButton> m_xRBDataDown;
34 std::unique_ptr<weld::RadioButton> m_xRBRangeDown;
35 std::unique_ptr<weld::RadioButton> m_xRBNoMove;
36 std::unique_ptr<weld::RadioButton> m_xRBMaxLimit;
37 std::unique_ptr<weld::RadioButton> m_xRBUnlimited;
38 std::unique_ptr<weld::Entry> m_xEdRange;
39 std::unique_ptr<weld::Entry> m_xEdLimit;
40 std::unique_ptr<weld::Button> m_xBtnOk;
41 std::unique_ptr<weld::Frame> m_xVclFrameLimit;
42 std::unique_ptr<weld::Frame> m_xVclFrameMove;
43
44 DECL_LINK(UpdateClickHdl, weld::Toggleable&, void);
45 DECL_LINK(UpdateHdl, weld::Entry&, void);
46 DECL_LINK(UpdateComboBoxHdl, weld::ComboBox&, void);
47 DECL_LINK(BrowseHdl, weld::Button&, void);
48
49 void UpdateEnable();
51
52public:
53 DataStreamDlg(ScDocShell* pDocShell, weld::Window* pParent);
54 virtual ~DataStreamDlg() override;
55
56 void Init(const DataStream& rStrm);
57
58 void StartStream();
59};
60}
61
62/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::RadioButton > m_xRBNoMove
std::unique_ptr< weld::Frame > m_xVclFrameLimit
virtual ~DataStreamDlg() override
DECL_LINK(BrowseHdl, weld::Button &, void)
std::unique_ptr< weld::Entry > m_xEdLimit
std::unique_ptr< weld::RadioButton > m_xRBMaxLimit
std::unique_ptr< SvtURLBox > m_xCbUrl
std::unique_ptr< weld::Frame > m_xVclFrameMove
std::unique_ptr< weld::Entry > m_xEdRange
DECL_LINK(UpdateClickHdl, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > m_xRBValuesInLine
DECL_LINK(UpdateHdl, weld::Entry &, void)
std::unique_ptr< weld::CheckButton > m_xCBRefreshOnEmpty
void Init(const DataStream &rStrm)
std::unique_ptr< weld::RadioButton > m_xRBDataDown
std::unique_ptr< weld::Button > m_xBtnBrowse
std::unique_ptr< weld::RadioButton > m_xRBUnlimited
std::unique_ptr< weld::RadioButton > m_xRBRangeDown
DataStreamDlg(ScDocShell *pDocShell, weld::Window *pParent)
ScRange GetStartRange()
std::unique_ptr< weld::RadioButton > m_xRBAddressValue
ScDocShell * m_pDocShell
std::unique_ptr< weld::Button > m_xBtnOk
DECL_LINK(UpdateComboBoxHdl, weld::ComboBox &, void)
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15