Commit 14af9382 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

fix for linux build

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@64628 954022d7-b5bf-4e40-9824-e11837661b57
parent 2fb86778
......@@ -2,51 +2,52 @@
#define _MATH_EQUATION_TYPES_H
#include <map>
#include "../../../DesktopEditor/common/Types.h"
namespace MathEquation
{
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned short Unicode_t;
typedef unsigned short Unicode_t;
typedef signed char Char_t;
struct TMathFont
{
std::string sName;
bool bItalic;
bool bBold;
};
typedef std::map<uint8_t, TMathFont> TFontMap;
enum MBRACKETSTYPE
{
bracketsAngle = 0x00, // < >
bracketsRound = 0x01, // ( )
bracketsCurve = 0x02, // { }
bracketsSquare = 0x03, // [ ]
bracketsLine = 0x04, // | |
bracketsDLine = 0x05, // || ||
bracketsFloor = 0x06, //
bracketsCeil = 0x07, //
bracketsSquareOpenOpen = 0x08, // [ [
bracketsSquareCloseClose = 0x09, // ] ]
bracketsSquareCloseOpen = 0x0a, // ] [
bracketsSquareRound = 0x0b, // [ )
bracketsRoundSquare = 0x0c // ( ]
};
enum MFRACTIONTYPES
{
fractionRegular = 0, //
fractionSlanted = 1 //
struct TMathFont
{
std::string sName;
bool bItalic;
bool bBold;
};
typedef std::map<uint8_t, TMathFont> TFontMap;
enum MBRACKETSTYPE
{
bracketsAngle = 0x00, // < >
bracketsRound = 0x01, // ( )
bracketsCurve = 0x02, // { }
bracketsSquare = 0x03, // [ ]
bracketsLine = 0x04, // | |
bracketsDLine = 0x05, // || ||
bracketsFloor = 0x06, //
bracketsCeil = 0x07, //
bracketsSquareOpenOpen = 0x08, // [ [
bracketsSquareCloseClose = 0x09, // ] ]
bracketsSquareCloseOpen = 0x0a, // ] [
bracketsSquareRound = 0x0b, // [ )
bracketsRoundSquare = 0x0c // ( ]
};
enum MFRACTIONTYPES
{
fractionRegular = 0, //
fractionSlanted = 1 //
};
enum MSCRIPTALIGN
......@@ -202,15 +203,15 @@ namespace MathEquation
matrixveralginBottom = 0x02
};
enum MSPECIALSYMBOLS
{
specialsymAlignment = 0xeb00,
specialsymZeroSpace = 0xeb01,
specialsymThinSpace = 0xeb02,
specialsymThickSpace = 0xeb04,
specialsymLargeSpace = 0xeb05,
specialsymOnePtSpace = 0xeb08
enum MSPECIALSYMBOLS
{
specialsymAlignment = 0xeb00,
specialsymZeroSpace = 0xeb01,
specialsymThinSpace = 0xeb02,
specialsymThickSpace = 0xeb04,
specialsymLargeSpace = 0xeb05,
specialsymOnePtSpace = 0xeb08
};
}
#endif _MATH_EQUATION_OUTPUTDEV_H
\ No newline at end of file
#endif _MATH_EQUATION_OUTPUTDEV_H
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment