]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormMinipage.h
f0f92a96707fe9028654a7bfffa6e1bbef4e1e65
[lyx.git] / src / frontends / xforms / FormMinipage.h
1 /* This file is part of
2  * ======================================================
3  * 
4  *           LyX, The Document Processor
5  *       
6  *          Copyright 2001 The LyX Team.
7  *
8  *======================================================
9  *
10  * \file FormMinipage.h
11  * \author Juergen Vigna, jug@sad.it
12  */
13
14 #ifndef FORMMINIPAGE_H
15 #define FORMMINIPAGE_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "FormBase.h"
22
23 class LyXView;
24 class Dialogs;
25 class InsetMinipage;
26 struct FD_form_minipage;
27
28 /** This class provides an XForms implementation of the Minipage
29     Dialog.
30  */
31 class ControlMinipage;
32 struct FD_form_minipage;
33
34 class FormMinipage : public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
35 public:
36         ///
37         FormMinipage(ControlMinipage &);
38
39 private:
40         /// Set the Params variable for the Controller.
41         virtual void apply();
42         /// Build the dialog.
43         virtual void build();
44         /// Update dialog before/whilst showing it.
45         virtual void update();
46
47         /// Fdesign generated method
48         FD_form_minipage * build_minipage();
49 };
50
51 #endif // FORMMINIPAGE_H