You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I cannot get this code to work when document editor mode is set to 'view'.
window.Asc.plugin.callCommand(function () {
var activeSheet = Api.GetActiveSheet()
var currentPage = Api.GetCurrentVisiblePage();
}
What is the expected behavior?
I assume that callCommand is blocked in view mode in order to prevent the file from being edited, but sadly it also prevents me from getting any information about the document (I need current page/sheet the most but getting page size would be very useful).
DocumentServer version:
I've pulled the latest docker image of Developer Edition so I assume it's version 6.4
Operating System:
Windows running Docker Desktop
Browser version:
Chrome, but it doesn't really work on any browser.
PS. Is there any way around this? I'd appreciate any suggestion. Thank you :)
The text was updated successfully, but these errors were encountered:
What is the current behavior?
Hello, I cannot get this code to work when document editor mode is set to 'view'.
window.Asc.plugin.callCommand(function () {
var activeSheet = Api.GetActiveSheet()
var currentPage = Api.GetCurrentVisiblePage();
}
What is the expected behavior?
I assume that callCommand is blocked in view mode in order to prevent the file from being edited, but sadly it also prevents me from getting any information about the document (I need current page/sheet the most but getting page size would be very useful).
DocumentServer version:
I've pulled the latest docker image of Developer Edition so I assume it's version 6.4
Operating System:
Windows running Docker Desktop
Browser version:
Chrome, but it doesn't really work on any browser.
PS. Is there any way around this? I'd appreciate any suggestion. Thank you :)
The text was updated successfully, but these errors were encountered: