]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormParagraph.h
2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
[lyx.git] / src / frontends / xforms / FormParagraph.h
1 // -*- C++ -*-
2 /**
3  * \file FormParagraph.h
4  * Copyright 2001 The LyX Team.
5  * See the file COPYING.
6  *
7  * \author Jürgen Vigna, jug@sad.it
8  */
9
10 #ifndef FORM_PARAGRAPH_H
11 #define FORM_PARAGRAPH_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18
19 struct FD_paragraph;
20 class ControlParagraph;
21
22 /** This class provides an XForms implementation of the FormParagraph dialog.
23  */
24 class FormParagraph
25         : public FormCB<ControlParagraph, FormDB<FD_paragraph> > {
26 public:
27         ///
28         FormParagraph(ControlParagraph &, Dialogs &);
29 private:
30         /// Build the dialog
31         virtual void build();
32         /// Apply from dialog
33         virtual void apply();
34         /// Update the dialog
35         virtual void update();
36
37         /// Filter the inputs on callback from xforms
38         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
39 };
40
41 #endif