2 * \file ControlMinipage.C
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 "ControlMinipage.h"
15 #include "funcrequest.h"
21 ControlMinipage::ControlMinipage(Dialog & parent)
22 : Dialog::Controller(parent)
26 bool ControlMinipage::initialiseParams(string const & data)
28 InsetMinipage::Params params;
29 InsetMinipageMailer::string2params(data, params);
30 params_.reset(new InsetMinipage::Params(params));
35 void ControlMinipage::clearParams()
41 void ControlMinipage::dispatchParams()
43 string const lfun = InsetMinipageMailer::params2string(params());
44 kernel().dispatch(FuncRequest(LFUN_INSET_APPLY, lfun));