This AutoIt UDF for LibreOffice API/SDK provides tools for the automation of tasks in LibreOffice using the AutoIt Scripting language.
Au3LibreOffice UDF currently provides support for the following LibreOffice components:
- Writer
- Calc In Development
DrawPending Development
Support for other components will be provided as time permits.
https://github.com/mlipok/Au3LibreOffice/releases/latest
Please see the Changelog
Distributed under the MIT License. See the LICENSE for more information.
- This UDF currently works only with the INSTALLED version of LibreOffice. The Portable version will Not work.
- For those using AutoIt versions older than 3.3.16.1, one internal function used for “Saving as” and “Exporting” documents uses Maps, which will Not be recognized as proper syntax in AutoIt.
- LibreOffice uses Micrometers for sizing internally, all functions in this UDF, unless otherwise stated, use Micrometers. A converter has been created for converting to/from Inches, Centimeters, Printer’s Points, and Millimeters to/from Micrometers, for all sizing needs. _ConvertFromMicrometer, and _ConvertToMicrometer. Either for Writer (LOWriter) or Calc (LOCalc).
- LibreOffice uses the Long color format for all color settings, A converter has also been created for converting from/to Hex; (R)ed, (G)reen, (Blue); (H)ue, (S)aturation, and (B)rightness; and (C)yan, (M)agenta, (Y)ellow, Blac(K); to/from long color format. _ConvertColorFromLong, and _ConvertColorToLong. Either for Writer (LOWriter) or Calc (LOCalc).
- This UDF was first made public here: https://www.autoitscript.com/forum/index.php?showtopic=210514
- Opportunity by GitHub
- Scripting ability by AutoIt
- Thanks to the authors of the Third-Party UDFs:
- OOo/LibOCalcUDF by @GMK, @Leagnus, @Andy G, @mLipok. OOo/LibOCalcUDF
- “WriterDemo.au3” by @mLipok. WriterDemo
- Printers Management UDF by @jguinch. Printers Management UDF
- Word UDF supplied with AutoIt by @water.
- Thanks to Andrew Pitonyak for his invaluable book on writing Open Office/ Libre Office Macros, and his Macro collection document.
- Thanks to the maintainers
[License]https://github.com/mlipok/Au3LibreOffice/tree/main/LICENSE
AutoIt
AutoIt Forum Post