3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
13 #include "ControlFloat.h"
14 #include "funcrequest.h"
15 #include "insets/insetfloat.h"
18 ControlFloat::ControlFloat(Dialog & parent)
19 : Dialog::Controller(parent)
23 bool ControlFloat::initialiseParams(string const & data)
25 InsetFloatParams params;
26 InsetFloatMailer::string2params(data, params);
27 params_.reset(new InsetFloatParams(params));
32 void ControlFloat::clearParams()
38 void ControlFloat::dispatchParams()
40 string const lfun = InsetFloatMailer::params2string(params());
41 kernel().dispatch(FuncRequest(LFUN_INSET_APPLY, lfun));