/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 1998 The LyX Team.
*
* ====================================================== */
font.decSize();
font.setColor(LColor::collapsable);
setLabelFont(font);
+#if 0
setAutoCollapse(false);
+#endif
setInsetName("List");
}
}
-Inset * InsetList::clone(Buffer const &, bool same_id) const
-{
- InsetList * result = new InsetList;
- result->inset.init(&inset, same_id);
-
- result->collapsed = collapsed;
- if (same_id)
- result->id_ = id_;
- return result;
-}
-
-
string const InsetList::editMessage() const
{
return _("Opened List Inset");
ostream & os, bool fragile, bool fp) const
{
os << "\\footnote{%\n";
-
+
int i = inset.latex(buf, os, fragile, fp);
os << "}%\n";
-
- return i + 2;
-}
-
-bool InsetList::insertInsetAllowed(Inset * in) const
-{
- if ((in->lyxCode() == Inset::FOOT_CODE) ||
- (in->lyxCode() == Inset::MARGIN_CODE)) {
- return false;
- }
- return true;
+ return i + 2;
}