Hi, 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 https://wiki.documentfoundation.org/Macros/Python_Guide/My_first_macro 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 doc.Sheets[0]['A1']. However in all the documents I have found in https://api.libreoffice.org/ (like SpreadsheetDocument <https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1sheet_1_1SpreadsheetDocument.html>) and in https://help.libreoffice.org 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: https://www.documentfoundation.org/imprint -- To unsubscribe e-mail to: [email protected] Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
