]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTabular.h
Remove redundant files.
[lyx.git] / src / frontends / xforms / FormTabular.h
1 // -*- C++ -*-
2 /**
3  * \file FormTabular.h
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.
7  *
8  * \author Jürgen Vigna
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef FORMTABULAR_H
14 #define FORMTABULAR_H
15
16 #include <boost/scoped_ptr.hpp>
17
18 #ifdef __GNUG__
19 #pragma interface
20 #endif
21
22 #include "FormBase.h"
23
24 class InsetTabular;
25 class ControlTabular;
26 struct FD_tabular;
27 struct FD_tabular_options;
28 struct FD_tabular_column;
29 struct FD_tabular_cell;
30 struct FD_tabular_longtable;
31
32 /** This class provides an XForms implementation of the FormTabular Dialog.
33     The tabular dialog allows users to set/save their tabular.
34  */
35 class FormTabular : public FormCB<ControlTabular, FormDB<FD_tabular> > {
36 public:
37
38         FormTabular();
39
40 private:
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();
44
45         /// not used
46         virtual void apply() {}
47         /// Update dialog before showing it
48         virtual void update();
49         /// Build the dialog
50         virtual void build();
51         /// Filter the inputs
52         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
53  
54         ///
55         virtual int checkLongtableOptions(FL_OBJECT *, string &);
56
57         ///
58         boost::scoped_ptr<FD_tabular_options> tabular_options_;
59         ///
60         boost::scoped_ptr<FD_tabular_column> column_options_;
61         ///
62         boost::scoped_ptr<FD_tabular_cell> cell_options_;
63         ///
64         boost::scoped_ptr<FD_tabular_longtable> longtable_options_;
65
66         ///
67         bool closing_;
68  
69         ///
70         int actCell_;
71 };
72
73 #endif // FORMTABULAR_H