]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracinset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_fracinset.h
index 5db6f340c7053842a19fe694245be9679db00be6..53ec035ca6be4e946f0f654ff4b6c09a8d3ce59b 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "math_fracbase.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Fraction like objects (frac, binom)
-    \author Alejandro Aguilar Sierra
+ *  \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
  */
 class MathFracInset : public MathFracbaseInset {
 public:
@@ -18,17 +17,31 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void draw(MathPainterInfo &, int x, int y) const;
        ///
-       void metrics(MathStyles st) const;
+       void metricsT(TextMetricsInfo const & mi) const;
        ///
-       void draw(Painter &, int x, int y) const;
-public:
+       void drawT(TextPainter &, int x, int y) const;
+       /// identifies FracInsets
+       MathFracInset * asFracInset();
+       /// identifies FracInsets
+       MathFracInset const * asFracInset() const;
        ///
-       char const name() const;
+       string name() const;
 
+       ///
+       void write(WriteStream & os) const;
+       ///
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
+       ///
+       void octave(OctaveStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
+public:
        ///
        const bool atop_;
 };