+ background_color_ = color;
+}
+
+
+LColor::color Inset::backgroundColor() const
+{
+ if (background_color_ == LColor::inherit) {
+ if (owner())
+ return owner()->backgroundColor();
+ else
+ return LColor::background;
+ } else
+ return background_color_;
+}
+
+
+int Inset::id() const
+{
+ return id_;
+}
+
+void Inset::id(int id_arg)
+{
+ id_ = id_arg;
+}
+
+void Inset::setFont(BufferView *, LyXFont const &, bool, bool)
+{}
+
+
+bool Inset::forceDefaultParagraphs(Inset const * in) const
+{
+ if (owner())
+ return owner()->forceDefaultParagraphs(in);
+ return false;
+}
+
+int Inset::latexTextWidth(BufferView * bv) const
+{
+ if (owner())
+ return (owner()->latexTextWidth(bv));
+ return bv->workWidth();