mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-17 02:05:48 +00:00
ff4460603e
Math manual loads and save correctly it seems but expect some instability period. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31898 a592a061-630c-0410-9148-cb99ea01b6c8
47 lines
1.0 KiB
C++
47 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file MathFactory.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author André Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef MATH_FACTORY_H
|
|
#define MATH_FACTORY_H
|
|
|
|
#include "MathParser.h"
|
|
|
|
#include "support/strfwd.h"
|
|
|
|
#include <map>
|
|
|
|
namespace lyx {
|
|
|
|
class MathAtom;
|
|
class MathData;
|
|
|
|
|
|
MathAtom createInsetMath(docstring const &, Buffer * buf);
|
|
MathAtom createInsetMath(char const * const, Buffer * buf);
|
|
|
|
/** 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.
|
|
*/
|
|
bool createInsetMath_fromDialogStr(docstring const &, MathData &);
|
|
|
|
/** Tells whether the argument is an ascii character or is marked as
|
|
* mathalpha in the unicodesymbols file.
|
|
*/
|
|
bool isAsciiOrMathAlpha(char_type);
|
|
|
|
typedef std::map<docstring, latexkeys> MathWordList;
|
|
MathWordList const & mathedWordList();
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|