4 * Copyright 1995 Matthias Ettrich
5 * This file is part of LyX, the document processor.
6 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS
16 #include "FormDialogView.h"
17 #include <boost/scoped_ptr.hpp>
22 struct FD_tabular_options;
23 struct FD_tabular_column;
24 struct FD_tabular_cell;
25 struct FD_tabular_longtable;
27 /** This class provides an XForms implementation of the FormTabular Dialog.
28 The tabular dialog allows users to set/save their tabular.
31 : public FormController<ControlTabular, FormView<FD_tabular> > {
34 FormTabular(Dialog &);
37 /** Redraw the form (on receipt of a Signal indicating, for example,
38 that the xforms colours have been re-mapped). */
39 virtual void redraw();
42 virtual void apply() {}
43 /// Update dialog before showing it
44 virtual void update();
48 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
51 virtual int checkLongtableOptions(FL_OBJECT *, string &);
54 boost::scoped_ptr<FD_tabular_options> tabular_options_;
56 boost::scoped_ptr<FD_tabular_column> column_options_;
58 boost::scoped_ptr<FD_tabular_cell> cell_options_;
60 boost::scoped_ptr<FD_tabular_longtable> longtable_options_;
69 #endif // FORMTABULAR_H