<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - "ActiveSheet" is undocumented at "com.sun.star.frame.XController""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126391">126391</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"ActiveSheet" is undocumented at "com.sun.star.frame.XController"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.4.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Documentation
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hi-angel@yandex.ru
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>olivier.hallot@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=152768" name="attach_152768" title="print types of CurrentController and CurrentController.ActiveSheet">attachment 152768</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=152768&action=edit" title="print types of CurrentController and CurrentController.ActiveSheet">[details]</a></span>
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

<a href="https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1frame_1_1XController.html">https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1frame_1_1XController.html</a>

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>