2 * \file ControlVSpace.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
14 #include "ControlVSpace.h"
16 #include "FuncRequest.h"
17 #include "insets/InsetVSpace.h"
20 using std::istringstream;
26 ControlVSpace::ControlVSpace(Dialog & parent)
27 : Dialog::Controller(parent)
31 bool ControlVSpace::initialiseParams(string const & data)
33 InsetVSpaceMailer::string2params(data, params_);
35 // so that the user can press Ok
36 dialog().setButtonsValid(true);
42 void ControlVSpace::clearParams()
48 void ControlVSpace::dispatchParams()
50 string const str = InsetVSpaceMailer::params2string(params_);
51 kernel().dispatch(FuncRequest(getLfun(), str));
55 VSpace & ControlVSpace::params()
61 VSpace const & ControlVSpace::params() const
66 } // namespace frontend