Commit 0d641299 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@62639 954022d7-b5bf-4e40-9824-e11837661b57
parent c9a73b60
......@@ -697,6 +697,11 @@ CDocument.prototype.Restart_CheckSpelling = function()
}
};
CDocument.prototype.Stop_CheckSpelling = function()
{
this.Spelling.Reset();
};
CDocument.prototype.Continue_CheckSpelling = function()
{
this.Spelling.Continue_CheckSpelling();
......
......@@ -7452,6 +7452,15 @@ asc_docs_api.prototype.asc_undoAllChanges = function ()
{
this.WordControl.m_oLogicDocument.Document_Undo({All : true});
};
asc_docs_api.prototyp.asc_CloseFile = function()
{
History.Clear();
g_oTableId.Clear();
g_oIdCounter.Clear();
this.WordControl.m_oLogicDocument.Stop_Recalculate();
this.WordControl.m_oLogicDocument.Stop_CheckSpelling();
}
window["asc_docs_api"] = asc_docs_api;
window["asc_docs_api"].prototype["asc_nativeOpenFile"] = function(base64File, version)
......
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