From 05a1217921b7be283c6750a35b90e4feda6e993e Mon Sep 17 00:00:00 2001 From: Sahil Gautam Date: Mon, 4 Mar 2024 04:22:03 +0530 Subject: tdf#80390 Extend InsertCells Dialog to allow adding a set of Rows/Columns Change-Id: I103574d720fef685b806943672a2aeb1fbf87097 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164316 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- sc/source/ui/inc/inscldlg.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sc/source/ui/inc/inscldlg.hxx') diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx index b44bfb60baa9..fdd70fff8738 100644 --- a/sc/source/ui/inc/inscldlg.hxx +++ b/sc/source/ui/inc/inscldlg.hxx @@ -30,12 +30,20 @@ private: std::unique_ptr m_xBtnCellsRight; std::unique_ptr m_xBtnInsRow; std::unique_ptr m_xBtnInsCol; + std::unique_ptr m_xNumberOfRows; + std::unique_ptr m_xNumberOfCols; + + // These are arbitrarily chosen. + const size_t MAX_INS_ROWS = 4000; + const size_t MAX_INS_COLS = 4000; public: ScInsertCellDlg(weld::Window* pParent, bool bDisallowCellMove); virtual ~ScInsertCellDlg() override; InsCellCmd GetInsCellCmd() const; + size_t GetCount() const; + DECL_LINK(RadioButtonsHdl, weld::Toggleable&, void); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit