https://bugs.documentfoundation.org/show_bug.cgi?id=126416
Bug ID: 126416
Summary: CurrentController in LO Calc offers "ActiveSheet" but
not "Sheets"
Product: LibreOffice
Version: 6.2.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
Created attachment 152796
--> https://bugs.documentfoundation.org/attachment.cgi?id=152796&action=edit
script to try accessing "Sheets" in CurrentController
If CurrentController offers ActiveSheet, why not to make it offer "Sheets"
property as well?
To me it doesn't make sense, and costed some hours of research until I blindly
listed methods in XComponent that's higher the stack, and found "Sheets" there.
# Steps to reproduce
1. Execute: soffice --calc
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"
2. Download the attachment (script to try accessing "Sheets" in
CurrentController).
3. In directory with the script run `python ./connect-to-lo.py`
# Expected
Script finishes without errors
# Actual
Script fails on accessing model.CurrentController.Sheets
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs