2003-08-19 13:00:56 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
2006-09-17 09:14:18 +00:00
|
|
|
|
* \file MathFactory.h
|
2003-08-19 13:00:56 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
2001-08-13 14:19:16 +00:00
|
|
|
|
#ifndef MATH_FACTORY_H
|
|
|
|
|
#define MATH_FACTORY_H
|
|
|
|
|
|
2006-10-22 10:15:23 +00:00
|
|
|
|
#include "support/docstring.h"
|
2003-10-06 15:43:21 +00:00
|
|
|
|
#include <string>
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
|
2003-03-04 16:39:13 +00:00
|
|
|
|
class MathAtom;
|
|
|
|
|
class MathArray;
|
2001-08-13 14:19:16 +00:00
|
|
|
|
|
2004-04-06 19:25:39 +00:00
|
|
|
|
|
2006-10-22 10:15:23 +00:00
|
|
|
|
MathAtom createInsetMath(docstring const &);
|
|
|
|
|
MathAtom createInsetMath(char const * const);
|
2001-08-13 14:19:16 +00:00
|
|
|
|
|
2003-03-04 16:39:13 +00:00
|
|
|
|
/** Fills ar with the contents of str.
|
|
|
|
|
* str is created by the frontend dialog's and returned to the LyX core.
|
|
|
|
|
* The function returns true if successful.
|
|
|
|
|
*/
|
2006-10-22 10:15:23 +00:00
|
|
|
|
bool createInsetMath_fromDialogStr(docstring const &, MathArray &);
|
2003-03-04 16:39:13 +00:00
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2001-08-13 14:19:16 +00:00
|
|
|
|
#endif
|