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.
15 #include "FormDialogView.h"
16 #include <boost/scoped_ptr.hpp>
25 struct FD_tabular_options;
26 struct FD_tabular_column;
27 struct FD_tabular_cell;
28 struct FD_tabular_longtable;
30 /** This class provides an XForms implementation of the FormTabular Dialog.
31 The tabular dialog allows users to set/save their tabular.
34 : public FormController<ControlTabular, FormView<FD_tabular> > {
37 FormTabular(Dialog &);
40 /** Redraw the form (on receipt of a Signal indicating, for example,
41 that the xforms colours have been re-mapped). */
42 virtual void redraw();
45 virtual void apply() {}
46 /// Update dialog before showing it
47 virtual void update();
51 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
54 virtual int checkLongtableOptions(FL_OBJECT *, std::string &);
57 boost::scoped_ptr<FD_tabular_options> tabular_options_;
59 boost::scoped_ptr<FD_tabular_column> column_options_;
61 boost::scoped_ptr<FD_tabular_cell> cell_options_;
63 boost::scoped_ptr<FD_tabular_longtable> longtable_options_;
72 } // namespace frontend
75 #endif // FORMTABULAR_H