]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathTFrac.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / InsetMathTFrac.h
index 018fe37721d70d485f9bb637a9db722b39aa6ff6..5299b0b11aa741ba5f047b14e29546da15f8e3dc 100644 (file)
 #include "InsetMathFrac.h"
 
 
+namespace lyx {
+
+
 /// \dfrac support
 class InsetMathTFrac : public InsetMathFrac {
 public:
        ///
        InsetMathTFrac();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       std::string name() const;
+       docstring name() const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+
+} // namespace lyx
 #endif