X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBoxed.h;h=078a32a8774707abeaa390d8d116e489fe9c3e39;hb=98fb638d61d38df1443339de4e8ba58c7c81784a;hp=a2fe36892b3ce0a72609c4efbc77d2f2add95273;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathBoxed.h b/src/mathed/InsetMathBoxed.h index a2fe36892b..078a32a877 100644 --- a/src/mathed/InsetMathBoxed.h +++ b/src/mathed/InsetMathBoxed.h @@ -15,6 +15,9 @@ #include "InsetMathNest.h" +namespace lyx { + + /// Non-AMS-style frame class InsetMathBoxed : public InsetMathNest { public: @@ -23,7 +26,7 @@ public: /// void validate(LaTeXFeatures & features) const; /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -31,9 +34,12 @@ public: /// write normalized content void normalize(NormalStream & ns) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; }; + +} // namespace lyx + #endif