/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX #define INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX #include #include #include #include #include "datastream.hxx" class ScDocShell; class SvtURLBox; class ScRange; namespace sc { class DataStreamDlg : public ModalDialog { ScDocShell *mpDocShell; VclPtr m_pCbUrl; VclPtr m_pBtnBrowse; VclPtr m_pRBDirectData; VclPtr m_pRBScriptData; VclPtr m_pRBValuesInLine; VclPtr m_pRBAddressValue; VclPtr m_pCBRefreshOnEmpty; VclPtr m_pRBDataDown; VclPtr m_pRBRangeDown; VclPtr m_pRBNoMove; VclPtr m_pRBMaxLimit; VclPtr m_pRBUnlimited; VclPtr m_pEdRange; VclPtr m_pEdLimit; VclPtr m_pBtnOk; VclPtr m_pVclFrameLimit; VclPtr m_pVclFrameMove; DECL_LINK(UpdateHdl, void *); DECL_LINK(BrowseHdl, void *); void UpdateEnable(); ScRange GetStartRange(); public: DataStreamDlg(ScDocShell *pDocShell, vcl::Window* pParent); virtual ~DataStreamDlg(); virtual void dispose() SAL_OVERRIDE; void Init( const DataStream& rStrm ); void StartStream(); }; } #endif // INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */