Commit 621281e4 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Добавила MathRunPrp (текстовые настройки пока не мержатся)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52319 954022d7-b5bf-4e40-9824-e11837661b57
parent 2293c30e
...@@ -415,11 +415,11 @@ CControlComposition.prototype = ...@@ -415,11 +415,11 @@ CControlComposition.prototype =
{ {
this.Content[this.CurPos].Refresh(); this.Content[this.CurPos].Refresh();
}, },
Set_SelectionState: function(State) old_Set_SelectionState: function(State)
{ {
this.Content[this.CurPos].Set_SelectionState(State); this.Content[this.CurPos].Set_SelectionState(State);
}, },
Get_SelectionState: function() old_Get_SelectionState: function()
{ {
return this.Content[this.CurPos].Get_SelectionState(); return this.Content[this.CurPos].Get_SelectionState();
}, },
......
...@@ -1462,9 +1462,8 @@ CDocument.prototype = ...@@ -1462,9 +1462,8 @@ CDocument.prototype =
nPageIndex = this.CurPage; nPageIndex = this.CurPage;
if(nPageIndex === 0) if(nPageIndex === 0)
MathComposition.Draw(21.5, 25.3, pGraphics); //MathComposition.Draw(21.5, 25.3, pGraphics);
//MathComposition.Draw(pGraphics); MathComposition.Draw_2(pGraphics);
//DrawUnion(); //DrawUnion();
......
...@@ -574,7 +574,7 @@ old_CBarFraction.prototype.setSimple = function(flag) ...@@ -574,7 +574,7 @@ old_CBarFraction.prototype.setSimple = function(flag)
else else
this.setReduct(1); this.setReduct(1);
this.Resize(); this./**/Resize();
} }
////////// //////////
......
This diff is collapsed.
...@@ -81,6 +81,13 @@ var DOUBLE_LEFT_ARROW = 21; ...@@ -81,6 +81,13 @@ var DOUBLE_LEFT_ARROW = 21;
var DOUBLE_RIGHT_ARROW = 22; var DOUBLE_RIGHT_ARROW = 22;
var DOUBLE_ARROW_LR = 23; var DOUBLE_ARROW_LR = 23;
var SCR_ROMAN = 0;
var SCR_SCRIPT = 1;
var SCR_FRAKTUR = 2;
var SCR_DOUBLE_STRUCK = 3;
var SCR_SANS_SERIF = 4;
var SCR_MONOSPACE = 5;
var OPER_DELIMITER = 0; var OPER_DELIMITER = 0;
var OPER_SEPARATOR = 1; var OPER_SEPARATOR = 1;
var OPER_GROUP_CHAR = 2; var OPER_GROUP_CHAR = 2;
......
...@@ -178,10 +178,10 @@ CRadical.prototype.init = function(props) ...@@ -178,10 +178,10 @@ CRadical.prototype.init = function(props)
/*if(typeof(props.type) !== "undefined" && props.type !== null) /*if(typeof(props.type) !== "undefined" && props.type !== null)
this.type = props.type;*/ this.type = props.type;*/
/*if(props.type === SQUARE_RADICAL) if(props.type === SQUARE_RADICAL)
this.type = SQUARE_RADICAL; this.type = SQUARE_RADICAL;
else if(props.type === DEGREE_RADICAL) else if(props.type === DEGREE_RADICAL)
this.type = DEGREE_RADICAL;*/ this.type = DEGREE_RADICAL;
if(props.degHide === true && props.degHide === 1) if(props.degHide === true && props.degHide === 1)
this.type = SQUARE_RADICAL; this.type = SQUARE_RADICAL;
......
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