}
-void MathExIntInset::metrics(MathMetricsInfo const &) const
+void MathExIntInset::metrics(MathMetricsInfo &) const
{
lyxerr << "should not happen" << endl;
}
-void MathExIntInset::draw(Painter &, int, int) const
+void MathExIntInset::draw(MathPainterInfo &, int, int) const
{
lyxerr << "should not happen" << endl;
}
os << ')';
}
+void MathExIntInset::mathematicize(MathematicaStream & os) const
+{
+ if ( symbol_ == "int" )
+ os << "Integrate[";
+ else
+ if (symbol_ == "sum")
+ os << "Sum[";
+ else
+ os << symbol_ << '[';
+
+ if (cell(0).size())
+ os << cell(0) << ',';
+ else
+ os << '1' << ',';
+ if (hasScripts())
+ os << '{' << cell(1) << ',' << cell(2) << ',' << cell(3) << "}]";
+ else
+ os << cell(1) << ']';
+}
+
void MathExIntInset::mathmlize(MathMLStream & os) const
{