Commit 8fad211f authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

mail merge

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62630 954022d7-b5bf-4e40-9824-e11837661b57
parent 66aa7e47
......@@ -379,7 +379,7 @@ function NativeGetFileDataHtml()
function NativeStartMailMergeByList(database)
{
if (_api.asc_StartMailMergeByList)
return _api.asc_StartMailMergeByList(JSON.parse(database));
return _api.asc_StartMailMergeByList(database);
return undefined;
}
function NativePreviewMailMergeResult(index)
......
......@@ -7656,14 +7656,14 @@ window["asc_docs_api"].prototype["asc_nativeGetFileData"] = function()
window["asc_docs_api"].prototype["asc_nativeGetHtml"] = function()
{
var _old = window.copyPasteUseBinary;
window.copyPasteUseBinary = false;
var _old = copyPasteUseBinary;
copyPasteUseBinary = false;
this.WordControl.m_oLogicDocument.Select_All();
var oCopyProcessor = new CopyProcessor(api);
var oCopyProcessor = new CopyProcessor(this);
oCopyProcessor.Start();
var _ret = oCopyProcessor.getInnerHtml();
this.WordControl.m_oLogicDocument.Selection_Remove();
window.copyPasteUseBinary = _old;
copyPasteUseBinary = _old;
return _ret;
};
......
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