2002-03-07 15:06:57 +00:00
|
|
|
// -*- C++ -*-
|
2002-09-05 14:10:50 +00:00
|
|
|
/**
|
2002-03-07 15:06:57 +00:00
|
|
|
* \file FormSendto.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.
|
2002-03-07 15:06:57 +00:00
|
|
|
*
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-03-07 15:06:57 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMSENDTO_H
|
|
|
|
#define FORMSENDTO_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "FormBase.h"
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
class ControlSendto;
|
|
|
|
class Format;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_sendto;
|
2002-03-07 15:06:57 +00:00
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the Custom Export Dialog.
|
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormSendto : public FormCB<ControlSendto, FormDB<FD_sendto> > {
|
2002-03-07 15:06:57 +00:00
|
|
|
public:
|
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormSendto();
|
2002-03-07 15:06:57 +00:00
|
|
|
private:
|
|
|
|
/// Apply from dialog (modify or create inset)
|
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog
|
|
|
|
virtual void build();
|
|
|
|
/// Update the dialog
|
|
|
|
virtual void update();
|
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
|
|
|
|
|
|
std::vector<Format const *> all_formats_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMSENDTO_H
|