]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormParagraph.h
This file is part of LyX, the document processor.
[lyx.git] / src / frontends / xforms / FormParagraph.h
1 // -*- C++ -*-
2 /**
3  * \file FormParagraph.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Vigna
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FORM_PARAGRAPH_H
13 #define FORM_PARAGRAPH_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20
21 struct FD_paragraph;
22 class ControlParagraph;
23
24 /** This class provides an XForms implementation of the FormParagraph dialog.
25  */
26 class FormParagraph
27         : public FormCB<ControlParagraph, FormDB<FD_paragraph> > {
28 public:
29         ///
30         FormParagraph();
31 private:
32         /// Build the dialog
33         virtual void build();
34         /// Apply from dialog
35         virtual void apply();
36         /// Update the dialog
37         virtual void update();
38
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41 };
42
43 #endif