* \author Lars Gullik Bjønnes
* \author Matthias Ettrich
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
top_x(0), top_baseline(0), scx(0), id_(in.id_), owner_(0),
name_(in.name_), background_color_(in.background_color_)
{
- lyxerr << "inset id: " << id_ << std::endl;
}
{
return dim_.wid;
}
+
+
+bool InsetOld::insetAllowed(InsetOld * in) const
+{
+ return insetAllowed(in->lyxCode());
+}
+
+
+bool InsetOld::checkInsertChar(LyXFont &)
+{
+ return false;
+}
+
+
+bool isEditableInset(InsetOld const * i)
+{
+ return i && i->editable();
+}
+
+
+bool isHighlyEditableInset(InsetOld const * i)
+{
+ return i && i->editable() == InsetOld::HIGHLY_EDITABLE;
+}
+