Commit 882b5be4 authored by Alexander.Trofimov's avatar Alexander.Trofimov

asc_SetSilentMode, asc_nativeInitBuilder move to apiBase

export asc_nativeInitBuilder, asc_SetSilentMode
parent 9ccb17e4
......@@ -3493,4 +3493,8 @@ var editor;
prot['asc_isOffline'] = prot.asc_isOffline;
prot['asc_getUrlType'] = prot.asc_getUrlType;
// Builder
prot['asc_nativeInitBuilder'] = prot.asc_nativeInitBuilder;
prot['asc_SetSilentMode'] = prot.asc_SetSilentMode;
})(window);
"use strict";
"use strict";
(function(window, undefined){
// Import
......@@ -731,6 +731,13 @@ baseEditorsApi.prototype.asc_pluginResize = function(pluginData)
this.pluginsManager.runResize(pluginData);
};
// Builder
baseEditorsApi.prototype.asc_nativeInitBuilder = function() {
this.asc_setDocInfo(new Asc.asc_CDocInfo());
};
baseEditorsApi.prototype.asc_SetSilentMode = function() {
};
//----------------------------------------------------------export----------------------------------------------------
......
......@@ -6610,6 +6610,8 @@ asc_docs_api.prototype['asc_SetFastCollaborative'] = asc_docs_api.prototype.asc_
asc_docs_api.prototype['asc_isOffline'] = asc_docs_api.prototype.asc_isOffline;
asc_docs_api.prototype['asc_getUrlType'] = asc_docs_api.prototype.asc_getUrlType;
asc_docs_api.prototype["asc_setInterfaceDrawImagePlaceShape"] = asc_docs_api.prototype.asc_setInterfaceDrawImagePlaceShape;
asc_docs_api.prototype["asc_nativeInitBuilder"] = asc_docs_api.prototype.asc_nativeInitBuilder;
asc_docs_api.prototype["asc_SetSilentMode"] = asc_docs_api.prototype.asc_SetSilentMode;
window['Asc']['asc_CCommentData'] = window['Asc'].asc_CCommentData = asc_CCommentData;
asc_CCommentData.prototype['asc_getText'] = asc_CCommentData.prototype.asc_getText;
......
......@@ -8003,12 +8003,7 @@ window["asc_docs_api"].prototype["asc_nativeApplyChanges"] = function(changes)
AscCommon.CollaborativeEditing.Apply_OtherChanges();
};
window["asc_docs_api"].prototype["asc_nativeInitBuilder"] = function()
{
this.asc_setDocInfo(new window["Asc"]["asc_CDocInfo"]());
};
window["asc_docs_api"].prototype["asc_SetSilentMode"] = function(bEnabled)
window["asc_docs_api"].prototype.asc_SetSilentMode = function(bEnabled)
{
if (!this.WordControl.m_oLogicDocument)
return;
......@@ -8812,6 +8807,8 @@ asc_docs_api.prototype["asc_setInterfaceDrawImagePlaceShape"] = asc_docs_api.pro
asc_docs_api.prototype["asc_pluginsRegister"] = asc_docs_api.prototype.asc_pluginsRegister;
asc_docs_api.prototype["asc_pluginRun"] = asc_docs_api.prototype.asc_pluginRun;
asc_docs_api.prototype["asc_pluginResize"] = asc_docs_api.prototype.asc_pluginResize;
asc_docs_api.prototype["asc_nativeInitBuilder"] = asc_docs_api.prototype.asc_nativeInitBuilder;
asc_docs_api.prototype["asc_SetSilentMode"] = asc_docs_api.prototype.asc_SetSilentMode;
CParagraphPropEx.prototype['get_ContextualSpacing'] = CParagraphPropEx.prototype.get_ContextualSpacing;
CParagraphPropEx.prototype['get_Ind'] = CParagraphPropEx.prototype.get_Ind;
......
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