Commit d77b5259 authored by Ilya.Kirillov's avatar Ilya.Kirillov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55046 954022d7-b5bf-4e40-9824-e11837661b57
parent bf8a8293
......@@ -2,7 +2,7 @@
* Created by Ilja.Kirillov on 18.03.14.
*/
function ParaMath2()
function ParaMath()
{
this.Id = g_oIdCounter.Get_NewId();
......@@ -33,7 +33,7 @@ function ParaMath2()
g_oTableId.Add( this, this.Id );
}
ParaMath2.prototype =
ParaMath.prototype =
{
Get_Id : function()
{
......
......@@ -8688,10 +8688,6 @@ Paragraph.prototype =
if ( para_Math !== this.Content[CurPos].Type )
{
// TODO: ParaMath Как избавимся от старого варианта переделать здесь
var ParaMath = new ParaMath2();
ParaMath.Math = Item.Math;
// Разделяем текущий элемент (возвращается правая часть)
var NewElement = this.Content[CurPos].Split( ContentPos, 1 );
......@@ -8699,7 +8695,7 @@ Paragraph.prototype =
this.Internal_Content_Add( CurPos + 1, NewElement );
// Добавляем гиперссылку в содержимое параграфа
this.Internal_Content_Add( CurPos + 1, ParaMath );
this.Internal_Content_Add( CurPos + 1, Item );
// TODO: ParaMath Сделать перемещение курсора в формулу
......
......@@ -1591,25 +1591,25 @@ ParaComment.prototype.Search_GetId = function(bNext, bUseContentPos, ContentPos,
//----------------------------------------------------------------------------------------------------------------------
// ParaMath
//----------------------------------------------------------------------------------------------------------------------
ParaMath2.prototype.Search = function(ParaSearch, Depth)
ParaMath.prototype.Search = function(ParaSearch, Depth)
{
// Обнуляем поиск
ParaSearch.Reset();
};
ParaMath2.prototype.Add_SearchResult = function(SearchResult, Start, ContentPos, Depth)
ParaMath.prototype.Add_SearchResult = function(SearchResult, Start, ContentPos, Depth)
{
};
ParaMath2.prototype.Clear_SearchResults = function()
ParaMath.prototype.Clear_SearchResults = function()
{
};
ParaMath2.prototype.Remove_SearchResult = function(SearchResult)
ParaMath.prototype.Remove_SearchResult = function(SearchResult)
{
};
ParaMath2.prototype.Search_GetId = function(bNext, bUseContentPos, ContentPos, Depth)
ParaMath.prototype.Search_GetId = function(bNext, bUseContentPos, ContentPos, Depth)
{
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