Commit 65bab8c2 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Изменение приоритетов на конвертацию

open - hight
save - normal
export, convert - low

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48459 954022d7-b5bf-4e40-9824-e11837661b57
parent 79823793
...@@ -813,6 +813,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -813,6 +813,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
oAdditionalData["id"] = this.documentId; oAdditionalData["id"] = this.documentId;
oAdditionalData["vkey"] = this.documentVKey; oAdditionalData["vkey"] = this.documentVKey;
oAdditionalData["outputformat"] = c_oAscFileType.INNER; oAdditionalData["outputformat"] = c_oAscFileType.INNER;
oAdditionalData["innersave"] = true;
oAdditionalData["savetype"] = "completeall"; oAdditionalData["savetype"] = "completeall";
this._asc_sendCommand (/*callback*/ function(incomeObject){ this._asc_sendCommand (/*callback*/ function(incomeObject){
if(null != incomeObject && "save" == incomeObject.type) if(null != incomeObject && "save" == incomeObject.type)
......
...@@ -892,6 +892,7 @@ asc_docs_api.prototype.asc_Save = function(){ ...@@ -892,6 +892,7 @@ asc_docs_api.prototype.asc_Save = function(){
oAdditionalData["id"] = documentId; oAdditionalData["id"] = documentId;
oAdditionalData["vkey"] = documentVKey; oAdditionalData["vkey"] = documentVKey;
oAdditionalData["outputformat"] = c_oAscFileType.INNER; oAdditionalData["outputformat"] = c_oAscFileType.INNER;
oAdditionalData["innersave"] = true;
oAdditionalData["savetype"] = "completeall"; oAdditionalData["savetype"] = "completeall";
var sData = "mnuSaveAs" + cCharDelimiter + JSON.stringify(oAdditionalData) + cCharDelimiter + data; var sData = "mnuSaveAs" + cCharDelimiter + JSON.stringify(oAdditionalData) + cCharDelimiter + data;
sendCommand(editor, function(incomeObject){ sendCommand(editor, function(incomeObject){
......
...@@ -2218,6 +2218,7 @@ function OnSave_Callback(e) ...@@ -2218,6 +2218,7 @@ function OnSave_Callback(e)
oAdditionalData["id"] = documentId; oAdditionalData["id"] = documentId;
oAdditionalData["vkey"] = documentVKey; oAdditionalData["vkey"] = documentVKey;
oAdditionalData["outputformat"] = c_oAscFileType.INNER; oAdditionalData["outputformat"] = c_oAscFileType.INNER;
oAdditionalData["innersave"] = true;
var data = oBinaryFileWriter.Write(); var data = oBinaryFileWriter.Write();
oAdditionalData["savetype"] = "completeall"; oAdditionalData["savetype"] = "completeall";
////uncoment to save changes only instead send file complete ////uncoment to save changes only instead send file complete
......
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