From 865e2abf242dea7cd5ecd18689ed40505fe9cc6f Mon Sep 17 00:00:00 2001 From: Sergey Konovalov Date: Wed, 11 Oct 2023 12:29:49 +0300 Subject: [PATCH] [de] Fix asc_DownloadOrigin with bIsDownloadEvent flag --- word/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/word/api.js b/word/api.js index d46cf60635..545a62506a 100644 --- a/word/api.js +++ b/word/api.js @@ -2870,7 +2870,7 @@ background-repeat: no-repeat;\ changes = this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Save(); if (changes) { - let options = new Asc.asc_CDownloadOptions(Asc.c_oAscFileType.PDF); + let options = new Asc.asc_CDownloadOptions(Asc.c_oAscFileType.PDF, bIsDownloadEvent); options.pdfChanges = changes; this.asc_DownloadAs(options); return;