LibreOffice Module sc (master) 1
|
#include <datastreamdlg.hxx>
Public Member Functions | |
DataStreamDlg (ScDocShell *pDocShell, weld::Window *pParent) | |
virtual | ~DataStreamDlg () override |
void | Init (const DataStream &rStrm) |
void | StartStream () |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_LINK (UpdateClickHdl, weld::Toggleable &, void) | |
DECL_LINK (UpdateHdl, weld::Entry &, void) | |
DECL_LINK (UpdateComboBoxHdl, weld::ComboBox &, void) | |
DECL_LINK (BrowseHdl, weld::Button &, void) | |
void | UpdateEnable () |
ScRange | GetStartRange () |
Private Attributes | |
ScDocShell * | m_pDocShell |
std::unique_ptr< SvtURLBox > | m_xCbUrl |
std::unique_ptr< weld::Button > | m_xBtnBrowse |
std::unique_ptr< weld::RadioButton > | m_xRBValuesInLine |
std::unique_ptr< weld::RadioButton > | m_xRBAddressValue |
std::unique_ptr< weld::CheckButton > | m_xCBRefreshOnEmpty |
std::unique_ptr< weld::RadioButton > | m_xRBDataDown |
std::unique_ptr< weld::RadioButton > | m_xRBRangeDown |
std::unique_ptr< weld::RadioButton > | m_xRBNoMove |
std::unique_ptr< weld::RadioButton > | m_xRBMaxLimit |
std::unique_ptr< weld::RadioButton > | m_xRBUnlimited |
std::unique_ptr< weld::Entry > | m_xEdRange |
std::unique_ptr< weld::Entry > | m_xEdLimit |
std::unique_ptr< weld::Button > | m_xBtnOk |
std::unique_ptr< weld::Frame > | m_xVclFrameLimit |
std::unique_ptr< weld::Frame > | m_xVclFrameMove |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 24 of file datastreamdlg.hxx.
sc::DataStreamDlg::DataStreamDlg | ( | ScDocShell * | pDocShell, |
weld::Window * | pParent | ||
) |
Definition at line 20 of file datastreamdlg.cxx.
References LINK, m_xBtnBrowse, m_xCbUrl, m_xEdRange, m_xRBAddressValue, m_xRBNoMove, m_xRBValuesInLine, and UpdateEnable().
|
overridevirtual |
Definition at line 49 of file datastreamdlg.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 94 of file datastreamdlg.cxx.
References ScRange::aEnd, ScRange::aStart, aStr, ScDocument::GetAddressConvention(), ScDocShell::GetDocument(), ScRange::IsValid(), m_pDocShell, m_xEdRange, ScRange::Parse(), ScAddress::Row(), ScRange::SetInvalid(), VALID, and ZERO.
Referenced by StartStream(), and UpdateEnable().
void sc::DataStreamDlg::Init | ( | const DataStream & | rStrm | ) |
Definition at line 114 of file datastreamdlg.cxx.
References ScRange::aEnd, ScRange::aStart, aStr, ScRange::Format(), ScDocument::GetAddressConvention(), ScDocShell::GetDocument(), m_pDocShell, m_xCBRefreshOnEmpty, m_xCbUrl, m_xEdLimit, m_xEdRange, m_xRBDataDown, m_xRBMaxLimit, m_xRBRangeDown, m_xRBUnlimited, ScDocument::MaxRow(), sc::DataStream::MOVE_DOWN, sc::DataStream::MOVE_UP, sc::DataStream::NO_MOVE, RANGE_ABS_3D, sc::DataStream::RANGE_DOWN, ScAddress::Row(), rStrm, ScAddress::SetRow(), and UpdateEnable().
Referenced by ScCellShell::ExecuteDB().
void sc::DataStreamDlg::StartStream | ( | ) |
Definition at line 153 of file datastreamdlg.cxx.
References GetStartRange(), ScRange::IsValid(), m_pDocShell, m_xCBRefreshOnEmpty, m_xCbUrl, m_xEdLimit, m_xRBMaxLimit, m_xRBRangeDown, m_xRBValuesInLine, sc::DataStream::MakeToolbarVisible(), sc::DataStream::MOVE_DOWN, sc::DataStream::RANGE_DOWN, sc::DataStream::Set(), sc::DataStream::SetRefreshOnEmptyLine(), sc::DataStream::StartImport(), and sc::DataStream::VALUES_IN_LINE.
Referenced by ScCellShell::ExecuteDB().
|
private |
Definition at line 68 of file datastreamdlg.cxx.
References GetStartRange(), ScRange::IsValid(), m_xBtnOk, m_xCbUrl, m_xEdRange, m_xRBAddressValue, m_xVclFrameLimit, and m_xVclFrameMove.
Referenced by DataStreamDlg(), and Init().
|
private |
Definition at line 26 of file datastreamdlg.hxx.
Referenced by GetStartRange(), Init(), and StartStream().
|
private |
Definition at line 29 of file datastreamdlg.hxx.
Referenced by DataStreamDlg().
|
private |
Definition at line 40 of file datastreamdlg.hxx.
Referenced by UpdateEnable().
|
private |
Definition at line 32 of file datastreamdlg.hxx.
Referenced by Init(), and StartStream().
|
private |
Definition at line 28 of file datastreamdlg.hxx.
Referenced by DataStreamDlg(), Init(), StartStream(), and UpdateEnable().
|
private |
Definition at line 39 of file datastreamdlg.hxx.
Referenced by Init(), and StartStream().
|
private |
Definition at line 38 of file datastreamdlg.hxx.
Referenced by DataStreamDlg(), GetStartRange(), Init(), and UpdateEnable().
|
private |
Definition at line 31 of file datastreamdlg.hxx.
Referenced by DataStreamDlg(), and UpdateEnable().
|
private |
Definition at line 33 of file datastreamdlg.hxx.
Referenced by Init().
|
private |
Definition at line 36 of file datastreamdlg.hxx.
Referenced by Init(), and StartStream().
|
private |
Definition at line 35 of file datastreamdlg.hxx.
Referenced by DataStreamDlg().
|
private |
Definition at line 34 of file datastreamdlg.hxx.
Referenced by Init(), and StartStream().
|
private |
Definition at line 37 of file datastreamdlg.hxx.
Referenced by Init().
|
private |
Definition at line 30 of file datastreamdlg.hxx.
Referenced by DataStreamDlg(), and StartStream().
|
private |
Definition at line 41 of file datastreamdlg.hxx.
Referenced by UpdateEnable().
|
private |
Definition at line 42 of file datastreamdlg.hxx.
Referenced by UpdateEnable().