#include <vector>
-using lyx::support::getStringFromVector;
-using lyx::support::isStrDbl;
-using lyx::support::subst;
using std::string;
+namespace lyx {
+
+using support::getStringFromVector;
+using support::isStrDbl;
+using support::subst;
+
+namespace frontend {
+
typedef FormController<ControlBox, FormView<FD_box> > base_class;
gui_names_spec_[i].c_str());
}
// Special width unit must be default for general units to be enabled
- if(controller().params().special != "none")
+ if (controller().params().special != "none")
setEnabled(dialog_->choice_width_unit, false);
setEnabled(dialog_->choice_special, !controller().params().inner_box);
setEnabled(dialog_->choice_height_unit, controller().params().inner_box);
setEnabled(dialog_->choice_height_special, controller().params().inner_box);
// Same here
- if(height_special != "none")
+ if (height_special != "none")
setEnabled(dialog_->choice_height_unit, false);
}
return ButtonPolicy::SMI_VALID;
}
+
+} // namespace frontend
+} // namespace lyx