Commit 37bcf44e authored by Alexander.Trofimov's avatar Alexander.Trofimov

asc -> Asc

parent 551cf18a
......@@ -6662,7 +6662,7 @@ window["asc_nativeOnSpellCheck"] = function (response)
asc_docs_api.prototype._onNeedParams = function(data) {
var cp = {'codepage': AscCommon.c_oAscCodePageUtf8, 'encodings': AscCommon.getEncodingParams()};
this.asc_fireCallback("asc_onAdvancedOptions", new asc.asc_CAdvancedOptions(c_oAscAdvancedOptionsID.TXT, cp), this.advancedOptionsAction);
this.asc_fireCallback("asc_onAdvancedOptions", new Asc.asc_CAdvancedOptions(c_oAscAdvancedOptionsID.TXT, cp), this.advancedOptionsAction);
};
asc_docs_api.prototype._onOpenCommand = function(data) {
var t = this;
......@@ -6724,7 +6724,7 @@ function _downloadAs(editor, command, filetype, actionType, options, fCallbackRe
}
var cp = {'codepage': AscCommon.c_oAscCodePageUtf8, 'encodings': AscCommon.getEncodingParams()};
editor.downloadType = options.downloadType;
editor.asc_fireCallback("asc_onAdvancedOptions", new asc.asc_CAdvancedOptions(c_oAscAdvancedOptionsID.TXT, cp), editor.advancedOptionsAction);
editor.asc_fireCallback("asc_onAdvancedOptions", new Asc.asc_CAdvancedOptions(c_oAscAdvancedOptionsID.TXT, cp), editor.advancedOptionsAction);
return;
} else if (c_oAscFileType.HTML === filetype && null == options.oDocumentMailMerge && null == options.oMailMergeSendData) {
//в asc_nativeGetHtml будет вызван select all, чтобы выделился документ должны выйти из колонтитулов и автофигур
......@@ -6735,7 +6735,7 @@ function _downloadAs(editor, command, filetype, actionType, options, fCallbackRe
//сделано через сервер, потому что нет простого механизма сохранения на клиенте
dataContainer.data = '\ufeff' + window["asc_docs_api"].prototype["asc_nativeGetHtml"].call(editor);
} else {
if (options.txtOptions instanceof asc.asc_CTXTAdvancedOptions) {
if (options.txtOptions instanceof Asc.asc_CTXTAdvancedOptions) {
oAdditionalData["codepage"] = options.txtOptions.asc_getCodePage();
}
var oLogicDocument;
......
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