Automating LibreOffice with macros


Automating LibreOffice is less complicated than it first seems thanks to ScriptForge and Python. However, this article just touches on the basics. If you want to learn more about the power of Python and ScriptForge in creating LibreOffice macros and scripts, visit [5]. If you are interested in ScriptForge's internal architecture, check out the ScriptForge presentation given at the 2020 LibreOffice conference [8].


  1. Getting Started Guide 7.0, 2020:
  2. ScriptForge:
  3. APSO:
  4. LibreOffice macros:
  5. Creating Python Scripts with ScriptForge:
  6. "Scraping the web for data" by Marco Fioretti, Linux Magazine, issue 233, April 2020,
  7. "Tutorial: Desktop News Feeds" by Marco Fioretti, Linux Magazine, issue 217, December 2018,
  8. "ScriptForge: Scripting resources for Basic [& Python] coders" by Jean-Pierre Ledure:

The Author

Marco Fioretti ( is a freelance author, trainer, and researcher based in Rome, Italy, who has been working with free and open source software since 1995 and on open digital standards since 2005. Marco also blogs about digital rights at

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More