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

Функция для смены флага у ParaMath (выставляет флаг, что нужен пересчет)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58684 954022d7-b5bf-4e40-9824-e11837661b57
parent 14ad8ac3
...@@ -37,7 +37,7 @@ function ParaMath() ...@@ -37,7 +37,7 @@ function ParaMath()
this.Y = 0; this.Y = 0;
this.bInline = false; this.bInline = false;
this.bChangeInline = true; this.bChangeInline = true;
this.NeedResize = true; this.NeedResize = true;
this.bSelectionUse = false; this.bSelectionUse = false;
...@@ -58,7 +58,6 @@ function ParaMath() ...@@ -58,7 +58,6 @@ function ParaMath()
this.DefaultTextPr.FontFamily = {Name : "Cambria Math", Index : -1 }; this.DefaultTextPr.FontFamily = {Name : "Cambria Math", Index : -1 };
this.DefaultTextPr.RFonts.Set_All("Cambria Math", -1); this.DefaultTextPr.RFonts.Set_All("Cambria Math", -1);
/*this.MathPr = /*this.MathPr =
{ {
naryLim: NARY_UndOvr, naryLim: NARY_UndOvr,
...@@ -929,6 +928,10 @@ ParaMath.prototype.SetInline = function(value) ...@@ -929,6 +928,10 @@ ParaMath.prototype.SetInline = function(value)
this.bInline = value; this.bInline = value;
}; };
ParaMath.prototype.SetNeedResize = function()
{
this.NeedResize = true;
}
ParaMath.prototype.MathToImageConverter= function() ParaMath.prototype.MathToImageConverter= function()
{ {
window.IsShapeToImageConverter = true; window.IsShapeToImageConverter = true;
...@@ -1656,6 +1659,9 @@ ParaMath.prototype.Handle_AddNewLine = function() ...@@ -1656,6 +1659,9 @@ ParaMath.prototype.Handle_AddNewLine = function()
*/ */
ParaMath.prototype.Split = function (ContentPos, Depth) ParaMath.prototype.Split = function (ContentPos, Depth)
{ {
var NewParaMath = new ParaMath();
return null; return 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