21 : GenericDialogController(pParent,
"modules/scalc/ui/datastreams.ui",
"DataStreamDialog")
22 , m_pDocShell(pDocShell)
23 , m_xCbUrl(new
SvtURLBox(m_xBuilder->weld_combo_box(
"url")))
24 , m_xBtnBrowse(m_xBuilder->weld_button(
"browse"))
25 , m_xRBValuesInLine(m_xBuilder->weld_radio_button(
"valuesinline"))
26 , m_xRBAddressValue(m_xBuilder->weld_radio_button(
"addressvalue"))
27 , m_xCBRefreshOnEmpty(m_xBuilder->weld_check_button(
"refresh_ui"))
28 , m_xRBDataDown(m_xBuilder->weld_radio_button(
"datadown"))
29 , m_xRBRangeDown(m_xBuilder->weld_radio_button(
"rangedown"))
30 , m_xRBNoMove(m_xBuilder->weld_radio_button(
"nomove"))
31 , m_xRBMaxLimit(m_xBuilder->weld_radio_button(
"maxlimit"))
32 , m_xRBUnlimited(m_xBuilder->weld_radio_button(
"unlimited"))
33 , m_xEdRange(m_xBuilder->weld_entry(
"range"))
34 , m_xEdLimit(m_xBuilder->weld_entry(
"limit"))
35 , m_xBtnOk(m_xBuilder->weld_button(
"ok"))
36 , m_xVclFrameLimit(m_xBuilder->weld_frame(
"framelimit"))
37 , m_xVclFrameMove(m_xBuilder->weld_frame(
"framemove"))
58 m_xCbUrl->set_entry_text(aFileDialog.
GetPath());
70 bool bOk = !
m_xCbUrl->GetURL().isEmpty();
131 m_xEdLimit->set_text(OUString::number(nRows));
160 sal_Int32 nLimit = 0;
163 OUString rURL =
m_xCbUrl->get_active_text();
164 sal_uInt32 nSettings = 0;
Reference< XExecutableDialog > m_xDialog
const ScDocument & GetDocument() const
SC_DLLPUBLIC formula::FormulaGrammar::AddressConvention GetAddressConvention() const
SC_DLLPUBLIC SCROW MaxRow() const
OUString Format(const ScDocument &rDocument, ScRefFlags nFlags=ScRefFlags::ZERO, const ScAddress::Details &rDetails=ScAddress::detailsOOOa1, bool bFullAddressNotation=false) const
Returns string with formatted cell range from aStart to aEnd, according to provided address conventio...
ScRefFlags Parse(const OUString &, const ScDocument &, const ScAddress::Details &rDetails=ScAddress::detailsOOOa1, ScAddress::ExternalInfo *pExtInfo=nullptr, const css::uno::Sequence< css::sheet::ExternalLinkInfo > *pExternalLinks=nullptr, const OUString *pErrRef=nullptr)
std::unique_ptr< weld::RadioButton > m_xRBNoMove
std::unique_ptr< weld::Frame > m_xVclFrameLimit
virtual ~DataStreamDlg() override
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
std::unique_ptr< weld::RadioButton > m_xRBValuesInLine
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)
std::unique_ptr< weld::RadioButton > m_xRBAddressValue
std::unique_ptr< weld::Button > m_xBtnOk
static void MakeToolbarVisible()
static DataStream * Set(ScDocShell *pShell, const OUString &rURL, const ScRange &rRange, sal_Int32 nLimit, MoveType eMove, sal_uInt32 nSettings)
void SetRefreshOnEmptyLine(bool bVal)
void SetContext(Context _eNewContext)
#define LINK(Instance, Class, Member)
CAUTION! The following defines must be in the same namespace as the respective type.
IMPL_LINK_NOARG(SharedStringPoolPurge, timerHandler, Timer *, void)