aProp:={}
AAdd(aProp,GetPropertyValue(oService, "SearchItem.StyleFamily" , 2 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.CellType" , 0 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.RowDirection" , .T. ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.AllTables" , .F. ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.Backward" , .F. ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.Pattern" , .F. ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.Content" , .F. ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.AsianOptions" , .F. ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.AlgorithmType", 0 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.SearchFlags" , 65536 ) )
// Search String
AAdd(aProp,GetPropertyValue(oService, "SearchItem.SearchString" , "Antony") )
// Replace String
AAdd(aProp,GetPropertyValue(oService, "SearchItem.ReplaceString", "Jerry" ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.Locale" , 255 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.ChangedChars" , 2 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.DeletedChars" , 2 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.InsertedChars", 2 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.TransliterateFlags",1280 ) )
AAdd(aProp,GetPropertyValue(oService, "SearchItem.Command" , 3 ) )
AAdd(aProp,GetPropertyValue(oService, "Quiet" , .T. ) )
oDispatcher:executeDispatch(oDoc:GetCurrentController():GetFrame(), ".uno:ExecuteSearch", "", 0, aProp)