diff options
Diffstat (limited to 'sc/source/ui/inc/inscldlg.hxx')
-rw-r--r-- | sc/source/ui/inc/inscldlg.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
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<weld::RadioButton> m_xBtnCellsRight; std::unique_ptr<weld::RadioButton> m_xBtnInsRow; std::unique_ptr<weld::RadioButton> m_xBtnInsCol; + std::unique_ptr<weld::SpinButton> m_xNumberOfRows; + std::unique_ptr<weld::SpinButton> 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: */ |