[Libreoffice-bugs] [Bug 126391] New: "ActiveSheet" is undocumented at "com.sun.star.frame.XController"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 14 22:24:08 UTC 2019


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 at lists.freedesktop.org
          Reporter: hi-angel at yandex.ru
                CC: olivier.hallot at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190714/57c7db03/attachment.html>


More information about the Libreoffice-bugs mailing list