Lua-UNO Bridge

×

Warning message

This extension was not updated recently. It might not work with latest versions of OpenOffice.

Primary tabs

Maintainer:
hanya
Rating:
4.5

Average: 4.5 (2 votes)

Application:
OpenOffice.org
Tags:
loader, macro, script, provider, extension
Source code:
https://github.com/hanya/luno
Post date:
Thursday, 4 October, 2012 - 09:49
Statistics
Week: Not tracked - Month: Not tracked - Year: Not tracked - Timeline
Download extension
Windows version - All releases
Compatible with OpenOffice 4: Unknown
User feedback:
Compatible with OpenOffice 4.x?

LUNO is bridge between Lua and UNO written in C++. This provides ability to write UNO components and ability to write macros in Lua. And also this allows automating the office through IPC connection.

Documentation can be seen in:
https://github.com/hanya/luno/blob/master/ldoc/index.md
If you are looking for document about IPC, see:
https://github.com/hanya/luno/blob/master/ldoc/ipc.md

This extension is separated into LuaLoader and LuaScriptProvider. And the script provider depends on passive component registration introduced on Apache OpenOffice 3.4. Install these packages according to the following procedure:

  1. Install LuaLoader package first.
  2. Restart your office. If you use quick starter, stop it too.
  3. Install LuaScriptProvider package next.
  4. Restart your office again.

If you write own UNO component in Lua, it can be installed as part of OXT package on the office that has LuaLoader installed. See Component section more detail.

LuaLoader package contains LuaJIT 2.0.0-beta10 (MIT license) compiled with compatibility option with Lua 5.2 (LUAJIT_ENABLE_LUA52COMPAT).

Lua-UNO Bridge

Version Operating system Compatibility Release date
0.1.0 Windows, Linux, Linux x86-64 -- 04/10/2012 - 11:25 More information Download