return true;
} else
return false;
+
+ case LFUN_NEWLINE_INSERT:
+ if (params_.subfloat) {
+ flag.setEnabled(false);
+ return true;
+ }
default:
return InsetCollapsable::getStatus(cur, cmd, flag);
}
+bool InsetFloat::allowsCaptionVariation(std::string const & newtype) const
+{
+ return !params_.subfloat && newtype != "LongTableNoNumber";
+}
+
+
docstring InsetFloat::getCaption(OutputParams const & runparams) const
{
if (paragraphs().empty())