Commit e80cd0cc authored by GoshaZotov's avatar GoshaZotov

add bCopyPaste into open openParams(copy/paste)

parent 21d45be5
...@@ -2206,7 +2206,7 @@ PasteProcessor.prototype = ...@@ -2206,7 +2206,7 @@ PasteProcessor.prototype =
}, },
ReadFromBinary : function(sBase64, oDocument) ReadFromBinary : function(sBase64, oDocument)
{ {
var openParams = { checkFileSize: false, charCount: 0, parCount: 0 }; var openParams = { checkFileSize: false, charCount: 0, parCount: 0, bCopyPaste: true };
var doc = oDocument ? oDocument : this.oLogicDocument; var doc = oDocument ? oDocument : this.oLogicDocument;
var oBinaryFileReader = new AscCommonWord.BinaryFileReader(doc, openParams); var oBinaryFileReader = new AscCommonWord.BinaryFileReader(doc, openParams);
var oRes = oBinaryFileReader.ReadFromString(sBase64, true); var oRes = oBinaryFileReader.ReadFromString(sBase64, true);
......
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