]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.h
Remove hardcoded values
[lyx.git] / src / mathed / InsetMathExInt.h
index 00f7ed9f578554020a98acc169ea123b38a7b0c3..5254166d664ea7c4dd0e7a6958774e417a1b0396 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:
        ///
-       explicit InsetMathExInt(docstring const & name_);
+       explicit InsetMathExInt(Buffer * buf, docstring const & name_);
        ///
        void symbol(docstring const &);
        ///
@@ -44,6 +54,8 @@ public:
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void write(WriteStream & os) const;
        ///
        InsetCode lyxCode() const { return MATH_EXINT_CODE; }