<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 - CurrentController in LO Calc offers "ActiveSheet" but not "Sheets""
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126416">126416</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>CurrentController in LO Calc offers "ActiveSheet" but not "Sheets"
</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>sdk
</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></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=152796" name="attach_152796" title="script to try accessing "Sheets" in CurrentController">attachment 152796</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=152796&action=edit" title="script to try accessing "Sheets" in CurrentController">[details]</a></span>
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</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>