4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
9 * \author Jürgen Spitzmüller
12 * Full author contact details are available in file CREDITS.
18 #include "GuiDialog.h"
19 #include "ui_TabularUi.h"
20 #include "insets/InsetTabular.h"
25 class GuiTabular : public GuiDialog, public Ui::TabularUi
30 GuiTabular(GuiView & lv);
34 void change_adaptor();
36 void topspace_changed();
37 void bottomspace_changed();
38 void interlinespace_changed();
39 void booktabsChanged(bool);
40 void borderSet_clicked();
41 void borderUnset_clicked();
45 bool isValid() { return true; }
47 void update_borders();
51 void updateContents();
53 bool initialiseParams(std::string const & data);
56 /// We use set() instead.
57 void dispatchParams() {};
59 bool isBufferDependent() const { return true; }
61 FuncCode getLfun() const { return LFUN_TABULAR_FEATURE; }
64 Tabular::idx_type getActiveCell() const;
66 void set(Tabular::Feature, std::string const & arg = std::string());
68 bool funcEnabled(Tabular::Feature f) const;
71 Tabular::idx_type active_cell_;
78 } // namespace frontend
81 #endif // GUITABULAR_H