From 5053b4f08f2c0828d93bc80d700e08823c09dac8 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Wed, 5 Feb 2025 11:38:44 +0300 Subject: [PATCH] Fix bug #73111 Fix crash when editing PDF --- common/apiBase.js | 5 +++++ pdf/api.js | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/common/apiBase.js b/common/apiBase.js index edcfce6f64..471d9e70ec 100644 --- a/common/apiBase.js +++ b/common/apiBase.js @@ -5464,6 +5464,11 @@ baseEditorsApi.prototype.asc_mergeSelectedShapesAction = function(operation) { }; + baseEditorsApi.prototype.asc_setRtlTextDirection = function(isRtl) { + }; + baseEditorsApi.prototype.asc_isRtlTextDirection = function() { + return false; + }; //----------------------------------------------------------export---------------------------------------------------- window['AscCommon'] = window['AscCommon'] || {}; diff --git a/pdf/api.js b/pdf/api.js index e3e98c0629..aabd31a69c 100644 --- a/pdf/api.js +++ b/pdf/api.js @@ -2933,6 +2933,11 @@ PDFEditorApi.prototype.isLiveViewer = function() { return this.isPdfViewer && AscCommon.CollaborativeEditing.Is_Fast() && !this.VersionHistory; }; + PDFEditorApi.prototype.asc_setRtlTextDirection = function(isRtl) { + }; + PDFEditorApi.prototype.asc_isRtlTextDirection = function() { + return false; + }; function CPdfContextMenuData(obj) { if (obj) {