*
* \author Jürgen Vigna
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#include "xformsBC.h"
-#include "ControlMinipage.h"
#include "FormMinipage.h"
+#include "ControlMinipage.h"
#include "forms/form_minipage.h"
+
+#include "xforms_helpers.h"
+#include "xformsBC.h"
+
+#include "controllers/helper_funcs.h"
+
#include "support/lstrings.h"
#include "support/tostr.h"
-#include "helper_funcs.h"
-#include "debug.h"
-#include "xforms_helpers.h"
+
#include "lyx_forms.h"
+using lyx::support::getStringFromVector;
+using lyx::support::isStrDbl;
+using lyx::support::subst;
+
+using std::string;
+
+
typedef FormController<ControlMinipage, FormView<FD_minipage> > base_class;
FormMinipage::FormMinipage(Dialog & parent)
string const input = getString(dialog_->input_width);
bool const invalid = !isValidLength(input) && !isStrDbl(input);
if (invalid) {
- postWarning(_("Invalid Length!"));
+ postWarning(_("Invalid length!"));
action = ButtonPolicy::SMI_INVALID;
} else {
action = ButtonPolicy::SMI_VALID;