* 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.
*/
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; }
///
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<InsetBase> doClone() const;
+ virtual Inset * clone() const;
};