Libreoffice: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
==LibreOffice Object Model==
==LibreOffice Object Model==
The LibreOffice UDF is a wrapper for the complex LibreOffice object model.  
The LibreOffice UDF is a wrapper for the complex LibreOffice object model.  
It hides the complexity of the object model and replaces it with a few AutoIt function calls.
It hides the complexity of the object model and replaces it with a few AutoIt function calls.<br>
The functions provided by the UDF cover most of the functionality that is typically required.<br>
The functions provided by the UDF cover most of the functionality that is typically required.<br>
If you need more complex functions, you must first familiarise yourself with the LibreOffice API.<br>
However, if you need more complex functions, you will have to write them yourself. First, you need to familiarize yourself with the [https://api.libreoffice.org/ LibreOffice API].
A Good starting point is the [https://wiki.documentfoundation.org/Documentation/BASIC_Guide#Introduction_to_the_API BASIC Guide - Section Introduction to the API] and the chapters that follow.


==LibreOffice UDF==
==LibreOffice UDF==

Latest revision as of 09:31, 6 November 2025

This page is still a work in progress.

This article uses material from the Wikipedia article "LibreOffice" and other Wikipedia articles, which are released under the Creative Commons Attribution-Share-Alike License 4.0.

Introduction

What is LibreOffice?

LibreOffice is a free and open-source office productivity software suite developed by The Document Foundation (TDF).
It was created in 2010 as a fork of OpenOffice.org, itself a successor to StarOffice.
The suite includes applications for word processing (Writer), spreadsheets (Calc), presentations (Impress), vector graphics (Draw), database management (Base), and formula editing (Math).
It supports the OpenDocument format and is compatible with other major formats, including those used by Microsoft Office.

What is OpenOffice.org/Apache OpenOffice

OpenOffice.org (OOo), is a discontinued open-source office software suite, originally based on StarOffice.

Apache OpenOffice (AOO), is a derivative of OOo by the Apache Software Foundation.

Feature comparison: LibreOffice - Microsoft Office

This page compares the features of LibreOffice and Microsoft Office in several form factors.
The comparisons separate major and minor feature differences and also includes notes on LibreOffice extensions.
The comparison highlights differences and therefore does not display any features which are present in both office suites.

LibreOffice Object Model

The LibreOffice UDF is a wrapper for the complex LibreOffice object model. It hides the complexity of the object model and replaces it with a few AutoIt function calls.
The functions provided by the UDF cover most of the functionality that is typically required.
However, if you need more complex functions, you will have to write them yourself. First, you need to familiarize yourself with the LibreOffice API.

LibreOffice UDF

Requirements

Limitations

  • The UDF works ONLY for the installed version of LibreOffice, not the portable version.
  • The UDF is written using the English version of LibreOffice, and may only work for the English version of LibreOffice installations.
  • Many functions in this UDF may or may not work with OpenOffice, however some settings are definitely for LibreOffice only.
  • For those using older AutoIt versions, several functions use Maps. In older AutoIt installations, a syntax error will be reported due to this.

Big Picture

Technical terms

Installation

Getting started examples

Function reference

Troubleshooting

Error messages and codes

Debug your Script

FAQ

Tools

References