more strfwd

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21618 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-14 21:57:43 +00:00
parent f4292fcec7
commit f0fee538c2
4 changed files with 11 additions and 8 deletions

View File

@ -10,10 +10,12 @@
#include <config.h>
#include "CoordCache.h"
#include "debug.h"
#include "debug.h"
#include "Text.h"
#include "support/docstring.h"
#include "insets/Inset.h"
#include <boost/assert.hpp>

View File

@ -19,7 +19,7 @@
#define LYXDEBUG_H
#include "support/debugstream.h"
#include "support/docstring.h"
#include "support/strfwd.h"
namespace lyx {

View File

@ -22,6 +22,8 @@
#include "frontends/FontMetrics.h"
#include "frontends/Painter.h"
#include "support/docstring.h"
namespace lyx {

View File

@ -17,8 +17,7 @@
#include "InsetMathSymbol.h"
#include "debug.h"
#include <boost/scoped_ptr.hpp>
#include "support/docstring.h"
namespace lyx {
@ -90,7 +89,7 @@ void InsetMathExInt::maple(MapleStream & os) const
void InsetMathExInt::maxima(MaximaStream & os) const
{
if ( symbol_ == "int" )
if (symbol_ == "int")
os << "integrate(";
else
os << symbol_ << '(';
@ -107,7 +106,7 @@ void InsetMathExInt::maxima(MaximaStream & os) const
void InsetMathExInt::mathematica(MathematicaStream & os) const
{
if ( symbol_ == "int" )
if (symbol_ == "int")
os << "Integrate[";
else if (symbol_ == "sum")
os << "Sum[";
@ -127,11 +126,11 @@ void InsetMathExInt::mathematica(MathematicaStream & os) const
void InsetMathExInt::mathmlize(MathStream & os) const
{
boost::scoped_ptr<InsetMathSymbol> sym(new InsetMathSymbol(symbol_));
InsetMathSymbol sym(symbol_);
//if (hasScripts())
// mathmlize(sym, os);
//else
sym->mathmlize(os);
sym.mathmlize(os);
os << cell(0) << "<mo> &InvisibleTimes; </mo>"
<< MTag("mrow") << "<mo> &DifferentialD; </mo>"
<< cell(1) << ETag("mrow");