mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
2a31934f38
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
919 B
C++
50 lines
919 B
C++
// -*- 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é Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef CONTROLVSPACE_H
|
|
#define CONTROLVSPACE_H
|
|
|
|
#include "Dialog.h"
|
|
#include "vspace.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
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_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // CONTROLPARAGRAPH_H
|