Commit ad123cb8 authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander.Trofimov

формулы

1)переделаны константы на чтение и запись
2)глобальные настройки для формул
3)переписан порядок зачитывания формул в структуры

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56102 954022d7-b5bf-4e40-9824-e11837661b57
parent 3f338c11
......@@ -329,4 +329,54 @@ var c_oAscRelativeFromV = {
var c_oAscWrapStyle = {
Inline:0,
Flow : 1
};
// math
var c_oAscLimLoc = {
SubSup: 0x00,
UndOvr: 0x01
};
var c_oAscMathJc = {
Center: 0x00,
CenterGroup: 0x01,
Left: 0x02,
Right: 0x03
};
var c_oAscTopBot = {
Bot: 0x00,
Top: 0x01
};
var c_oAscScript = {
DoubleStruck: 0x00,
Fraktur: 0x01,
Monospace: 0x02,
Roman: 0x03,
SansSerif: 0x04,
Script: 0x05
};
var c_oAscShp = {
Centered: 0x00,
Match: 0x01
};
var c_oAscSty = {
Bold: 0x00,
BoldItalic: 0x01,
Italic: 0x02,
Plain: 0x03
};
var c_oAscFType = {
Bar: 0x00,
Lin: 0x01,
NoBar: 0x02,
Skw: 0x03
};
var c_oAscBrkBin = {
After: 0x00,
Before: 0x01,
Repeat: 0x02
};
var c_oAscBrkBinSub = {
PlusMinus: 0x00,
MinusPlus: 0x01,
MinusMinus: 0x02
};
\ No newline at end of file
/**
* Created by Ilja.Kirillov on 18.03.14.
*/
var g_oMathSettings = new Object();
function ParaMath(bAddMenu)
{
this.Id = g_oIdCounter.Get_NewId();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -885,7 +885,7 @@ function CRadical(props)
{
this.kind = MATH_RADICAL;
this.type = SQUARE_RADICAL; // default
this.type = DEGREE_RADICAL; // default
this.degHide = false;
this.signRadical = null;
......
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