3 * \file GuiTabularCreate.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef GUITABULARCREATE_H
13 #define GUITABULARCREATE_H
15 #include "GuiDialog.h"
16 #include "ui_TabularCreateUi.h"
24 class GuiTabularCreate : public GuiDialog, public Ui::TabularCreateUi
29 GuiTabularCreate(GuiView & lv);
32 void columnsChanged(int);
33 void rowsChanged(int);
39 bool initialiseParams(std::string const & data);
43 void dispatchParams();
45 bool isBufferDependent() const { return true; }
47 FuncCode getLfun() const { return LFUN_TABULAR_INSERT; }
50 typedef std::pair<size_t, size_t> rowsCols;
52 rowsCols & params() { return params_; }
59 } // namespace frontend
62 #endif // GUITABULARCREATE_H