Commit 22c1949f authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Добавлена обработка поиска в автофигуры.


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49858 954022d7-b5bf-4e40-9824-e11837661b57
parent 559d2874
...@@ -3675,6 +3675,10 @@ ParaDrawing.prototype = ...@@ -3675,6 +3675,10 @@ ParaDrawing.prototype =
return 0; return 0;
}, },
Search : function(Str, Props, SearchEngine, Type)
{
},
Set_Props : function(Props) Set_Props : function(Props)
{ {
......
...@@ -756,6 +756,9 @@ Paragraph.prototype.Search = function(Str, Props, SearchEngine, Type) ...@@ -756,6 +756,9 @@ Paragraph.prototype.Search = function(Str, Props, SearchEngine, Type)
if ( para_Numbering === Item.Type || para_PresentationNumbering === Item.Type || para_TextPr === Item.Type ) if ( para_Numbering === Item.Type || para_PresentationNumbering === Item.Type || para_TextPr === Item.Type )
continue; continue;
if ( para_Drawing === Item.Type )
Item.Search(Str, Props, SearchEngine, Type);
if ( (" " === Str[0] && para_Space === Item.Type) || ( para_Text === Item.Type && ( ( true != bMatchCase && (Item.Value).toLowerCase() === Str[0].toLowerCase() ) || ( true === bMatchCase && Item.Value === Str[0] ) ) ) ) if ( (" " === Str[0] && para_Space === Item.Type) || ( para_Text === Item.Type && ( ( true != bMatchCase && (Item.Value).toLowerCase() === Str[0].toLowerCase() ) || ( true === bMatchCase && Item.Value === Str[0] ) ) ) )
{ {
if ( 1 === Str.length ) if ( 1 === Str.length )
......
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