<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - CurrentController in LO Calc offers "ActiveSheet" but not "Sheets""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126416#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - CurrentController in LO Calc offers "ActiveSheet" but not "Sheets""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126416">bug 126416</a>
              from <span class="vcard"><a class="email" href="mailto:oliver.brinzing@gmx.de" title="Oliver Brinzing <oliver.brinzing@gmx.de>"> <span class="fn">Oliver Brinzing</span></a>
</span></b>
        <pre>to make your example script work:

soffice --calc
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"

[...]
model = connect_to_lo()
print("Trying to access model.Sheets")
sheets1 = model.getSheets()
print("Succeed!")
print(sheets1.getByIndex(0).getName())</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>