}
-InsetBox::InsetBox(InsetBox const & in)
- : InsetCollapsable(in), params_(in.params_)
-{}
-
-
InsetBox::~InsetBox()
{
InsetBoxMailer(*this).hideDialog();
}
-Inset * InsetBox::clone() const
-{
- return new InsetBox(*this);
-}
-
-
docstring InsetBox::editMessage() const
{
return _("Opened Box Inset");
docstring InsetBox::name() const
{
// FIXME: UNICODE
- string name = string("Box");
+ string name = "Box";
if (boxtranslator().find(params_.type) == Shaded)
name += string(":Shaded");
return from_ascii(name);
bool InsetBox::hasFixedWidth() const
{
- return params_.inner_box || params_.special != "width";
+ return params_.inner_box || params_.special != "width";
}
}
-bool InsetBox::forceEmptyLayout() const
+bool InsetBox::forceEmptyLayout(idx_type) const
{
return !params_.inner_box;
}
}
-bool InsetBox::isMacroScope() const
-{
- BoxType btype = boxtranslator().find(params_.type);
- return btype != Frameless || params_.inner_box;
-}
-
-
int InsetBox::latex(odocstream & os, OutputParams const & runparams) const
{
BoxType btype = boxtranslator().find(params_.type);