2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-20 13:34:05 +00:00
|
|
|
/**
|
|
|
|
* \file FormPreamble.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-02-20 13:34:05 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Edwin Leuven
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-02-20 13:34:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMPREAMBLE_H
|
|
|
|
#define FORMPREAMBLE_H
|
|
|
|
|
|
|
|
|
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;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_preamble;
|
2001-02-20 13:34:05 +00:00
|
|
|
|
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
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormPreamble : public FormCB<ControlPreamble, FormDB<FD_preamble> > {
|
2001-02-20 13:34:05 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormPreamble();
|
2001-02-20 13:34:05 +00:00
|
|
|
private:
|
2002-03-21 21:21:28 +00:00
|
|
|
/// Apply from dialog
|
2001-03-15 13:37:04 +00:00
|
|
|
virtual void apply();
|
2001-04-03 14:30:58 +00:00
|
|
|
/// Build the dialog
|
2001-03-27 16:03:28 +00:00
|
|
|
virtual void build();
|
2001-04-03 14:30:58 +00:00
|
|
|
/// Update the dialog
|
2001-03-15 13:37:04 +00:00
|
|
|
virtual void update();
|
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
|