#include "InsetMathFracBase.h"
+namespace lyx {
+
+
/// Wide arrows like \xrightarrow
class InsetMathXArrow : public InsetMathFracBase {
public:
///
- explicit InsetMathXArrow(std::string const & name);
+ explicit InsetMathXArrow(docstring const & name);
///
void draw(PainterInfo & pi, int x, int y) const;
///
void write(WriteStream & os) const;
///
- void metrics(MetricsInfo & mi, Dimension & dim) const;
+ bool metrics(MetricsInfo & mi, Dimension & dim) const;
///
void normalize(NormalStream & os) const;
///
void validate(LaTeXFeatures & features) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
///
bool upper() const;
///
- std::string const name_;
+ docstring const name_;
};
+
+
+} // namespace lyx
#endif