#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