[Libreoffice-bugs] [Bug 126416] CurrentController in LO Calc offers "ActiveSheet" but not "Sheets"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 21 15:26:32 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=126416

--- Comment #2 from Oliver Brinzing <oliver.brinzing at gmx.de> ---
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())

-- 
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/20190721/3d28796b/attachment.html>


More information about the Libreoffice-bugs mailing list