2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 2000 The LyX Team.
11 *======================================================*/
13 #ifndef FORM_PARAGRAPH_H
14 #define FORM_PARAGRAPH_H
23 struct FD_form_tabbed_paragraph;
24 struct FD_form_paragraph_general;
25 struct FD_form_paragraph_extra;
27 /** This class provides an XForms implementation of the FormParagraph Popup.
28 * @author Jürgen Vigna
30 class FormParagraph : public FormBaseBD {
33 FormParagraph(LyXView *, Dialogs *);
38 /** Redraw the form (on receipt of a Signal indicating, for example,
39 that the xform colours have been re-mapped). */
40 virtual void redraw();
46 virtual void update();
47 /// Filter the inputs on callback from xforms
48 virtual bool input(FL_OBJECT * ob, long);
51 virtual FL_FORM * form() const;
54 void general_update();
62 /// Typedefinitions from the fdesign produced Header file
63 FD_form_tabbed_paragraph * build_tabbed_paragraph();
65 FD_form_paragraph_general * build_paragraph_general();
67 FD_form_paragraph_extra * build_paragraph_extra();
69 /// Real GUI implementation.
70 FD_form_tabbed_paragraph * dialog_;
72 FD_form_paragraph_general * general_;
74 FD_form_paragraph_extra * extra_;