]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulabase.h
use stream-like syntax for LaTeX output
[lyx.git] / src / mathed / formulabase.h
index f35889641ec9c380e16a349d305d92684f508e1f..3d45a7814fbc6ba7ee1519344091c30d9d8ef890 100644 (file)
@@ -89,12 +89,16 @@ public:
        ///
        virtual MathAtom & par() = 0;
        ///
-       virtual void metrics() const = 0;
+       virtual void metrics(BufferView * bv = 0, LyXFont const * font = 0) const;
        ///
        virtual void updateLocal(BufferView * bv, bool mark_dirty);
 private:
        /// unimplemented
        void operator=(const InsetFormulaBase &);
+       ///
+       mutable BufferView * view_;     
+       ///
+       mutable LyXFont const * font_;
 };
 
 // We don't really mess want around with mathed stuff outside mathed.