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 @@ ...@@ -2,51 +2,52 @@
#define _MATH_EQUATION_TYPES_H #define _MATH_EQUATION_TYPES_H
#include <map> #include <map>
#include "../../../DesktopEditor/common/Types.h"
namespace MathEquation namespace MathEquation
{ {
typedef unsigned char uint8_t; typedef unsigned char uint8_t;
typedef unsigned short uint16_t; typedef unsigned short uint16_t;
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
typedef signed char int8_t; typedef signed char int8_t;
typedef signed short int16_t; typedef signed short int16_t;
typedef signed int int32_t; typedef signed int int32_t;
typedef unsigned short Unicode_t; typedef unsigned short Unicode_t;
typedef signed char Char_t; typedef signed char Char_t;
struct TMathFont struct TMathFont
{ {
std::string sName; std::string sName;
bool bItalic; bool bItalic;
bool bBold; bool bBold;
}; };
typedef std::map<uint8_t, TMathFont> TFontMap; typedef std::map<uint8_t, TMathFont> TFontMap;
enum MBRACKETSTYPE enum MBRACKETSTYPE
{ {
bracketsAngle = 0x00, // < > bracketsAngle = 0x00, // < >
bracketsRound = 0x01, // ( ) bracketsRound = 0x01, // ( )
bracketsCurve = 0x02, // { } bracketsCurve = 0x02, // { }
bracketsSquare = 0x03, // [ ] bracketsSquare = 0x03, // [ ]
bracketsLine = 0x04, // | | bracketsLine = 0x04, // | |
bracketsDLine = 0x05, // || || bracketsDLine = 0x05, // || ||
bracketsFloor = 0x06, // bracketsFloor = 0x06, //
bracketsCeil = 0x07, // bracketsCeil = 0x07, //
bracketsSquareOpenOpen = 0x08, // [ [ bracketsSquareOpenOpen = 0x08, // [ [
bracketsSquareCloseClose = 0x09, // ] ] bracketsSquareCloseClose = 0x09, // ] ]
bracketsSquareCloseOpen = 0x0a, // ] [ bracketsSquareCloseOpen = 0x0a, // ] [
bracketsSquareRound = 0x0b, // [ ) bracketsSquareRound = 0x0b, // [ )
bracketsRoundSquare = 0x0c // ( ] bracketsRoundSquare = 0x0c // ( ]
}; };
enum MFRACTIONTYPES enum MFRACTIONTYPES
{ {
fractionRegular = 0, // fractionRegular = 0, //
fractionSlanted = 1 // fractionSlanted = 1 //
}; };
enum MSCRIPTALIGN enum MSCRIPTALIGN
...@@ -202,15 +203,15 @@ namespace MathEquation ...@@ -202,15 +203,15 @@ namespace MathEquation
matrixveralginBottom = 0x02 matrixveralginBottom = 0x02
}; };
enum MSPECIALSYMBOLS enum MSPECIALSYMBOLS
{ {
specialsymAlignment = 0xeb00, specialsymAlignment = 0xeb00,
specialsymZeroSpace = 0xeb01, specialsymZeroSpace = 0xeb01,
specialsymThinSpace = 0xeb02, specialsymThinSpace = 0xeb02,
specialsymThickSpace = 0xeb04, specialsymThickSpace = 0xeb04,
specialsymLargeSpace = 0xeb05, specialsymLargeSpace = 0xeb05,
specialsymOnePtSpace = 0xeb08 specialsymOnePtSpace = 0xeb08
}; };
} }
#endif _MATH_EQUATION_OUTPUTDEV_H #endif _MATH_EQUATION_OUTPUTDEV_H
\ No newline at end of file
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