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 "GViewBase.h"
17 #include "GtkLengthEntry.h"
19 #include "lyxlength.h"
21 #include <boost/scoped_ptr.hpp>
29 /** This class provides a GTK+ implementation of the Tabular Dialog.
32 : public GViewCB<ControlTabular, GViewGladeB> {
38 /// Set the Params variable for the Controller.
41 virtual void doBuild();
42 /// Update dialog before/whilst showing it.
43 virtual void update();
45 void allBorders(bool borders);
46 void updateSensitivity();
47 void updateSpecialRowsSensitivity();
48 void updateHorzAlignCombo(bool extraoption);
52 // **** Current cell coords ****
53 Gtk::SpinButton *cellrowspin_;
54 Gtk::SpinButton *cellcolspin_;
56 // **** Table tab ****
57 Gtk::ComboBoxText *horzaligncombo_;
58 Gtk::ComboBox *vertaligncombo_;
59 Gtk::CheckButton *specifywidthcheck_;
60 GtkLengthEntry *widthlength_;
61 Gtk::Entry *latexargsentry_;
63 Gtk::CheckButton *rotatetablecheck_;
65 // **** This Cell tab ****
66 Gtk::CheckButton *upperbordercheck_;
67 Gtk::CheckButton *lowerbordercheck_;
68 Gtk::CheckButton *leftbordercheck_;
69 Gtk::CheckButton *rightbordercheck_;
70 Gtk::CheckButton *rotatecellcheck_;
71 Gtk::CheckButton *multicolcheck_;
73 // **** Longtable tab ****
74 Gtk::CheckButton *longtablecheck_;
75 Gtk::CheckButton *pagebreakcheck_;
77 Gtk::Table *specialrowstable_;
79 Gtk::CheckButton *headeroncheck_;
80 Gtk::CheckButton *footeroncheck_;
81 Gtk::CheckButton *firstheaderoncheck_;
82 Gtk::CheckButton *lastfooteroncheck_;
83 Gtk::CheckButton *firstheaderemptycheck_;
84 Gtk::CheckButton *lastfooteremptycheck_;
85 Gtk::CheckButton *headerupperborderdoublecheck_;
86 Gtk::CheckButton *footerupperborderdoublecheck_;
87 Gtk::CheckButton *firstheaderupperborderdoublecheck_;
88 Gtk::CheckButton *lastfooterupperborderdoublecheck_;
89 Gtk::CheckButton *headerlowerborderdoublecheck_;
90 Gtk::CheckButton *footerlowerborderdoublecheck_;
91 Gtk::CheckButton *firstheaderlowerborderdoublecheck_;
92 Gtk::CheckButton *lastfooterlowerborderdoublecheck_;
97 } // namespace frontend