]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.C
some support for matrix operations with maple ('M-x math-extern maple evalm')
[lyx.git] / src / mathed / math_dotsinset.C
index 40249eeff18bae8df1f36266da0da3811ff3640c..70e8de37b84461572fb2635c48aec8adb9236952 100644 (file)
@@ -3,10 +3,8 @@
 #endif
 
 #include "math_dotsinset.h"
-#include "mathed/support.h"
-#include "support/LOstream.h"
-
-using std::ostream;
+#include "math_mathmlstream.h"
+#include "math_support.h"
 
 
 MathDotsInset::MathDotsInset(string const & name)
@@ -32,10 +30,9 @@ void MathDotsInset::draw(Painter & pain, int x, int y) const
 }
 
 
-void MathDotsInset::metrics(MathMetricsInfo const & st) const
+void MathDotsInset::metrics(MathMetricsInfo const & mi) const
 {
-       size_ = st;
-       mathed_char_dim(LM_TC_VAR, size_, 'M', ascent_, descent_, width_);
+       mathed_char_dim(LM_TC_VAR, mi, 'M', ascent_, descent_, width_);
        switch (name_[0]) {
                case 'l': dh_ = 0; break;
                case 'c': dh_ = ascent_ / 2; break;
@@ -45,13 +42,13 @@ void MathDotsInset::metrics(MathMetricsInfo const & st) const
 } 
 
 
-void MathDotsInset::write(MathWriteInfo & os) const
+void MathDotsInset::write(WriteStream & os) const
 {
-       os << '\\' << name_ << ' ';
+       os << '\\' << name_.c_str() << ' ';
 }
 
 
-void MathDotsInset::writeNormal(ostream & os) const
+void MathDotsInset::normalize(NormalStream & os) const
 {
-       os << "[" << name_ << "] ";
+       os << "[" << name_.c_str() << "] ";
 }