2003-11-28 15:53:34 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file ControlVSpace.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Edwin Leuven
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef CONTROLVSPACE_H
|
|
|
|
|
#define CONTROLVSPACE_H
|
|
|
|
|
|
|
|
|
|
#include "Dialog.h"
|
2007-04-26 04:41:58 +00:00
|
|
|
|
#include "VSpace.h"
|
2003-11-28 15:53:34 +00:00
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
2003-11-28 15:53:34 +00:00
|
|
|
|
|
|
|
|
|
class ControlVSpace : public Dialog::Controller {
|
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
ControlVSpace(Dialog &);
|
|
|
|
|
///
|
|
|
|
|
virtual bool initialiseParams(std::string const & data);
|
|
|
|
|
/// clean-up on hide.
|
|
|
|
|
virtual void clearParams();
|
|
|
|
|
/// clean-up on hide.
|
|
|
|
|
virtual void dispatchParams();
|
|
|
|
|
///
|
|
|
|
|
virtual bool isBufferDependent() const { return true; }
|
|
|
|
|
///
|
|
|
|
|
VSpace & params();
|
|
|
|
|
///
|
|
|
|
|
VSpace const & params() const;
|
|
|
|
|
///
|
|
|
|
|
bool inInset() const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
///
|
|
|
|
|
VSpace params_;
|
|
|
|
|
};
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2003-11-28 15:53:34 +00:00
|
|
|
|
#endif // CONTROLPARAGRAPH_H
|