Fwd: Extension development - Are there any limitations?

Miklos Vajna vmiklos at collabora.com
Wed Jan 11 07:46:26 UTC 2023


Hi Giulia,

On Tue, Jan 10, 2023 at 06:12:11PM +0100, Giulia Rossi <july.red98 at gmail.com> wrote:
> Trivial (?) question here: are there any physical limitations on what a
> LibreOffice extension can contain?

I'm not aware of articial limits, but be aware that by default all
LibreOffice APIs are private and only a subset of those are available on
the UNO API, which is available for extensions.

It's a trade-off: once functionality is exposed on the UNO API, then that
is meant to be unchanged, so improving that feature is more difficult
once it has UNO API. (E.g. this is why extensions can't contain dialogs
that load their content from .ui files.)

On the other hand, sometimes a feature is not exposed on the public API
because nobody felt the need for it; in this case once somebody steps up
to do the work, it can be exposed.

Regards,

Miklos


More information about the LibreOffice mailing list