]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnv.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / InsetMathEnv.h
index 23c9f8370690c3408ddfac4c7e043e5325deec0a..7d73a875d52edd735e93de9b1b462397c506776f 100644 (file)
 #include <string>
 
 
+namespace lyx {
+
+
 /// Environtments รก la \begin{something}...\end{something}
 class InsetMathEnv : public InsetMathNest {
 public:
        ///
-       InsetMathEnv(std::string const & name_);
+       InsetMathEnv(docstring const & name_);
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -29,14 +32,17 @@ public:
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// name of that environment
-       std::string name_;
+       docstring name_;
 };
 
+
+} // namespace lyx
+
 #endif