https://bugs.documentfoundation.org/show_bug.cgi?id=126391
Bug ID: 126391
Summary: "ActiveSheet" is undocumented at
"com.sun.star.frame.XController"
Product: LibreOffice
Version: 6.2.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: hi-an...@yandex.ru
CC: olivier.hal...@libreoffice.org
Created attachment 152768
--> https://bugs.documentfoundation.org/attachment.cgi?id=152768&action=edit
print types of CurrentController and CurrentController.ActiveSheet
I'm trying to figure out from docs how to get a sheet by name, and it turns out
there's documentation missing. At the very least, if you go here
https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1frame_1_1XController.html
You'll find out that there's no "ActiveSheet" field.
However if you do:
1. Run office as soffice --calc
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"
2. Execute the attached script
You'll find out that XController actually does have the field.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs