From c8bc76b333576a3f7be6c24968fd87554d50caea Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 29 Jul 2010 15:38:01 +0000 Subject: [PATCH] MathML and HTML definitely can't handle XYMatrix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35025 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathXYMatrix.cpp | 12 ++++++++++++ src/mathed/InsetMathXYMatrix.h | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/src/mathed/InsetMathXYMatrix.cpp b/src/mathed/InsetMathXYMatrix.cpp index ac6cafaa43..d04d8f4f71 100644 --- a/src/mathed/InsetMathXYMatrix.cpp +++ b/src/mathed/InsetMathXYMatrix.cpp @@ -140,4 +140,16 @@ void InsetMathXYMatrix::validate(LaTeXFeatures & features) const } +void InsetMathXYMatrix::mathmlize(MathStream &) const +{ + throw MathExportException(); +} + + +void InsetMathXYMatrix::htmlize(HtmlStream &) const +{ + throw MathExportException(); +} + + } // namespace lyx diff --git a/src/mathed/InsetMathXYMatrix.h b/src/mathed/InsetMathXYMatrix.h index 6d72e8b9e5..eb4c7a3236 100644 --- a/src/mathed/InsetMathXYMatrix.h +++ b/src/mathed/InsetMathXYMatrix.h @@ -47,6 +47,10 @@ public: void validate(LaTeXFeatures & features) const; /// InsetCode lyxCode() const { return MATH_XYMATRIX_CODE; } + /// + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; private: /// -- 2.39.2