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 <boost/scoped_ptr.hpp>
27 struct FD_tabular_options;
28 struct FD_tabular_column;
29 struct FD_tabular_cell;
30 struct FD_tabular_longtable;
32 /** This class provides an XForms implementation of the FormTabular Dialog.
33 The tabular dialog allows users to set/save their tabular.
35 class FormTabular : public FormCB<ControlTabular, FormDB<FD_tabular> > {
41 /** Redraw the form (on receipt of a Signal indicating, for example,
42 that the xforms colours have been re-mapped). */
43 virtual void redraw();
46 virtual void apply() {}
47 /// Update dialog before showing it
48 virtual void update();
52 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
55 virtual int checkLongtableOptions(FL_OBJECT *, string &);
58 boost::scoped_ptr<FD_tabular_options> tabular_options_;
60 boost::scoped_ptr<FD_tabular_column> column_options_;
62 boost::scoped_ptr<FD_tabular_cell> cell_options_;
64 boost::scoped_ptr<FD_tabular_longtable> longtable_options_;
73 #endif // FORMTABULAR_H