X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBrace.h;h=b28cd05e7db452d31d751bb7ef989ec636dc902b;hb=f1dd80f464b46f6112f6c9a64a70dd3da76cbe7f;hp=74104f94300f7ce14beae122cb3bbece339c4e63;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathBrace.h b/src/mathed/InsetMathBrace.h index 74104f9430..b28cd05e7d 100644 --- a/src/mathed/InsetMathBrace.h +++ b/src/mathed/InsetMathBrace.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -22,10 +22,12 @@ namespace lyx { class InsetMathBrace : public InsetMathNest { public: /// - InsetMathBrace(); - /// - InsetMathBrace(MathArray const & ar); + InsetMathBrace(Buffer * buf); /// + InsetMathBrace(MathData const & ar); + /// identifies brace insets + InsetMathBrace * asBraceInset() { return this; } + /// identifies brace insets InsetMathBrace const * asBraceInset() const { return this; } /// we write extra braces in any case... bool extraBraces() const { return true; } @@ -44,11 +46,15 @@ public: /// void octave(OctaveStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; + /// + void infoize(odocstream & os) const; /// - void infoize(std::ostream & os) const; + InsetCode lyxCode() const { return MATH_BRACE_CODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };