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>
21 struct FD_tabular_options;
22 struct FD_tabular_column;
23 struct FD_tabular_cell;
24 struct FD_tabular_longtable;
26 /** This class provides an XForms implementation of the FormTabular Dialog.
27 The tabular dialog allows users to set/save their tabular.
30 : public FormController<ControlTabular, FormView<FD_tabular> > {
33 FormTabular(Dialog &);
36 /** Redraw the form (on receipt of a Signal indicating, for example,
37 that the xforms colours have been re-mapped). */
38 virtual void redraw();
41 virtual void apply() {}
42 /// Update dialog before showing it
43 virtual void update();
47 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
50 virtual int checkLongtableOptions(FL_OBJECT *, std::string &);
53 boost::scoped_ptr<FD_tabular_options> tabular_options_;
55 boost::scoped_ptr<FD_tabular_column> column_options_;
57 boost::scoped_ptr<FD_tabular_cell> cell_options_;
59 boost::scoped_ptr<FD_tabular_longtable> longtable_options_;
68 #endif // FORMTABULAR_H