2001-02-20 13:34:05 +00:00
|
|
|
/**
|
|
|
|
* \file FormPreamble.h
|
|
|
|
* Copyright 2001 The LyX Team.
|
|
|
|
* See the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMPREAMBLE_H
|
|
|
|
#define FORMPREAMBLE_H
|
|
|
|
|
2001-03-15 13:37:04 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
2001-02-20 13:34:05 +00:00
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
#include "FormBase.h"
|
2001-03-16 12:08:14 +00:00
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
class ControlPreamble;
|
2001-02-20 13:34:05 +00:00
|
|
|
struct FD_form_preamble;
|
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
/** This class provides an XForms implementation of the Preamble Dialog.
|
2001-02-20 13:34:05 +00:00
|
|
|
*/
|
2001-03-27 16:03:28 +00:00
|
|
|
class FormPreamble : public FormCB<ControlPreamble, FormDB<FD_form_preamble> > {
|
2001-02-20 13:34:05 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2001-03-27 16:03:28 +00:00
|
|
|
FormPreamble(ControlPreamble &);
|
2001-02-20 13:34:05 +00:00
|
|
|
private:
|
2001-03-15 13:37:04 +00:00
|
|
|
/// Apply from popup
|
|
|
|
virtual void apply();
|
2001-03-27 16:03:28 +00:00
|
|
|
/// Build the popup
|
|
|
|
virtual void build();
|
2001-03-15 13:37:04 +00:00
|
|
|
/// Update the popup.
|
|
|
|
virtual void update();
|
2001-02-20 13:34:05 +00:00
|
|
|
|
2001-03-27 10:44:14 +00:00
|
|
|
/// Fdesign generated method
|
|
|
|
FD_form_preamble * build_preamble();
|
2001-02-20 13:34:05 +00:00
|
|
|
};
|
|
|
|
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
#endif // FORMPREAMBLE_H
|