Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


I'm now writing a simple documents about writing macros with Python,
aiming to people who are new to LibreOffice macros.

I read the "My first Python Macro" examples from

and have a simple question:

For Writer we getDocument() then getText() to get the text area in a
Writer document.  For Calc we getDocuments() then directly access

However in all the documents I have found in  (like SpreadsheetDocument
and in or wiki, I couldn't find any
descriptions or references about the attribute "Sheets" in a
SpreadDocument or XModel interfaces/service.

Is there any hint about this?  Or is it newly added?

Thanks, Franklin 

Franklin Weng
Deputy chairman, Board of Director & Member, Certification Committee
The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details:

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.