X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmathed%2FInsetMathDelim.h;h=3a09ede2f32bd509356bb2a518a02a07177d6a26;hb=789745df7a8cda6cb5172ea811371d149a68e198;hp=03f883526878b7a3a1ee88897351ea6e4e4da0ce;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathDelim.h b/src/mathed/InsetMathDelim.h index 03f8835268..3a09ede2f3 100644 --- a/src/mathed/InsetMathDelim.h +++ b/src/mathed/InsetMathDelim.h @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Alejandro Aguilar Sierra - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -15,8 +15,6 @@ #include "InsetMathNest.h" -#include - namespace lyx { @@ -24,9 +22,10 @@ namespace lyx { class InsetMathDelim : public InsetMathNest { public: /// - InsetMathDelim(std::string const & left, std::string const & right); + InsetMathDelim(Buffer * buf, docstring const & left, docstring const & right); /// - InsetMathDelim(std::string const & left, std::string const & right, MathArray const &); + InsetMathDelim(Buffer * buf, docstring const & left, docstring const & right, + MathData const &); /// InsetMathDelim * asDelimInset() { return this; } /// @@ -44,6 +43,8 @@ public: /// void draw(PainterInfo &, int x, int y) const; + /// + void validate(LaTeXFeatures & features) const; /// void write(WriteStream & os) const; /// write normalized content @@ -55,15 +56,19 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; /// void octave(OctaveStream &) const; /// - std::string left_; + InsetCode lyxCode() const { return MATH_DELIM_CODE; } + /// + docstring left_; /// - std::string right_; + docstring right_; private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// mutable int dw_; };