Re: bafna_p - r31417 - in abiword/branches/gsoc2012math: plugins/mathview/xp src/wp/impexp/xp
Hubert Figuière <[email protected]>
| Newsgroups | gmane.editors.abiword.devel |
|---|---|
| Message-ID | <[email protected]> |
On 25/06/12 04:44 AM, [email protected] wrote: > > Author: bafna_p > Date: 2012-06-25 13:44:25 +0200 (Mon, 25 Jun 2012) > New Revision: 31417 > > Modified: > abiword/branches/gsoc2012math/plugins/mathview/xp/AbiMathView.cpp > abiword/branches/gsoc2012math/src/wp/impexp/xp/ie_math_convert.cpp > Log: > Implement the converters for MathML insertion and update ie_math_convert > > Modified: abiword/branches/gsoc2012math/plugins/mathview/xp/AbiMathView.cpp > =================================================================== > --- abiword/branches/gsoc2012math/plugins/mathview/xp/AbiMathView.cpp 2012-06-25 10:49:16 UTC (rev 31416) > +++ abiword/branches/gsoc2012math/plugins/mathview/xp/AbiMathView.cpp 2012-06-25 11:44:25 UTC (rev 31417) > @@ -70,6 +70,7 @@ > #include "ap_Dialog_Latex.h" > #include "ut_mbtowc.h" > #include "ap_Menu_Id.h" > +#include "ie_math_convert.h" > > #include "ut_sleep.h" > #include <sys/types.h> > @@ -449,20 +450,34 @@ > DELETEP(pImpMathML); > return false; > } > + > + UT_UTF8String PbMathml = (const char*)((pImpMathML->getByteBuf())->getPointer(0)); > + UT_UTF8String PbLatex; > + UT_UTF8String Pbitex; Please don't use UT_UTF8String. Use std::string instead Hub