]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathExInt.h
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathExInt.h
index a4d2e8e90dcc655e856ace2ab78a2f5c5c531cc5..55aa1f78f240cb6d0354dd0931ef65ff3450a411 100644 (file)
 
 namespace lyx {
 
-// cell(0) is stuff before the 'd', cell(1) the stuff after
+// for integrals:
+//   cell(0) is stuff before the 'd'
+//   cell(1) is the stuff after the 'd'
+//   cell(2) is the lower bound
+//   cell(3) is the upper bound
+// for sums: 
+//   cell(0) is the main body
+//   cell(1) is the index (e.g., i), if the lower bound is "i = ..."
+//      or the whole lower bound if not
+//   cell(2) is what follows the "=" in the first case
+//   cell(3) is the upper bound
 class InsetMathExInt : public InsetMathNest {
 public:
        ///
@@ -42,7 +52,7 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathStream &) const;
+       docstring mathmlize(MathStream &) const;
        ///
        void write(WriteStream & os) const;
        ///